Back to Devexpress

IMultipleSelection.SetSelection(Point[]) Method

corelibraries-devexpress-dot-xtrapivotgrid-dot-selection-dot-imultipleselection-dot-setselection-x28-system-dot-drawing-dot-point-x29.md

latest2.0 KB
Original Source

IMultipleSelection.SetSelection(Point[]) Method

Selects the specified cells.

Namespace : DevExpress.XtraPivotGrid.Selection

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

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

Declaration

csharp
void SetSelection(
    params Point[] points
)
vb
Sub SetSelection(
    ParamArray points As Point()
)

Parameters

NameTypeDescription
pointsPoint[]

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.

See Also

SelectedCells

IMultipleSelection Interface

IMultipleSelection Members

DevExpress.XtraPivotGrid.Selection Namespace