SpreadsheetControl.GetSelectedRanges() Method

Gets ranges selected in the active worksheet.

Namespace: DevExpress.Xpf.Spreadsheet

Assembly: DevExpress.Xpf.Spreadsheet.v21.2.dll

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