CellRange
Class
Defines a rectangular selection of cells within a worksheet, bounded by row and column indices, supporting operations like offset, intersection, and containment checks.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
C#
public class CellRange
Inheritance: objectCellRange
Constructors
Fields
Methods
Gets the first column.
Gets the first row.
Gets the last column.
Gets the last row.
Properties
Gets the number of columns spanned by the range.
C#
public int ColumnCount { get; }
The column count.
Gets the top-left cell index of the range.
C#
public CellIndex FromIndex { get; }
The start index.
Gets whether the range contains exactly one cell (1 row × 1 column).
C#
public bool IsSingleCell { get; }
The value indicating if the cell range is single cell range.
Gets the number of rows spanned by the range.
C#
public int RowCount { get; }
The row count.