語言

DataGridTextBoxColumn.SetDataGridInColumn(DataGrid) 方法

定義

在控制TextBox節點 . 上加入DataGrid一個控制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)

參數

value
DataGrid

DataGrid TextBox控制點會被加進去。

備註

當呼叫這些方法時,託管 TextBox 控制項會被加入控制 DataGrid 項的 Control.ControlCollection。 這讓 可以 CurrencyManager 將兩個控制項與同一資料來源關聯起來。

適用於

另請參閱