Back to Devexpress

TcxCustomCheckBoxProperties.AllowGrayed Property

vcl-cxcheckbox-dot-tcxcustomcheckboxproperties.md

latest1.2 KB
Original Source

TcxCustomCheckBoxProperties.AllowGrayed Property

Specifies whether the grayed state is enabled.

Declaration

delphi
property AllowGrayed: Boolean read; write; default False;

Property Value

TypeDefault
BooleanFalse

Remarks

Set the AllowGrayed property to True to enable a user to set the grayed state. Otherwise, he/she can only switch between the checked and unchecked states (but it is possible to set the grayed state via code regardless of the AllowGrayed property value). To change the check box state use the Checked or State property of the TcxCustomCheckBox control.

The default value of the AllowGrayed property is False.

See Also

TcxCustomCheckBox.Checked

TcxCustomCheckBox.State

TcxCustomCheckBoxProperties Class

TcxCustomCheckBoxProperties Members

cxCheckBox Unit