편집

다음을 통해 공유


DataGridTextBoxColumn.SetDataGridInColumn(DataGrid) Method

Definition

Adds a TextBox control to the DataGrid control's Control.ControlCollection.

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

Parameters

value
DataGrid

The DataGrid control the TextBox control is added to.

Remarks

When this methods is called, the hosted TextBox control is added to the DataGrid control's Control.ControlCollection. This allows the CurrencyManager to associate both controls with the same data source.

Applies to

See also