Udostępnij za pośrednictwem


WindowingEnvironment.IsEnabled Property

Definition

Gets a value that indicates whether the current windowing environment is available to the app.

public:
 property bool IsEnabled { bool get(); };
bool IsEnabled();
public bool IsEnabled { get; }
var boolean = windowingEnvironment.isEnabled;
Public ReadOnly Property IsEnabled As Boolean

Property Value

Boolean

bool

true if the current windowing environment is available to the user; otherwise, false.

Remarks

This is of interest only if targeting a WindowingEnvironment other than the one where the view is currently visible. The current WindowingEnvironment is always enabled and available to the app.

Applies to