Skip to main content

VGridOptionsSelectionAndFocus.MultiSelect Property

Gets or sets whether selection of multiple records, rows and cells is enabled.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

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


public bool MultiSelect { get; set; }

Property Value

Type Default Description
Boolean false

true if selection of multiple records, rows and cells is enabled; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to MultiSelect
.OptionsSelectionAndFocus .MultiSelect


Set the MultiSelect property to true to activate multiple record/row/cell selection. Then, use the VGridOptionsSelectionAndFocus.MultiSelectMode property to choose a selection mode:

Traditional selection methods via the keyboard and mouse are supported out-of-the-box.

The following table lists members to work with the selection.



Select/deselect records, rows and cells in code

VGridControlBase.SelectRow, VGridControlBase.SelectRecord and VGridControlBase.SelectCell

VGridControlBase.UnselectRecord, VGridControlBase.UnselectRow, VGridControlBase.UnselectCell and VGridControlBase.ClearSelection

Retrieve selected records, rows and cells

VGridControlBase.GetSelectedCells, VGridControlBase.GetSelectedRecords and VGridControlBase.GetSelectedRows

Copy selection to the Clipboard

VGridControlBase.CopyToClipboard method or the CTRL+C shortcut

Respond to selection changes

VGridControlBase.SelectedChanged event

Customize the appearance of selected records, rows and cells

VGridAppearanceCollection.SelectedRecord, VGridAppearanceCollection.SelectedRow and VGridAppearanceCollection.SelectedCell properties, accessible from the VGridControlBase.Appearance object

See Also