SpreadsheetControl.GetSelectedRanges() Method

Gets ranges selected in the active worksheet.

Namespace: DevExpress.Xpf.Spreadsheet

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

Declaration

public IList<CellRange> GetSelectedRanges()
Public Function GetSelectedRanges As IList(Of CellRange)

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.

Implements

DevExpress.XtraSpreadsheet.ISpreadsheetControl.GetSelectedRanges()
See Also