System.Windows.Forms.DataGridColumnStyle.SetDataGridInColumn Method

Sets the System.Windows.Forms.DataGrid for the column.

Syntax

protected virtual void SetDataGridInColumn (DataGrid value)

Parameters

value
A System.Windows.Forms.DataGrid.

Remarks

This method is typically overridden by derived classes to do special processing when the System.Windows.Forms.DataGridColumnStyle is added to System.Windows.Forms.DataGrid. For example, the System.Windows.Forms.DataGridTextBoxColumn uses this method to add the System.Windows.Forms.DataGridTextBox as a child of the System.Windows.Forms.DataGrid.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0