Skip to main content

PivotGridOptionsSelection.MultiSelect Property

Gets or sets whether multiple range selection is enabled.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v24.1.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

[XtraSerializableProperty]
public bool MultiSelect { get; set; }

Property Value

Type Description
Boolean

true to enable multiple range selection; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to MultiSelect
PivotGridControl
.OptionsSelection .MultiSelect

Remarks

When this mode is enabled, a user can select several blocks of cells via the mouse with the Ctrl key pressed down.

MultiSelect

The code below shows how to select cells in code:

pivotGridControl1.Cells.MultiSelection.SetSelection(new Point[] {
    new Point(0, 0), new Point(0, 1), new Point(2, 0) });
See Also