DataGridTextBoxColumn.SetDataGridInColumn(DataGrid) Método

Definición

Agrega un control TextBox al objeto DataGrid del control 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)

Parámetros

value
DataGrid

Control DataGrid al que se agrega el control TextBox.

Comentarios

Cuando se llama a estos métodos, el control hospedado TextBox se agrega al DataGrid control del Control.ControlCollectioncontrol . Esto permite CurrencyManager asociar ambos controles con el mismo origen de datos.

Se aplica a

Consulte también