ComboBoxState 枚举

定义

指定用视觉样式绘制的组合框的视觉状态。Specifies the visual state of a combo box that is drawn with visual styles.

public enum class ComboBoxState
public enum ComboBoxState
type ComboBoxState = 
Public Enum ComboBoxState
继承
ComboBoxState

字段

Disabled 4

该组合框被禁用。The combo box is disabled.

Hot 2

该组合框处于热状态。The combo box is hot.

Normal 1

该组合框具有默认外观。The combo box has the default appearance.

Pressed 3

该组合框已按下。The combo box is pressed.

注解

这些ComboBoxState值对应于VisualStyleElement.ComboBox.DropDownButton类公开的VisualStyleElement对象的状态。The ComboBoxState values correspond to the states of the VisualStyleElement objects exposed by the VisualStyleElement.ComboBox.DropDownButton class. 值还用作ComboBoxRenderer.DrawDropDownButtonComboBoxRenderer.DrawTextBox方法中的参数。 ComboBoxStateThe ComboBoxState values are also used as an argument in the ComboBoxRenderer.DrawDropDownButton and ComboBoxRenderer.DrawTextBox methods.

适用于