DataGridTextBoxColumn.SetDataGridInColumn(DataGrid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.