TcxCustomCheckGroupProperties.AllowGrayed Property
Specifies whether end-users can change check boxes’ states to grayed.
Declaration
property AllowGrayed: Boolean read; write; default False;
Property Value
Type | Default |
---|---|
Boolean | False |
Remarks
Use the AllowGrayed property to specify whether individual check boxes support the grayed state. If the property value is True, clicking an unchecked item changes its state to grayed. Clicking a grayed item changes its state to checked. The same takes place when pressing the SPACE key while the item is selected. If the AllowGrayed property value is False, clicking an unchecked item changes the item’s state to checked immediately.
You can change check states via code using the control’s States property. Note that the AllowGrayed property value is not taken into account in this case. It can only be used to control end-user actions.
The default value of the AllowGrayed property is False.