CheckBoxState Enumeration

 

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

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

public enum CheckBoxState

Member nameDescription
CheckedDisabled

The check box is checked and disabled.

CheckedHot

The check box is checked and hot.

CheckedNormal

The check box is checked.

CheckedPressed

The check box is checked and pressed.

MixedDisabled

The check box is three-state and disabled.

MixedHot

The check box is three-state and hot.

MixedNormal

The check box is three-state.

MixedPressed

The check box is three-state and pressed.

UncheckedDisabled

The check box is unchecked and disabled.

UncheckedHot

The check box is unchecked and hot.

UncheckedNormal

The check box is unchecked.

UncheckedPressed

The check box is unchecked and pressed.

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.

.NET Framework
Available since 2.0
Return to top
Show: