Skip to main content

TcxTreeListNode.AllowGrayed Property

Specifies the check mode of the node’s check box.

Declaration

property AllowGrayed: Boolean read; write;

Property Value

Type
Boolean

Remarks

If the AllowGrayed property is True, the check box is used as a three-state check box – it can have the checked, unchecked, or grayed state. Otherwise, the check box can only be checked or unchecked.

The AllowGrayed property only affects end-user actions and the CheckClick procedure, and doesn’t affect the CheckState property.

The property is in effect if the tree list’s OptionsView.CheckGroups option is active and the node’s CheckGroupType property value is not ncgNone.

See Also