PivotGridOptionsSelection.MultiSelect Property

Gets or sets whether multiple range selection is enabled.

Namespace: DevExpress.XtraPivotGrid

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

Declaration

[DefaultValue(true)]
public bool MultiSelect { get; set; }

Property Value

Type Default Description
Boolean

true

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) });

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MultiSelect property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also