TreeListOptionsSelection.MultiSelectMode Property

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

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

[DefaultValue(TreeListMultiSelectMode.RowSelect)]
[XtraSerializableProperty]
public virtual TreeListMultiSelectMode MultiSelectMode { get; set; }
<DefaultValue(TreeListMultiSelectMode.RowSelect)>
<XtraSerializableProperty>
Public Overridable Property MultiSelectMode As TreeListMultiSelectMode

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:

Library Object Type Path to MultiSelectMode
WinForms Controls GanttControl
.OptionsSelection.MultiSelectMode
ResourcesTree
.OptionsSelection.MultiSelectMode
TreeList
.OptionsSelection.MultiSelectMode
Reporting XRDesignFieldList
.OptionsSelection.MultiSelectMode
XRDesignReportExplorer
.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