TcxCheckBoxProperties Class
Contains properties specific to check box editors.
Declaration
TcxCheckBoxProperties = class(
TcxCustomCheckBoxProperties
)
Remarks
The TcxCheckBoxProperties class represents a set of attributes controlling the behavior of check box editors. Use the Properties member of the TcxCustomCheckBox control to specify different settings. To control any changes made to the editor’s ReadOnly property and reverse its value back to the default one, use the AssignedValues property.
TcxCheckBoxProperties does not introduce any new behavior but publishes properties and events inherited from base classes. Properties allow you to define different settings such as alignment of the check box caption, custom images to draw instead of the check box itself and many others. The AllowGrayed property enables a check box to have three states. When a user clicks it, the checked, unchecked and grayed states are set one after another. The ValueChecked, ValueGrayed and ValueUnchecked members specify variant values retrieved via the editor’s EditValue property when the check box is set to the checked, grayed or unchecked state respectively.