ClassCellIndexBase
Abstract base for cell index and position classes, providing row and column coordinates with comparison and equality operations.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public abstract class CellIndexBase : IComparable<CellIndexBase>
Inheritance: objectCellIndexBase
Derived Classes:
Implements:
Constructors
CellIndexBase()
Initializes a new CellIndexBase for derived cell index types.
Declaration
protected CellIndexBase()
Properties
ColumnIndex
Gets the zero-based column index of the cell.
Declaration
public abstract int ColumnIndex { get; }
Property Value
The index of the column.
Methods
CompareTo(CellIndexBase)
Compares this cell index to another and returns a value indicating their relative order (row-major, then column).
Declaration
public int CompareTo(CellIndexBase other)
Parameters
other
The other.
Returns
Implements
GetHashCode()
Serves as a hash function for a particular type.
Operators
operator !=(CellIndexBase, CellIndexBase)
Implements the not equals operator.
Declaration
public static bool operator !=(CellIndexBase left, CellIndexBase right)
Parameters
left
The left value.
right
The right value.
Returns
The result of the operator.
operator <(CellIndexBase, CellIndexBase)
Implements the less operator.
Declaration
public static bool operator <(CellIndexBase left, CellIndexBase right)
Parameters
left
The left value.
right
The right value.
Returns
The result of the operator.
operator <=(CellIndexBase, CellIndexBase)
Implements the less or equal operator.
Declaration
public static bool operator <=(CellIndexBase left, CellIndexBase right)
Parameters
left
The left value.
right
The right value.
Returns
The result of the operator.
operator ==(CellIndexBase, CellIndexBase)
Implements the equals operator.
Declaration
public static bool operator ==(CellIndexBase left, CellIndexBase right)
Parameters
left
The left value.
right
The right value.
Returns
The result of the operator.
operator >(CellIndexBase, CellIndexBase)
Implements the greater operator.
Declaration
public static bool operator >(CellIndexBase left, CellIndexBase right)
Parameters
left
The left value.
right
The right value.
Returns
The result of the operator.
operator >=(CellIndexBase, CellIndexBase)
Implements the greater or equal operator.
Declaration
public static bool operator >=(CellIndexBase left, CellIndexBase right)
Parameters
left
The left value.
right
The right value.
Returns
The result of the operator.