VisualStateGroup.CurrentStateChanging Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.