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

DataGridCell.OnColumnChanged Method

.NET Framework 4.6 and 4.5

Called when the cell's Column property changes.

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

protected virtual void OnColumnChanged(
	DataGridColumn oldColumn,
	DataGridColumn newColumn
)

Parameters

oldColumn
Type: System.Windows.Controls.DataGridColumn

The old column definition.

newColumn
Type: System.Windows.Controls.DataGridColumn

The new column definition.

This method is not called if changes are made to the current column definition. It is called only if the Column property is set.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft