ComboBoxState Enumeration

Note: This enumeration is new in the .NET Framework version 2.0.

Specifies the visual state of a combo box that is drawn with visual styles.

Namespace: System.Windows.Forms.VisualStyles
Assembly: System.Windows.Forms (in

public enum ComboBoxState
public enum ComboBoxState
public enum ComboBoxState

 Member nameDescription
DisabledThe combo box is disabled. 
HotThe combo box is hot. 
NormalThe combo box has the default appearance. 
PressedThe combo box is pressed. 

The ComboBoxState values correspond to the states of the VisualStyleElement objects exposed by the VisualStyleElement.ComboBox.DropDownButton class. The ComboBoxState values are also used as an argument in the ComboBoxRenderer.DrawDropDownButton and System.Windows.Forms.ComboBoxRenderer.DrawTextBox methods.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions