DataGridBoundColumn.OnBindingChanged(BindingBase, BindingBase) Méthode

Définition

Avertit DataGrid lorsque la valeur de la propriété Binding change.Notifies the DataGrid when the value of the Binding property changes.

protected:
 virtual void OnBindingChanged(System::Windows::Data::BindingBase ^ oldBinding, System::Windows::Data::BindingBase ^ newBinding);
protected virtual void OnBindingChanged (System.Windows.Data.BindingBase oldBinding, System.Windows.Data.BindingBase newBinding);
abstract member OnBindingChanged : System.Windows.Data.BindingBase * System.Windows.Data.BindingBase -> unit
override this.OnBindingChanged : System.Windows.Data.BindingBase * System.Windows.Data.BindingBase -> unit
Protected Overridable Sub OnBindingChanged (oldBinding As BindingBase, newBinding As BindingBase)

Paramètres

oldBinding
BindingBase

Liaison précédente.The previous binding.

newBinding
BindingBase

Liaison pour laquelle la colonne a été modifiée.The binding that the column has been changed to.

Notes pour les héritiers

Lors OnBindingChanged(BindingBase, BindingBase) d’une substitution dans une classe dérivée, veillez à appeler la méthode de la classe de base OnBindingChanged(BindingBase, BindingBase) afin que les délégués inscrits reçoivent l’événement.When overriding OnBindingChanged(BindingBase, BindingBase) in a derived class, make sure that you call the base class' OnBindingChanged(BindingBase, BindingBase) method so that registered delegates receive the event.

S’applique à