Table of Contents

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

int

this[int, int]

Gets the cell that covers a zero-based grid position.

public RichNodeId this[int row, int column] { get; }

Parameters

row int
column int

Property Value

RichNodeId

Rows

Gets the logical row count.

public int Rows { get; }

Property Value

int

Table

Gets the table identity.

public RichNodeId Table { get; }

Property Value

RichNodeId

Methods

Expand(RichCellSelection)

Expands a rectangle until every intersected merged cell is wholly contained.

public RichCellSelection Expand(RichCellSelection selection)

Parameters

selection RichCellSelection

Returns

RichCellSelection

GetExtent(RichNodeId)

Gets the complete extent of one merged or unmerged cell.

public RichCellSelection GetExtent(RichNodeId cell)

Parameters

cell RichNodeId

Returns

RichCellSelection