CheckState Enumeration


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

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

type CheckState

Member nameDescription

The control is checked.


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


The control is unchecked.

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


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

The following code example demonstrates the use of the CheckState enumeration.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top