officefileapi-devexpress-dot-spreadsheet-dot-checkboxformcontrol.md
Gets or sets the checkbox form control’s check state.
Namespace : DevExpress.Spreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
FormControlCheckState CheckState { get; set; }
Property CheckState As FormControlCheckState
| Type | Description |
|---|---|
| FormControlCheckState |
Indicates the check state of the form control.
|
Available values:
| Name | Description |
|---|---|
| Checked |
The checkbox is checked.
| | Unchecked |
The checkbox is unchecked.
| | Indeterminate |
The checkbox state is indeterminate.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the CheckState property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
var checkBoxControl = formControls.AddCheckBox(checkRange);
checkBoxControl.CheckState = FormControlCheckState.Checked;
checkBoxControl.PlainText = "Reviewed";
var checkBoxControl = formControls.AddCheckBox(checkRange);
checkBoxControl.CheckState = FormControlCheckState.Checked;
checkBoxControl.PlainText = "Reviewed";
var checkBoxControl = formControls.AddCheckBox(checkRange);
checkBoxControl.CheckState = FormControlCheckState.Checked;
checkBoxControl.PlainText = "Reviewed";
Dim checkBoxControl = formControls.AddCheckBox(checkRange)
checkBoxControl.CheckState = DevExpress.Spreadsheet.FormControlCheckState.Checked
checkBoxControl.PlainText = "Reviewed"
Dim checkBoxControl = formControls.AddCheckBox(checkRange)
checkBoxControl.CheckState = FormControlCheckState.Checked
checkBoxControl.PlainText = "Reviewed"
See Also