Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
OnBindingChanged Method

DataGridBoundColumn.OnBindingChanged Method

.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
)

Parameters

oldBinding
Type: System.Windows.Data.BindingBase

The previous binding.

newBinding
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

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft