OnBindingChanged Method

DataGridBoundColumn.OnBindingChanged Method (BindingBase, BindingBase)

.NET Framework 4.6 and 4.5

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

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected virtual void OnBindingChanged(
	BindingBase oldBinding,
	BindingBase newBinding


Type: System.Windows.Data.BindingBase

The previous binding.

Type: System.Windows.Data.BindingBase

The binding that the column has been changed to.

Notes to Inheritors:

When overriding OnBindingChanged in a derived class, make sure that you call the base class’s OnBindingChanged method so that registered delegates receive the event.

.NET Framework
Available since 4.0
Return to top
© 2015 Microsoft