WindowVisibilityChangedEventArgs 类

定义

包含 Window.VisibilityChanged 事件返回的窗口的可见性状态信息。

public ref class WindowVisibilityChangedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class WindowVisibilityChangedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class WindowVisibilityChangedEventArgs
Public NotInheritable Class WindowVisibilityChangedEventArgs
继承
Object Platform::Object IInspectable WindowVisibilityChangedEventArgs
属性

属性

Handled

获取或设置是否处理了 Window.VisibilityChanged 事件。

Visible

获取一个值,该值指示窗口是否可见。

适用于