VegaRise.NET
Back to DOM

TableRowStyleClass

Definition

Namespace
DOM.Styles
Assembly
DOM.dll

Represents styling and layout settings that apply to a single table row.

Remarks

extends with row-specific properties such as explicit height, splitting/pagination hints, repeating header behaviour and grid (colspan-like) information. Properties are nullable so consumers can distinguish between "unspecified" and an explicit value and apply inheritance or document defaults. TableRowStyle TableBaseStyle Row styles are assigned via . TableRow.Style

Examples

csharp
1// 1. Fixed-height header row that repeats on each page
2var style = new TableRowStyle
3{
4 Height = new DocumentUnit(0.4, Units.inch),
5 RepeatOnEveryPage = true
6};
7
csharp
1// 2. Prevent row splitting across pages
2var style = new TableRowStyle { CantSplit = true };
3
csharp
1// 3. Conditional formatting (banded rows)
2var style = new TableRowStyle
3{
4 FormatStyle = new ConditionalFormatStyle { oddHBand = true }
5};
6
csharp
1// 4. Grid offsets for indent-like effects
2var style = new TableRowStyle
3{
4 GridBefore = 1,
5 GridAfter = 1
6};
7
csharp
1// 5. Extra width before the row for a hanging effect
2var style = new TableRowStyle
3{
4 WidthBeforeTableRow = new DocumentUnit(0.25, Units.inch)
5};
6
csharp
1// 6. Apply to a row
2var row = new TableRow { Style = new TableRowStyle { RepeatOnEveryPage = true } };
3

Properties

CantSplit

Gets or sets a value indicating whether the row is not allowed to be split across pages.

Gets or sets conditional formatting flags that modify row appearance based on table position.

GridAfter

Gets or sets the number of extra grid columns (cells) after this row when using grid-based layout.

GridBefore

Gets or sets the number of extra grid columns (cells) before this row when using grid-based layout.

Gets or sets the explicit height for the row.

RepeatOnEveryPage

Gets or sets a value indicating whether this row should be repeated on every page that the table spans.

WidthAfterTableRowDocumentUnit

Gets or sets the additional width to allocate after the table row (for layout/offset purposes).

WidthBeforeTableRowDocumentUnit

Gets or sets the additional width to allocate before the table row (for layout/offset purposes).

VegaRiseVDocs.NET

Reset Password

Enter your email and we'll send you a link to reset your password.

Remember your password? Sign in