DataGridViewComboBoxCell::DisplayStyleForCurrentCellOnly Property
.NET Framework (current version)
Gets or sets a value indicating whether the DisplayStyle property value applies to the cell only when it is the current cell in the DataGridView control.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: property bool DisplayStyleForCurrentCellOnly { bool get(); void set(bool value); }
Property Value
Type: System::Booleantrue if the display style applies to the cell only when it is the current cell; otherwise false. The default is false.
The DisplayStyle property affects the appearance of the cell when it is not in edit mode, and regardless of whether it is read-only. When the cell is in edit mode, it always looks like a ComboBox control.
.NET Framework
Available since 2.0
Available since 2.0
Show: