VisibilityChangedEventArgs VisibilityChangedEventArgs VisibilityChangedEventArgs VisibilityChangedEventArgs Class

Definition

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

public : sealed class VisibilityChangedEventArgs : ICoreWindowEventArgs, IVisibilityChangedEventArgs
struct winrt::Windows::UI::Core::VisibilityChangedEventArgs : ICoreWindowEventArgs, IVisibilityChangedEventArgs
public sealed class VisibilityChangedEventArgs : ICoreWindowEventArgs, IVisibilityChangedEventArgs
Public NotInheritable Class VisibilityChangedEventArgs Implements ICoreWindowEventArgs, IVisibilityChangedEventArgs
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 : Platform::Boolean Handled { get; set; }
bool Handled(); void Handled(bool handled);
public bool Handled { get; set; }
Public ReadWrite Property Handled As bool
Value
bool bool

True if the event is handled; otherwise, false.

Visible Visible Visible Visible

Gets whether the window is visible or not.

public : Platform::Boolean Visible { get; }
bool Visible();
public bool Visible { get; }
Public ReadOnly Property Visible As bool
Value
bool bool

True if the event is handled; otherwise, false.