VisibilityChangedEventArgs VisibilityChangedEventArgs VisibilityChangedEventArgs Class

Definition

Contains the arguments returned by the event fired when a CoreWindow instance's visibility changes.

public sealed class VisibilityChangedEventArgspublic sealed class VisibilityChangedEventArgsPublic NotInheritable Class VisibilityChangedEventArgs
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Note

: This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX).

Properties

Handled Handled Handled Handled

Gets or sets a value indicating whether the VisibilityChanged event was handled.

public bool Handled { get; set; }public bool Handled { get; set; }Public ReadWrite Property Handled As boolpublic bool Handled { get; set; }
Value
bool bool bool

True if the event is handled; otherwise, false.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Visible Visible Visible Visible

Gets whether the window is visible or not.

public bool Visible { get; }public bool Visible { get; }Public ReadOnly Property Visible As boolpublic bool Visible { get; }
Value
bool bool bool

True if the event is handled; otherwise, false.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)