Specifies the state of a control, such as a check box, that can be checked, unchecked, or set to an indeterminate state.
[Visual Basic] Public Enum CheckState [C#] public enum CheckState [C++] public enum CheckState
[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.
Multiple methods in System.WinForms.CheckState.CheckBox, CheckedListBox, and ItemCheckEventArgs use this enumeration.
Note Use an indeterminately checked control when you do not want to set a default value.
Member Name | Description |
---|---|
Checked | The control is checked. |
Indeterminate | The control is indeterminate. An indeterminate control generally has a shaded appearance. |
Unchecked | The control is unchecked. |
Namespace: System.WinForms
Assembly: System.WinForms.dll