System.Windows.Forms.CheckState Enumeration

Specifies the state of a control, such as a check box, that can be checked, unchecked, or set to an indeterminate state.

Syntax

public enum CheckState

Remarks

Multiple methods in System.Windows.Forms.CheckBox, System.Windows.Forms.CheckedListBox, and System.Windows.Forms.ItemCheckEventArgs use this enumeration.

Note:

Use an indeterminately checked control when you do not want to set a default value.

Members

Member NameDescription
Checked

The control is checked.

Indeterminate

The control is indeterminate. An indeterminate control generally has a shaded appearance.

Unchecked

The control is unchecked.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0