Back to Devexpress

TableView.MultiSelectMode Property

wpf-devexpress-dot-xpf-dot-grid-dot-tableview-8232e832.md

latest2.8 KB
Original Source

TableView.MultiSelectMode Property

OBSOLETE

Use the SelectionMode property instead

Gets or sets whether multiple row/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 row selection, set the MultiSelectMode property to TableViewSelectMode.Row. Multiple cell selection (block selection) is enabled by setting the MultiSelectMode property to TableViewSelectMode.Cell.

Refer to the Row Selection and Cell Selection topics for more information.

See Also

SelectItem(Int32)

UnselectItem(Int32)

SelectionMode

TableView Class

TableView Members

DevExpress.Xpf.Grid Namespace