Прочитај на енглеском Уреди

Делите путем


DataGridBoundColumn.OnBindingChanged(BindingBase, BindingBase) Method

Definition

Notifies the DataGrid when the value of the Binding property changes.

C#
protected virtual void OnBindingChanged(System.Windows.Data.BindingBase oldBinding, System.Windows.Data.BindingBase newBinding);

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

Производ Верзије
.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