Lire en anglais

Partager via


VisualStateGroup.CurrentStateChanging Événement

Définition

Se produit lorsqu'un contrôle commence à passer à un état différent.

C#
public event EventHandler<System.Windows.VisualStateChangedEventArgs> CurrentStateChanging;

Type d'événement

Remarques

L’événement se produit lorsque le contrôle commence à passer à des états. Si un VisualTransition est appliqué au changement d’état, cet événement se produit lorsque la transition commence. Si un VisualTransition n’est pas appliqué, cet événement se produit après la transition du contrôle vers le nouvel état, mais avant l’événement CurrentStateChanged .

S’applique à

Produit Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10