Share via


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 引進)

適用於