Class
TableRowProperties

Property container for TableRow formatting including height, splitting, repetition, alignment, and cell spacing; supports style inheritance.

Definition

Properties

CanSplit

Gets or sets whether the row content can split across page breaks; local-only property not inherited from styles; defaults to true.

Declaration

cs-api-definition
public IStyleProperty<bool?> CanSplit { get; }

Property Value

IStyleProperty<bool?>

The default value is true.

Height

Gets or sets the row height definition including type (auto, minimum, exact) and value; local-only property not inherited from styles.

Declaration

cs-api-definition
public IStyleProperty<TableRowHeight> Height { get; }

Property Value

IStyleProperty<TableRowHeight>

The height.

HorizontalAlignment

Gets or sets the horizontal alignment of the row within the table; valid values are Left, Center, Right.

Declaration

cs-api-definition
public IStyleProperty<Alignment> HorizontalAlignment { get; }

Property Value

IStyleProperty<Alignment>

RepeatOnEveryPage

Gets or sets whether this row repeats as a header on each page when the table spans multiple pages; local-only property not inherited from styles; defaults to false.

Declaration

cs-api-definition
public IStyleProperty<bool?> RepeatOnEveryPage { get; }

Property Value

IStyleProperty<bool?>

The default value is false.

TableCellSpacing

Gets or sets the spacing between adjacent cells and table edges in device independent pixels (1/96 inch).

Declaration

cs-api-definition
public IStyleProperty<double?> TableCellSpacing { get; }

Property Value

IStyleProperty<double?>

Methods

EnumerateStyleProperties()

Enumerates the style properties.

Declaration

cs-api-definition
protected override IEnumerable<IStyleProperty> EnumerateStyleProperties()

Returns

IEnumerable<IStyleProperty>

The style properties.

Overrides DocumentElementPropertiesBase.EnumerateStyleProperties()

GetStylePropertyOverride(IStylePropertyDefinition)

Gets specific style property or null.

Declaration

cs-api-definition
protected override IStyleProperty GetStylePropertyOverride(IStylePropertyDefinition propertyDefinition)

Parameters

propertyDefinition

IStylePropertyDefinition

The property definition.

Returns

IStyleProperty

Overrides DocumentElementPropertiesBase.GetStylePropertyOverride(IStylePropertyDefinition)