ComboBoxState Enumeration

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

Namespace: System.Windows.Forms.VisualStyles
Assembly: System.Windows.Forms (in system.windows.forms.dll)

'Declaration
Public Enumeration ComboBoxState
'Usage
Dim instance As 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 Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: