System.Windows.Forms.VisualStyles.ComboBoxState Enumeration

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

Syntax

public enum ComboBoxState

Remarks

The System.Windows.Forms.VisualStyles.ComboBoxState values correspond to the states of the System.Windows.Forms.VisualStyles.VisualStyleElement objects exposed by the System.Windows.Forms.VisualStyles.VisualStyleElement.ComboBox.DropDownButton class. The System.Windows.Forms.VisualStyles.ComboBoxState values are also used as an argument in the System.Windows.Forms.ComboBoxRenderer.DrawDropDownButton(System.Drawing.Graphics, System.Drawing.Rectangle, ComboBoxState) and erload:System.Windows.Forms.ComboBoxRenderer.DrawTextBox methods.

Members

Member NameDescription
Disabled

The combo box is disabled.

Hot

The combo box is hot.

Normal

The combo box has the default appearance.

Pressed

The combo box is pressed.

Requirements

Namespace: System.Windows.Forms.VisualStyles
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0