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
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 |
|
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:
pivotGridControl1.Cells.MultiSelection.SetSelection(new Point[] {
new Point(0, 0), new Point(0, 1), new Point(2, 0) });
See Also