Class RichTableGrid
- Namespace
- RichEdit.Core
- Assembly
- RichEdit.Core.dll
An immutable table grid that resolves merged cells and normalizes cell-selection rectangles.
public sealed class RichTableGrid
- Inheritance
-
RichTableGrid
- Inherited Members
Properties
Columns
Gets the logical column count.
public int Columns { get; }
Property Value
this[int, int]
Gets the cell that covers a zero-based grid position.
public RichNodeId this[int row, int column] { get; }
Parameters
Property Value
Rows
Gets the logical row count.
public int Rows { get; }
Property Value
Table
Gets the table identity.
public RichNodeId Table { get; }
Property Value
Methods
Expand(RichCellSelection)
Expands a rectangle until every intersected merged cell is wholly contained.
public RichCellSelection Expand(RichCellSelection selection)
Parameters
selectionRichCellSelection
Returns
GetExtent(RichNodeId)
Gets the complete extent of one merged or unmerged cell.
public RichCellSelection GetExtent(RichNodeId cell)
Parameters
cellRichNodeId