Skip to main content

IMultipleSelection.SetSelection(Point[]) Method

Selects the specified cells.

Namespace: DevExpress.XtraPivotGrid.Selection

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

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Dashboard.Design


void SetSelection(
    params Point[] points


Name Type Description
points Point[]

An array of Point structures that specifies the coordinates of the cells that should be selected.


The X and Y components of the Point structures identify the zero-based coordinates of cells, starting from the left top cell.

To obtain the collection of the currently selected cells, use the IMultipleSelection.SelectedCells property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SetSelection(Point[]) method.


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