CellLayoutBox
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
Initializes a new instance of the CellLayoutBox class.
public CellLayoutBox(int rowIndex, int columnIndex, Rect rect, CellMergeState mergeState)
Index of the row.
columnIndexintIndex of the column.
rectRectThe rectangle.
mergeStateCellMergeStateThe merge.
Properties
Zero-based column position of this cell in the worksheet grid.
public int ColumnIndex { get; }
The index of the column.
Combined row and column coordinates identifying this cell's position in the worksheet.
public CellIndex Index { get; }
The index.
Indicates whether this cell is merged and its role within the merged region (top-left, other, or not merged).
public CellMergeState MergeState { get; }
The merge state of the cell.
Methods
Compares this cell layout box with another based on cell position (row and column index).