ClassCellIndex
Class
Identifies a specific cell by its row and column indices within a worksheet.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
cs-api-definition
public class CellIndex : CellIndexBase, IComparable<CellIndexBase>
Inheritance: objectCellIndexBaseCellIndex
Implements:
Inherited Members
Constructors
CellIndex(int, int)
Initializes a new CellIndex with the specified row and column indices.
Properties
ColumnIndex
Gets the zero-based column index of this cell.
Declaration
cs-api-definition
public override int ColumnIndex { get; }
Property Value
The index of the column.
Overrides
Methods
Offset(int, int)
Creates a new cell index by adding the specified offsets to this cell's row and column, returning null if the result is out of bounds.
ToNumber()
Converts this cell index to a unique numeric representation for internal storage and comparison.
Declaration
cs-api-definition
public long ToNumber()
Returns
A numeric representation of the current index.