VisibilityChangedEventArgs VisibilityChangedEventArgs VisibilityChangedEventArgs Class

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

Syntax

Declaration

public sealed class VisibilityChangedEventArgspublic sealed class VisibilityChangedEventArgsPublic NotInheritable Class VisibilityChangedEventArgs

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 summary

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

Gets whether the window is visible or not.

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; }

    Property Value

    • bool
      bool
      bool

      True if the event is handled; otherwise, false.

  • 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; }

    Property Value

    • bool
      bool
      bool

      True if the event is handled; otherwise, false.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute

Details

Assembly

Windows.UI.Core.dll