Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RangeExtensions.Select(CellRange) Method

Selects the cell range.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v24.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

#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