Edit

Bagikan melalui


DataGridColumnStyle.SetDataGrid(DataGrid) Method

Definition

Sets the DataGrid control that this column belongs to.

protected:
 virtual void SetDataGrid(System::Windows::Forms::DataGrid ^ value);
protected virtual void SetDataGrid (System.Windows.Forms.DataGrid value);
abstract member SetDataGrid : System.Windows.Forms.DataGrid -> unit
override this.SetDataGrid : System.Windows.Forms.DataGrid -> unit
Protected Overridable Sub SetDataGrid (value As DataGrid)

Parameters

value
DataGrid

The DataGrid control that this column belongs to.

Remarks

Typically, you should use the SetDataGridInColumn method.

Applies to

See also