DependencyPropertyChangedEventArgs(DependencyProperty, Object, Object) Constructeur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de la classe DependencyPropertyChangedEventArgs.
public:
DependencyPropertyChangedEventArgs(System::Windows::DependencyProperty ^ property, System::Object ^ oldValue, System::Object ^ newValue);
public DependencyPropertyChangedEventArgs(System.Windows.DependencyProperty property, object oldValue, object newValue);
new System.Windows.DependencyPropertyChangedEventArgs : System.Windows.DependencyProperty * obj * obj -> System.Windows.DependencyPropertyChangedEventArgs
Public Sub New (property As DependencyProperty, oldValue As Object, newValue As Object)
Paramètres
- property
- DependencyProperty
Identificateur de la propriété de dépendance qui a changé.
- oldValue
- Object
Valeur de la propriété avant la modification signalée par l’événement ou le changement d’état approprié.
- newValue
- Object
Valeur de la propriété après la modification signalée par l’événement ou le changement d’état approprié.
Remarques
Les implémenteurs d’événements personnalisés qui signalent des modifications de propriété de dépendance doivent utiliser ce constructeur pour remplir les données d’événement avec les spécificités de la modification lorsque l’événement est déclenché.