DataControlBase.SelectionMode Property

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

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v21.2.dll

Declaration

public MultiSelectMode SelectionMode { get; set; }

Property Value

Type Description
MultiSelectMode

A MultiSelectMode enumeration value that specifies the selection mode.

Available values:

Name Description
None

Multi-selection is disabled.

Row

Simple selection of multiple rows.

RowExtended

Extended selection of multiple rows.

Cell

Simple selection of multiple cells.

CellExtended

Extended selection of multiple cells.

Remarks

Multiple row/cell selection isn’t allowed if the DataControlBase.NavigationStyle property is set to GridControlNavigationStyle.None and/or the SelectionMode property is set to MultiSelectMode.None. To enable multiple row selection, set the SelectionMode property to MultiSelectMode.Row or MultiSelectMode.RowExtended. Multiple cell selection (block selection) is enabled by setting the SelectionMode property to MultiSelectMode.Cell or MultiSelectMode.CellExtended.

See Also