Skip to main content

TcxTreeListNode.Checked Property

Specifies the node’s checked state.

Declaration

property Checked: Boolean read; write;

Property Value

Type
Boolean

Remarks

Set this property to True, to mark the node as checked. Otherwise, it will be unchecked.

A node indicates its checked state using a control set by the parent node‘s CheckGroupType property. The parent node keeps track of child states, and automatically changes its state to unchecked (if the two-state mode is enabled) or grayed (if the three-state mode is enabled), if one of its checked children has been unchecked or grayed. To specify the grayed state, use the CheckState property instead.

You can handle the tree list’s OnNodeCheckChanging and OnNodeCheckChanged events to respond to changes made to the node’s checked state and, optionally, discard them.

See Also