Skip to main content
A newer version of this page is available. .

IMultipleSelection.SetSelection(Point[]) Method

Selects the specified cells.

Namespace: DevExpress.XtraPivotGrid.Selection

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

Declaration

void SetSelection(
    params Point[] points
)

Parameters

Name Type Description
points Point[]

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

Remarks

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.

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