Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomCheckGroupProperties.AllowGrayed Property

Specifies whether end-users can change check boxes’ states to grayed.

#Declaration

Delphi
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.

See Also