共用方式為


VisualStateChangedEventArgs 類別

定義

提供 CurrentStateChangingCurrentStateChanged 事件的資料。

public ref class VisualStateChangedEventArgs sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class VisualStateChangedEventArgs final
[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class VisualStateChangedEventArgs
Public NotInheritable Class VisualStateChangedEventArgs
繼承
Object Platform::Object IInspectable VisualStateChangedEventArgs
屬性

建構函式

VisualStateChangedEventArgs()

初始化 VisualStateChangedEventArgs 類別的新實例。

屬性

Control

取得正在變更狀態的 控制項

NewState

取得 控制項 變更為 或 已變更的狀態。

OldState

取得 控制項 從 或 變更的狀態。

適用於