Export (0) Print
Expand All

VisualStateGroup.CurrentStateChanging Event

Occurs when a control starts transitioning to a different state.

Namespace:  System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

public event EventHandler<VisualStateChangedEventArgs> CurrentStateChanging
<object CurrentStateChanging="EventHandler<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.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft