DataGridBoundColumn.OnBindingChanged(BindingBase, BindingBase) DataGridBoundColumn.OnBindingChanged(BindingBase, BindingBase) DataGridBoundColumn.OnBindingChanged(BindingBase, BindingBase) DataGridBoundColumn.OnBindingChanged(BindingBase, BindingBase) Method

Definición

Se produce cuando cambia el valor de la propiedad DataGrid de la clase Binding.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)

Parámetros

oldBinding
BindingBase BindingBase BindingBase BindingBase

Enlace anterior.The previous binding.

newBinding
BindingBase BindingBase BindingBase BindingBase

Enlace al que se ha cambiado la columna.The binding that the column has been changed to.

Notas a los desarrolladores de herederos

Cuando se reemplaza OnBindingChanged(BindingBase, BindingBase) en una clase derivada, asegúrese de que se llama a la clase base OnBindingChanged(BindingBase, BindingBase) método para que los delegados registrados reciban el evento.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.

Se aplica a