DataGridViewTextBoxEditingControl.EditingControlDataGridView 属性

定义

获取或设置包含文本框控件的 DataGridView

public:
 virtual property System::Windows::Forms::DataGridView ^ EditingControlDataGridView { System::Windows::Forms::DataGridView ^ get(); void set(System::Windows::Forms::DataGridView ^ value); };
public virtual System.Windows.Forms.DataGridView EditingControlDataGridView { get; set; }
public virtual System.Windows.Forms.DataGridView? EditingControlDataGridView { get; set; }
member this.EditingControlDataGridView : System.Windows.Forms.DataGridView with get, set
Public Overridable Property EditingControlDataGridView As DataGridView

属性值

DataGridView,它包含的 DataGridViewTextBoxCell 包含此控件;否则,如果没有关联的 DataGridView,则为 null

实现

注解

在 中创建DataGridViewDataGridViewTextBoxCell添加到 DataGridViewDataGridViewTextBoxColumn,会自动设置此属性。

适用于

另请参阅