DataGridViewComboBoxDisplayStyle Enumeration
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.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.