WindowVisibilityChangedEventHandler 委托

定义

表示将处理 VisibilityChanged 事件的方法。

public delegate void WindowVisibilityChangedEventHandler(Platform::Object ^ sender, VisibilityChangedEventArgs ^ e);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(272657110, 45200, 19018, 178, 173, 214, 130, 223, 39, 19, 15)]
class WindowVisibilityChangedEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(272657110, 45200, 19018, 178, 173, 214, 130, 223, 39, 19, 15)]
public delegate void WindowVisibilityChangedEventHandler(object sender, VisibilityChangedEventArgs e);
Public Delegate Sub WindowVisibilityChangedEventHandler(sender As Object, e As VisibilityChangedEventArgs)

参数

sender
Object

Platform::Object

IInspectable

事件处理程序所附加到的对象。

e
VisibilityChangedEventArgs

事件的事件数据。

属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

适用于