Class CellIndex
Represents a cell index.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class CellIndex : CellIndexBase, IComparable<CellIndexBase>
  Constructors
CellIndex(Int32, Int32)
Initializes a new instance of the CellIndex class.
Declaration
public CellIndex(int rowIndex, int columnIndex)
  Parameters
| 
        System.Int32
        rowIndex
         Index of the row.  | 
    
| 
        System.Int32
        columnIndex
         Index of the column.  | 
    
Properties
ColumnIndex
Gets the index of the column.
Declaration
public override int ColumnIndex { get; }
  Property Value
| 
        System.Int32
         The index of the column.  | 
    
Overrides
RowIndex
Gets the index of the row.
Declaration
public override int RowIndex { get; }
  Property Value
| 
        System.Int32
         The index of the row.  | 
    
Overrides
Methods
Offset(Int32, Int32)
Creates a new cell index based on the current instance and a specified offset.
Declaration
public CellIndex Offset(int rowOffset, int columnOffset)
  Parameters
| 
        System.Int32
        rowOffset
         The row offset.  | 
    
| 
        System.Int32
        columnOffset
         The column offset.  | 
    
Returns
| 
        CellIndex
         The new cell index.  | 
    
ToNumber()
Creates a numeric representation of the current index.
Declaration
public long ToNumber()
  Returns
| 
        System.Int64
         A numeric representation of the current index.  | 
    
ToString()
Returns a System.String that represents the current System.Object.
Declaration
public override string ToString()
  Returns
| 
        System.String
         A System.String that represents the current System.Object.  |