Udostępnij za pośrednictwem


VisualStateChangedEventArgs Class

Definition

Provides data for the CurrentStateChanging and CurrentStateChanged events.

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
Inheritance
Object Platform::Object IInspectable VisualStateChangedEventArgs
Attributes

Constructors

VisualStateChangedEventArgs()

Initializes a new instance of the VisualStateChangedEventArgs class.

Properties

Control

Gets the Control that is changing states.

NewState

Gets the state the Control is changing to or has changed to.

OldState

Gets the state the Control is changing from or has changed from.

Applies to