Class CellIndexBase
Represents a base for the cell index and position classes.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public abstract class CellIndexBase : IComparable<CellIndexBase>
Constructors
CellIndexBase()
Declaration
protected CellIndexBase()
Properties
ColumnIndex
Gets the index of the column.
Declaration
public abstract int ColumnIndex { get; }
Property Value
System.Int32
The index of the column. |
RowIndex
Gets the index of the row.
Declaration
public abstract int RowIndex { get; }
Property Value
System.Int32
The index of the row. |
Methods
CompareTo(CellIndexBase)
Compares to.
Declaration
public int CompareTo(CellIndexBase other)
Parameters
CellIndexBase
other
The other. |
Returns
System.Int32
|
Implements
Equals(Object)
Determines whether the specified System.Object is equal to the current System.Object.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The System.Object to compare with the current System.Object. |
Returns
System.Boolean
True if the specified System.Object is equal to the current System.Object; otherwise, false. |
Overrides
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
System.Int32
A hash code for the current System.Object. |
Overrides
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. |
Overrides
Operators
Equality(CellIndexBase, CellIndexBase)
Implements the equals operator.
Declaration
public static bool operator ==(CellIndexBase left, CellIndexBase right)
Parameters
CellIndexBase
left
The left value. |
CellIndexBase
right
The right value. |
Returns
System.Boolean
The result of the operator. |
GreaterThan(CellIndexBase, CellIndexBase)
Implements the greater operator.
Declaration
public static bool operator>(CellIndexBase left, CellIndexBase right)
Parameters
CellIndexBase
left
The left value. |
CellIndexBase
right
The right value. |
Returns
System.Boolean
The result of the operator. |
GreaterThanOrEqual(CellIndexBase, CellIndexBase)
Implements the greater or equal operator.
Declaration
public static bool operator >=(CellIndexBase left, CellIndexBase right)
Parameters
CellIndexBase
left
The left value. |
CellIndexBase
right
The right value. |
Returns
System.Boolean
The result of the operator. |
Inequality(CellIndexBase, CellIndexBase)
Implements the not equals operator.
Declaration
public static bool operator !=(CellIndexBase left, CellIndexBase right)
Parameters
CellIndexBase
left
The left value. |
CellIndexBase
right
The right value. |
Returns
System.Boolean
The result of the operator. |
LessThan(CellIndexBase, CellIndexBase)
Implements the less operator.
Declaration
public static bool operator <(CellIndexBase left, CellIndexBase right)
Parameters
CellIndexBase
left
The left value. |
CellIndexBase
right
The right value. |
Returns
System.Boolean
The result of the operator. |
LessThanOrEqual(CellIndexBase, CellIndexBase)
Implements the less or equal operator.
Declaration
public static bool operator <=(CellIndexBase left, CellIndexBase right)
Parameters
CellIndexBase
left
The left value. |
CellIndexBase
right
The right value. |
Returns
System.Boolean
The result of the operator. |