TcxCustomCheckBox.State Property
Determines whether an editor has a checked, unchecked or grayed state.
Declaration
property State: TcxCheckBoxState read; write; default cbsUnchecked;
Property Value
Type | Default |
---|---|
TcxCheckBoxState | cbsUnchecked |
Remarks
The State property defines the state of your check box. It is possible to set one of the three states: checked, unchecked and grayed. A user can switch a check box to the grayed state only if the AllowGrayed property of the Properties object is set to True. But it is possible to set the grayed state via code regardless of the AllowGrayed property value.
The Checked property also allows setting the check box state. It is of type Boolean and therefore only the checked or unchecked state can be set.
The default value of the State property is cbsUnchecked.
See Also