Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxTreeViewCustomOptionsSelection.MultiSelectStyle Property

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

#Declaration

Delphi
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