Back to Devexpress

TreeListOptionsSelection.MultiSelectMode Property

windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsselection.md

latest2.6 KB
Original Source

TreeListOptionsSelection.MultiSelectMode Property

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

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

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

Property Value

TypeDefaultDescription
DevExpress.XtraTreeList.TreeListMultiSelectModeRowSelect

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 TypePath 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

TreeListOptionsSelection Class

TreeListOptionsSelection Members

DevExpress.XtraTreeList Namespace