CellIndex
Identifies a data or header cell by row and column coordinates; -1 marks a header axis, and (-1, -1) identifies the description corner.
Definition
Namespace:Telerik.WinControls.UI.HeatMap
Assembly:Telerik.WinControls.UI.dll
Syntax:
public struct CellIndex : IEquatable<CellIndex>
Implements:
Constructors
Creates a cell index from row and column coordinates.
Properties
Gets the column coordinate; -1 identifies a row header.
public readonly int ColumnIndex { get; }
Gets the empty-cell sentinel whose row and column coordinates are both MinValue.
public static CellIndex Empty { get; }
Gets whether both coordinates identify a data cell rather than a header.
public bool IsDataCell { get; }
Gets whether either coordinate identifies a header.
public bool IsHeaderCell { get; }
Methods
Compares the row and column coordinates with a boxed CellIndex.
public override bool Equals(object obj)
The boxed cell index to compare.
Returns:true when both coordinates match.
Exceptions: InvalidCastExceptionobj is not a boxed CellIndex.
obj is null.
Overrides:
Returns the hash code for this cell index.
public override int GetHashCode()
A hash code for use in hash-based collections.
Overrides:
Returns the coordinates in the form RowIndex{row}:ColumnIndex{column}.
public override string ToString()
A string representing this index's row and column coordinates.
Overrides: