TableRow
Row within a table containing cells, supporting height constraints, page break control, header row repetition, and cell spacing settings.
Definition
Namespace:Telerik.Windows.Documents.Flow.Model
Assembly:Telerik.Windows.Documents.Flow.dll
Syntax:
public sealed class TableRow : DocumentElementBase, IElementWithProperties
Inheritance: objectDocumentElementBaseTableRow
Implements:
Inherited Members
Constructors
Initializes a new TableRow with default formatting and an empty cell collection in the specified document.
public TableRow(RadFlowDocument document)
The document in which the element will be added.
Fields
Style property definition for controlling whether row content can be split across page breaks.
public static readonly StylePropertyDefinition<bool?> CanSplitPropertyDefinition
Style property definition for row height, supporting auto, at-least, and exact height modes in device independent pixels (1/96 inch).
public static readonly StylePropertyDefinition<TableRowHeight> HeightPropertyDefinition
Style property definition for horizontal alignment of cells within the row.
public static readonly StylePropertyDefinition<Alignment> HorizontalAlignmentPropertyDefinition
Style property definition for controlling whether the row repeats as a header at the top of each page.
public static readonly StylePropertyDefinition<bool?> RepeatOnEveryPagePropertyDefinition
Style property definition for cell spacing in the row, overriding the table's default cell spacing when set.
public static readonly StylePropertyDefinition<double?> TableCellSpacingPropertyDefinition
Methods
Creates a deep copy of this row including all cells and formatting properties, associated to the same document.
Creates a deep copy of this row including all cells and formatting properties, associated to the specified document for cross-document copying.
public TableRow Clone(RadFlowDocument document)
The document to which the cloned element should be associated.
Returns:The cloned element.
Called when child element is the added.
protected override void OnChildAdded(DocumentElementBase child)
The child element.
Overrides:
Called when child element is removed.
protected override void OnChildRemoved(DocumentElementBase child)
The child element.
Overrides:
Properties
Controls whether row content can be split across page breaks; when false, the entire row remains on one page.
public bool CanSplit { get; set; }
The default value is true.
Collection of cells contained in this row, providing add, insert, and remove operations for row structure.
public TableCellCollection Cells { get; }
The cells.
Zero-based row index in the table grid, automatically calculated based on row positions and cell row spans.
public int GridRowIndex { get; }
The index of the row in the table grid.
Row height specification, supporting auto, at-least, and exact height modes with values in device independent pixels (1/96 inch).
public TableRowHeight Height { get; set; }
The height.
Horizontal alignment of cells in this row, controlling left, center, or right positioning within the table width.
public Alignment HorizontalAlignment { get; set; }
Row formatting properties, providing access to height, cell spacing, page break behavior, header repetition, and horizontal alignment settings.
public TableRowProperties Properties { get; }
The properties.
Controls whether this row is repeated as a header at the top of each page when the table spans multiple pages.
public bool RepeatOnEveryPage { get; set; }
The default value is false.
Parent table containing this row, providing access to table-level formatting and the grid structure.
public Table Table { get; }
The table.
Space between adjacent cells in this row in device independent pixels (1/96 inch), overriding the table's default cell spacing when set.
public double TableCellSpacing { get; set; }
The default value is 0.