WindowVisibilityChangedEventHandler 委托
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示将处理 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
事件处理程序所附加到的对象。
事件的事件数据。
- 属性
Windows 要求
设备系列 |
Windows 10 (在 10.0.10240.0 中引入)
|
API contract |
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
|