Back to Devexpress

PivotGridOptionsSelection.MultiSelect Property

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridoptionsselection-170c2aba.md

latest2.1 KB
Original Source

PivotGridOptionsSelection.MultiSelect Property

Gets or sets whether multiple range selection is enabled.

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.PivotGrid.v25.2.Core.dll

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

Declaration

csharp
[DefaultValue(true)]
public bool MultiSelect { get; set; }
vb
<DefaultValue(True)>
Public Property MultiSelect As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true to enable multiple range selection; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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.

The code below shows how to select cells in code:

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

See Also

MultiSelection

PivotGridOptionsSelection Class

PivotGridOptionsSelection Members

DevExpress.XtraPivotGrid Namespace