VisualStateGroup.CurrentStateChanging Event


Occurs when a control starts transitioning to a different state.

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


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