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

TreeListOptionsSelection.MultiSelectMode Property

Gets or sets whether multiple selection is made by node or by cell.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

#Declaration

[DefaultValue(TreeListMultiSelectMode.RowSelect)]
[XtraSerializableProperty]
public virtual TreeListMultiSelectMode MultiSelectMode { get; set; }

#Property Value

Type Default Description
DevExpress.XtraTreeList.TreeListMultiSelectMode RowSelect

A DevExpress.XtraTreeList.TreeListMultiSelectMode enumeration value that specifies whether multiple selection is made by node or by cell.

#Property Paths

You can access this nested property as listed below:

Object Type Path to MultiSelectMode
TreeList
.OptionsSelection .MultiSelectMode

#Remarks

If the TreeListOptionsSelection.MultiSelect option is enabled, an end-user can select multiple nodes. At run-time, nodes can be selected using the mouse operations and keyboard shortcuts listed in the Selecting Nodes topic. By default, the selection is made by nodes. It means that when an end-user clicks a cell in a node, the whole node is selected, regardless of the exact cell clicked. It is also possible to make selection by cell. To enable this mode, set the MultiSelectMode property to CellSelect. In this mode, with a click, an end-user selects the exact cells, while the whole node remains unselected.

See Also