DataGridCell.OnColumnChanged(DataGridColumn, DataGridColumn) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when the cell's Column property changes.
protected:
virtual void OnColumnChanged(System::Windows::Controls::DataGridColumn ^ oldColumn, System::Windows::Controls::DataGridColumn ^ newColumn);
protected virtual void OnColumnChanged (System.Windows.Controls.DataGridColumn oldColumn, System.Windows.Controls.DataGridColumn newColumn);
abstract member OnColumnChanged : System.Windows.Controls.DataGridColumn * System.Windows.Controls.DataGridColumn -> unit
override this.OnColumnChanged : System.Windows.Controls.DataGridColumn * System.Windows.Controls.DataGridColumn -> unit
Protected Overridable Sub OnColumnChanged (oldColumn As DataGridColumn, newColumn As DataGridColumn)
Parameters
- oldColumn
- DataGridColumn
The old column definition.
- newColumn
- DataGridColumn
The new column definition.
Remarks
This method is not called if changes are made to the current column definition. It is called only if the Column property is set.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.