Skip to main content

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

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