DataGridViewComboBoxEditingControl.EditingControlDataGridView Property


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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public virtual DataGridView EditingControlDataGridView { get; set; }

Property Value

Type: System.Windows.Forms.DataGridView

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

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

.NET Framework
Available since 2.0
Return to top