This documentation is archived and is not being maintained.

DataGridColumnStyle.SetDataGrid Method

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

[Visual Basic]
Protected Overridable Sub SetDataGrid( _
   ByVal value As DataGrid _
)
[C#]
protected virtual void SetDataGrid(
 DataGrid value
);
[C++]
protected: virtual void SetDataGrid(
 DataGrid* value
);
[JScript]
protected function SetDataGrid(
   value : DataGrid
);

Parameters

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

Remarks

Typically, you should use the SetDataGridInColumn method.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

DataGridColumnStyle Class | DataGridColumnStyle Members | System.Windows.Forms Namespace | DataGrid

Show: