Επεξεργασία

Κοινή χρήση μέσω


DataGridBoundColumn.OnBindingChanged(BindingBase, BindingBase) Method

Definition

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)

Parameters

oldBinding
BindingBase

The previous binding.

newBinding
BindingBase

The binding that the column has been changed to.

Notes to Inheritors

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.

Applies to