VisualStateChangedEventHandler 委托

定义

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

public delegate void VisualStateChangedEventHandler(Platform::Object ^ sender, VisualStateChangedEventArgs ^ e);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3872766933, 57385, 17318, 179, 109, 132, 168, 16, 66, 215, 116)]
class VisualStateChangedEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3872766933, 57385, 17318, 179, 109, 132, 168, 16, 66, 215, 116)]
public delegate void VisualStateChangedEventHandler(object sender, VisualStateChangedEventArgs e);
Public Delegate Sub VisualStateChangedEventHandler(sender As Object, e As VisualStateChangedEventArgs)

参数

sender
Object

Platform::Object

IInspectable

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

e
VisualStateChangedEventArgs

事件的事件数据。

属性

Windows 要求

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

适用于