DataGridTextBoxColumn.SetDataGridInColumn(DataGrid) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在控制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)
參數
備註
當呼叫這些方法時,託管 TextBox 控制項會被加入控制 DataGrid 項的 Control.ControlCollection。 這讓 可以 CurrencyManager 將兩個控制項與同一資料來源關聯起來。