System.Windows.Forms.DataGridColumnStyle.SetDataGrid Method

Sets the System.Windows.Forms.DataGrid control that this column belongs to.

Syntax

protected virtual void SetDataGrid (DataGrid value)

Parameters

value
The System.Windows.Forms.DataGrid control that this column belongs to.

Remarks

Typically, you should use the DataGridColumnStyle.SetDataGridInColumn(DataGrid) method.

Requirements

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