Editare

Partajați prin


VisualStateGroup.CurrentStateChanging Event

Definition

Occurs when a control starts transitioning to a different state.

public:
 event EventHandler<System::Windows::VisualStateChangedEventArgs ^> ^ CurrentStateChanging;
public event EventHandler<System.Windows.VisualStateChangedEventArgs> CurrentStateChanging;
member this.CurrentStateChanging : EventHandler<System.Windows.VisualStateChangedEventArgs> 
Public Custom Event CurrentStateChanging As EventHandler(Of VisualStateChangedEventArgs) 
Public Event CurrentStateChanging As EventHandler(Of VisualStateChangedEventArgs) 

Event Type

Remarks

The event occurs when the control begins to transition states. If a VisualTransition is applied to the state change, this event occurs when the transition begins. If a VisualTransition is not applied, this event occurs after the control transitions to the new state, but before the CurrentStateChanged event.

Applies to