CellIndexBase
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
Initializes a new CellIndexBase for derived cell index types.
protected CellIndexBase()
Methods
Compares this cell index to another and returns a value indicating their relative order (row-major, then column).
public int CompareTo(CellIndexBase other)
The other.
Returns:Implements:
Operators
Implements the not equals operator.
public static bool operator !=(CellIndexBase left, CellIndexBase right)
The left value.
rightCellIndexBaseThe right value.
Returns:The result of the operator.
Implements the less operator.
public static bool operator <(CellIndexBase left, CellIndexBase right)
The left value.
rightCellIndexBaseThe right value.
Returns:The result of the operator.
Implements the less or equal operator.
public static bool operator <=(CellIndexBase left, CellIndexBase right)
The left value.
rightCellIndexBaseThe right value.
Returns:The result of the operator.
Implements the equals operator.
public static bool operator ==(CellIndexBase left, CellIndexBase right)
The left value.
rightCellIndexBaseThe right value.
Returns:The result of the operator.
Implements the greater operator.
public static bool operator >(CellIndexBase left, CellIndexBase right)
The left value.
rightCellIndexBaseThe right value.
Returns:The result of the operator.
Implements the greater or equal operator.
public static bool operator >=(CellIndexBase left, CellIndexBase right)
The left value.
rightCellIndexBaseThe right value.
Returns:The result of the operator.
Properties
Gets the zero-based column index of the cell.
public abstract int ColumnIndex { get; }
The index of the column.