編集

次の方法で共有


DataGridViewTextBoxEditingControl.EditingControlDataGridView Property

Definition

Gets or sets the DataGridView that contains the text box control.

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

Property Value

A DataGridView that contains the DataGridViewTextBoxCell that contains this control; otherwise, null if there is no associated DataGridView.

Implements

Remarks

This property is automatically set when a DataGridViewTextBoxColumn or DataGridViewTextBoxCell is created within a DataGridView or added to a DataGridView.

Applies to

See also