DataGridViewElement.DataGridView DataGridViewElement.DataGridView DataGridViewElement.DataGridView DataGridViewElement.DataGridView Property

定义

获取与此元素关联的 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.

适用于

另请参阅