DataGridViewComboBoxDisplayStyle Enumeration
.NET Framework (current version)
Defines constants that indicate how a DataGridViewComboBoxCell is displayed.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Member name | Description | |
|---|---|---|
| ComboBox | When it is not in edit mode, the DataGridViewComboBoxCell mimics the appearance of a ComboBox control. | |
| DropDownButton | When it is not in edit mode, the DataGridViewComboBoxCell is displayed with a drop-down button but does not otherwise mimic the appearance of a ComboBox control. | |
| Nothing | When it is not in edit mode, the DataGridViewComboBoxCell is displayed without a drop-down button. |
This enumeration is used by the DisplayStyle property of the DataGridViewComboBoxCell and DataGridViewComboBoxColumn types to indicate the appearance of the cell when it is not in edit mode. In edit mode, the cell displays the hosted ComboBox control.
.NET Framework
Available since 2.0
Available since 2.0
Show: