VisualStateChangedEventArgs VisualStateChangedEventArgs VisualStateChangedEventArgs VisualStateChangedEventArgs Class

Definition

Provides data for the CurrentStateChanging and CurrentStateChanged events.

public : sealed class VisualStateChangedEventArgs : IVisualStateChangedEventArgspublic sealed class VisualStateChangedEventArgs : IVisualStateChangedEventArgsPublic NotInheritable Class VisualStateChangedEventArgs Implements IVisualStateChangedEventArgs// This API is not available in Javascript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

VisualStateChangedEventArgs() VisualStateChangedEventArgs() VisualStateChangedEventArgs() VisualStateChangedEventArgs()

Initializes a new instance of the VisualStateChangedEventArgs class.

public : VisualStateChangedEventArgs()public VisualStateChangedEventArgs()Public Sub New()// This API is not available in Javascript.

Properties

Control Control Control Control

Gets the Control that is changing states.

public : Control Control { get; set; }public Control Control { get; set; }Public ReadWrite Property Control As Control// This API is not available in Javascript.
Value
Control Control Control Control

The Control that is changing states.

NewState NewState NewState NewState

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

public : VisualState NewState { get; set; }public VisualState NewState { get; set; }Public ReadWrite Property NewState As VisualState// This API is not available in Javascript.
Value
VisualState VisualState VisualState VisualState

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

OldState OldState OldState OldState

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

public : VisualState OldState { get; set; }public VisualState OldState { get; set; }Public ReadWrite Property OldState As VisualState// This API is not available in Javascript.
Value
VisualState VisualState VisualState VisualState

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