System.Windows.Forms.DataGridTextBoxColumn.SetDataGridInColumn Method

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

Syntax

protected override void SetDataGridInColumn (DataGrid value)

Parameters

value
The System.Windows.Forms.DataGrid control the System.Windows.Forms.TextBox control is added to.

Remarks

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

Requirements

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