Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CurrentStateChanging Event
Collapse the table of content
Expand the table of content

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

member CurrentStateChanging : IEvent<EventHandler<VisualStateChangedEventArgs>,
    VisualStateChangedEventArgs>
<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