Breyta

Deila með


DataGridViewComboBoxEditingControl.EditingControlDataGridView Property

Definition

Gets or sets the DataGridView that contains the combo 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

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

Implements

Remarks

This property is automatically set when a DataGridViewComboBoxColumn or DataGridViewComboBoxCell is created within a DataGridView or added to a DataGridView.

Applies to

See also