DataControlBase.SelectionMode Property
In This Article
Gets or sets whether multiple row/cell selection is enabled. This is a dependency property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v14.2.Core.dll
#Declaration
[XtraSerializableProperty]
[CloneDetailMode(CloneDetailMode.Skip)]
public MultiSelectMode SelectionMode { get; set; }
#Property Value
Type | Description |
---|---|
Multi |
A Multi |
#Remarks
Multiple row/cell selection isn't allowed if the DataViewBase.NavigationStyle property is set to GridViewNavigationStyle.None and/or the SelectionMode property is set to MultiSelectMode.None. To enable multiple row selection, set the SelectionMode property to MultiSelectMode.Row. Multiple cell selection (block selection) is enabled by setting the SelectionMode property to MultiSelectMode.Cell.
To learn more, see Multiple Row Selection and Multiple Cell Selection.
See Also