共用方式為


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

適用於