ClassCellLayoutBox
Defines the positioned rectangular bounds of a cell for rendering and hit-testing operations.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Layout
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class CellLayoutBox : LayoutBox
Inheritance: objectLayoutBoxCellLayoutBox
Inherited Members
Constructors
CellLayoutBox(int, int, Rect, CellMergeState)
Initializes a new instance of the CellLayoutBox class.
Declaration
public CellLayoutBox(int rowIndex, int columnIndex, Rect rect, CellMergeState mergeState)
Parameters
rowIndex
Index of the row.
columnIndex
Index of the column.
rect
The rectangle.
mergeState
The merge.
Properties
ColumnIndex
Zero-based column position of this cell in the worksheet grid.
Declaration
public int ColumnIndex { get; }
Property Value
The index of the column.
Index
Combined row and column coordinates identifying this cell's position in the worksheet.
MergeState
Indicates whether this cell is merged and its role within the merged region (top-left, other, or not merged).
Declaration
public CellMergeState MergeState { get; }
Property Value
The merge state of the cell.
Methods
Equals(object)
Compares this cell layout box with another based on cell position (row and column index).
GetHashCode()
Generates a hash code based on the cell's combined row and column index.
ToString()
Converts the cell position to a string representation in the format "(row, column)".