Visual​State​Changed​Event​Args Visual​State​Changed​Event​Args Visual​State​Changed​Event​Args Class

Definition

Provides data for the CurrentStateChanging and CurrentStateChanged events.

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

Constructors

VisualStateChangedEventArgs() VisualStateChangedEventArgs() VisualStateChangedEventArgs()

Initializes a new instance of the VisualStateChangedEventArgs class.

public VisualStateChangedEventArgs()public VisualStateChangedEventArgs()Public Sub New()
Attributes

Properties

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
Value
Control Control Control

The Control that is changing states.

Attributes

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
Value
VisualState VisualState VisualState

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

Attributes

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
Value
VisualState VisualState VisualState

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

Attributes