Skip to main content

SpreadsheetControl.GetSelectedRanges() Method

Gets ranges selected in the active worksheet.

Namespace: DevExpress.Xpf.Spreadsheet

Assembly: DevExpress.Xpf.Spreadsheet.v24.1.dll

NuGet Package: DevExpress.Wpf.Spreadsheet

Declaration

public IList<CellRange> GetSelectedRanges()

Returns

Type Description
IList<CellRange>

A list of the CellRange objects.

Remarks

Note

To get ranges selected in a specific worksheet (which may or may not be active) of the document loaded in the SpreadsheetControl, use the Worksheet.GetSelectedRanges method of the worksheet object.

See Also