DOM.Elements.TableElements.TableRow
Represents a single row within a table. Acontains multipleelements and provides access, enumeration, addition, removal, and styling capabilities for its cells.
9 members
Properties
Gets a collection of allelements contained in this row.
Gets or sets the table cell at the specified column index.
Gets or sets the style applied to this row, including row-level formatting such as height, borders, shading, and other visual properties.
Methods
AddCell
ITableCell AddCell(ITableCell cell)Adds a new cell to this row.
Parameters
- cell
- Theto add.
Returns
ITableCell
The addedinstance.
GetEnumerator
ITableCell GetEnumeratorReturns an enumerator that iterates through all cells in this row.
Returns
ITableCell
An enumerator of.
MergeCells
ITable MergeCells(int startColumn, int endColumn)Merges cells within this row from the specified start to end column indices.
Parameters
- startColumn
- The starting column index.
- endColumn
- The ending column index.
Returns
ITable
The parentcontaining this row.
Exceptions
- System.NotImplementedException: Always thrown until implemented.
RemoveCell
2 overloadsITableRow RemoveCell(ITableCell cell)Removes the specified cell from this row.
Parameters
- cell
- The cell to remove.
Returns
ITableRow
The currentinstance.
ITableRow RemoveCell(int index)Removes the cell at the specified column index from this row.
Parameters
- index
- The zero-based column index.
Returns
ITableRow
The currentinstance.
System#Collections#IEnumerable#GetEnumerator
System#Collections#IEnumerable#GetEnumeratorReturns an enumerator that iterates through all cells in this row.