DataGridViewElement.DataGridView 屬性

定義

取得與這個項目有關聯的 DataGridView 控制項。Gets the DataGridView control associated with this element.

public:
 property System::Windows::Forms::DataGridView ^ DataGridView { System::Windows::Forms::DataGridView ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.DataGridView DataGridView { get; }
member this.DataGridView : System.Windows.Forms.DataGridView
Public ReadOnly Property DataGridView As DataGridView

屬性值

包含這個項目的 DataGridView 控制項。A DataGridView control that contains this element. 預設為 nullThe default is null.

屬性

適用於

另請參閱