Skip to main content

TcxTreeListNode.CheckGroupType Property

Specifies the type of control to be displayed in the node’s children to indicate their checked state.

Declaration

property CheckGroupType: TcxTreeListNodeCheckGroupType read; write;

Property Value

Type
TcxTreeListNodeCheckGroupType

Remarks

The tree list provides two types of controls that can be used in nodes:

  • Check boxes – used for multiple node selection.

  • Radio buttons – used for selection of a single node from a group of nodes.

If specified, the control is automatically assigned to all children that the current node owns:

Value Meaning
ncgNone None of controls are shown in child nodes.
ncgCheckGroup A check box is shown in child nodes.
ncgRadioGroup A radio button is shown in child nodes.

The CheckGroupType property is in effect if the tree list’s OptionsView.CheckGroups option is active. At design time, you can use the Items Editor to specify controls for nodes.

See Also