CheckBoxState 枚举

定义

指定以视觉样式绘制的复选框的视觉状态。Specifies the visual state of a check box that is drawn with visual styles.

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

字段

CheckedDisabled 8

此复选框为选中,并处于禁用状态。The check box is checked and disabled.

CheckedHot 6

此复选框处于选中状态和热状态。The check box is checked and hot.

CheckedNormal 5

此复选框处于选中状态。The check box is checked.

CheckedPressed 7

此复选框处于选中状态和按下状态。The check box is checked and pressed.

MixedDisabled 12

此复选框为三态,并处于禁用状态。The check box is three-state and disabled.

MixedHot 10

此复选框为三态,并处于热状态。The check box is three-state and hot.

MixedNormal 9

此复选框为三态。The check box is three-state.

MixedPressed 11

此复选框为三态,并处于按下状态。The check box is three-state and pressed.

UncheckedDisabled 4

此复选框处于取消选中状态和禁用状态。The check box is unchecked and disabled.

UncheckedHot 2

此复选框处于取消选中状态和热状态。The check box is unchecked and hot.

UncheckedNormal 1

此复选框处于取消选中状态。The check box is unchecked.

UncheckedPressed 3

此复选框处于取消选中状态和按下状态。The check box is unchecked and pressed.

注解

这些CheckBoxState值对应于VisualStyleElement.Button.CheckBox类公开的VisualStyleElement对象的状态。The CheckBoxState values correspond to the states of the VisualStyleElement objects exposed by the VisualStyleElement.Button.CheckBox class. 值还用作CheckBoxRenderer.DrawCheckBox方法中的参数。 CheckBoxStateThe CheckBoxState values are also used as an argument in the CheckBoxRenderer.DrawCheckBox method.

适用于