Modifier

Partager via


CheckBoxState Enum

Definition

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
Inheritance
CheckBoxState

Fields

Name Value Description
UncheckedNormal 1

The check box is unchecked.

UncheckedHot 2

The check box is unchecked and hot.

UncheckedPressed 3

The check box is unchecked and pressed.

UncheckedDisabled 4

The check box is unchecked and disabled.

CheckedNormal 5

The check box is checked.

CheckedHot 6

The check box is checked and hot.

CheckedPressed 7

The check box is checked and pressed.

CheckedDisabled 8

The check box is checked and disabled.

MixedNormal 9

The check box is three-state.

MixedHot 10

The check box is three-state and hot.

MixedPressed 11

The check box is three-state and pressed.

MixedDisabled 12

The check box is three-state and disabled.

Remarks

The CheckBoxState values correspond to the states of the VisualStyleElement objects exposed by the VisualStyleElement.Button.CheckBox class. The CheckBoxState values are also used as an argument in the CheckBoxRenderer.DrawCheckBox method.

Applies to