แก้ไข

แชร์ผ่าน


DataGridColumnStyle.SetDataGridInColumn(DataGrid) Method

Definition

Sets the DataGrid for the column.

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

Parameters

value
DataGrid

A DataGrid.

Remarks

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

Applies to