Back to Devexpress

TreeListView.MultiSelectMode Property

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-83475c8c.md

latest2.7 KB
Original Source

TreeListView.MultiSelectMode Property

OBSOLETE

Use the SelectionMode property instead

Gets or sets whether multiple node/cell selection is enabled. This is a dependency property.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
[Obsolete("Use the DataControlBase.SelectionMode property instead")]
[Browsable(false)]
public TableViewSelectMode MultiSelectMode { get; set; }
vb
<Obsolete("Use the DataControlBase.SelectionMode property instead")>
<Browsable(False)>
Public Property MultiSelectMode As TableViewSelectMode

Property Value

TypeDescription
TableViewSelectMode

A TableViewSelectMode enumeration value that specifies the selection mode.

|

Available values:

NameDescription
None

Multi-selection is disabled.

| | Row |

Allows selection of multiple rows.

| | Cell |

Allows selection of multiple cells.

|

Remarks

Multiple row/cell selection isn’t allowed if the DataViewBase.NavigationStyle property is set to GridViewNavigationStyle.None and/or the MultiSelectMode property is set to TableViewSelectMode.None. To enable multiple node selection, set the MultiSelectMode property to TableViewSelectMode.Row. Multiple cell selection (block selection) is enabled by setting the MultiSelectMode property to TableViewSelectMode.Cell.

To learn more, see Multiple Row Selection and Multiple Cell Selection.

See Also

SelectItem(Int32)

UnselectItem(Int32)

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace