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

SpreadsheetControl.GetSelectedRanges() Method

Gets ranges selected in the active worksheet.

Namespace: DevExpress.Xpf.Spreadsheet

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

Declaration

public IList<Range> GetSelectedRanges()

Returns

Type Description
IList<Range>

A list of the Range 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