Skip to content

API reference / Common / Engine types / TableControlRow

Interface: TableControlRow ​

A row-level content control (docx w:sdt, CT_SdtRow) — a container wrapping consecutive rows, with the control's own metadata.

The row-level repeating section is what this mostly is in the wild: a w15:repeatingSection control around the rows, each repetition an inner control carrying w15:repeatingSectionItem.

Its extent is its rows and nothing else. The text levels (TextControlBlock and TextControlSpan) carry theirs as a mark over the characters they wrap; there are no characters here — a table is one U+FFFC in its parent story, and rows are structure, not content — so this level has nothing to mark and needs nothing.

It carries no id of its own. A TableRowId is a grid axis coordinate — half of how a cell is addressed — and a control is not an axis; the identity it does have is the control's, on ContentControl.

Properties ​

PropertyDescription
control
ContentControl
w:sdtPr + w:sdtEndPr — what the control is. The same type all four levels carry, the schema's being level-independent.
rows?
TableRow[]
w:sdtContent (CT_SdtContentRow) — the rows it wraps, which stay in the table's own grid: each keeps its TableRowId, so (row, column) addresses a cell through a control unchanged.