Skip to main content
.NET Framework 4.5.2+
Row

RangeExtensions.Select(CellRange) Method

Selects the cell range.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v22.1.Core.dll

Declaration

public static void Select(
    this CellRange range
)

Parameters

Name Type Description
range CellRange

The cell range to select.

Remarks

The Select method is an extension method of the CellRange interface. You can call extension methods in the same way as instance methods of the CellRange object.

The following example demonstrates how to select the cell range “A2:C4”:

Worksheet worksheet = workbook.Worksheets[0];
worksheet["A2:C4"].Select();

You can also use the following API members to select cells in a worksheet:

See Also