Skip to main content

TdxTreeViewCustomOptionsSelection.MultiSelectStyle Property

Specifies the behavior of the multiple node selection for the Tree View.

Declaration

property MultiSelectStyle: TMultiSelectStyle read; write; default [msControlSelect];

Property Value

Type Description
TMultiSelectStyle

A set of multi selection options.

Remarks

The MultiSelectStyle property value can include the following flags in any combination:

Value Description
msControlSelect A user can click a node while holding the Ctrl key to select or deselect the node.
msShiftSelect A user can click a node while holding the Shift key to select this node and all nodes between it and the previously selected node.
msVisibleOnly This flag excludes children of collapsed nodes from multiple selection operations made while holding the Shift key.
msSiblingOnly Multiple node selection operations are restricted to siblings only.

Note

The MultiSelectStyle property has no effect if the control’s OptionsSelection.MultiSelect property is set to False.

If the msControlSelect and msShiftSelect flags are both omitted, a user cannot select multiple nodes.

See Also