New to Telerik Document ProcessingStart a free 30-day trial

Manages formatting properties for Table elements including borders, shading, alignment, width, cell spacing, and conditional style application with style inheritance.

Definition

Methods

Enumerates the style properties.

C#
protected override IEnumerable<IStyleProperty> EnumerateStyleProperties()
Returns:

IEnumerable<IStyleProperty>

The style properties.

Overrides: DocumentElementPropertiesBase.EnumerateStyleProperties()

Gets specific style property or null.

C#
protected override IStyleProperty GetStylePropertyOverride(IStylePropertyDefinition propertyDefinition)
Parameters:propertyDefinitionIStylePropertyDefinition

The property definition.

Returns:

IStyleProperty

Overrides: DocumentElementPropertiesBase.GetStylePropertyOverride(IStylePropertyDefinition)

Properties

Horizontal alignment of the table within its container, affecting table position on the page.

C#
public IStyleProperty<Alignment?> Alignment { get; }
Property Value:

The default value is Left.

Background color applied beneath any shading pattern, supporting theme-aware colors.

C#
public IStyleProperty<ThemableColor> BackgroundColor { get; }
Property Value:

The color of the background.

Implements: IPropertiesWithShading.BackgroundColor

Border styles for all table edges including outer borders and inside dividers.

C#
public IStyleProperty<TableBorders> Borders { get; }
Property Value:

The top border.

Number of columns in each alternating band when applying conditional column banding styles.

C#
public IStyleProperty<int?> ColumnBanding { get; }
Property Value:

The default value is 0.

Flow direction of cell content within the table; local property that cannot be inherited from styles.

C#
public IStyleProperty<FlowDirection?> FlowDirection { get; }
Property Value:

The default value is LeftToRight.

Indentation added before the leading edge of the table, measured in device-independent pixels (1/96 inch).

C#
public IStyleProperty<double?> Indent { get; }
Property Value:

The default value is 0.

Layout algorithm used to size table columns (AutoFit or FixedWidth); local property that cannot be inherited from styles.

C#
public IStyleProperty<TableLayoutType?> LayoutType { get; }
Property Value:

The default value is AutoFit.

Specifies which conditional style components to apply (first row, last row, banded rows, etc.); local property that cannot be inherited from styles.

C#
public IStyleProperty<TableLooks?> Looks { get; }
Property Value:

The default value is BandedRows | BandedColumns.

Determines whether this floating table allows overlapping with other floating tables; local property that cannot be inherited from styles.

C#
public IStyleProperty<bool?> Overlap { get; }
Property Value:

The default value is true.

Preferred width of the table; local property that cannot be inherited from styles.

C#
public IStyleProperty<TableWidthUnit> PreferredWidth { get; }
Property Value:

The preferred width.

Number of rows in each alternating band when applying conditional row banding styles.

C#
public IStyleProperty<int?> RowBanding { get; }
Property Value:

The default value is 0.

Pattern used to lay the foreground color over the background color, defining the visual shading style.

C#
public IStyleProperty<ShadingPattern?> ShadingPattern { get; }
Property Value:

The default value is Clear

Implements: IPropertiesWithShading.ShadingPattern

Foreground pattern color layered over the background color when a shading pattern is applied.

C#
public IStyleProperty<ThemableColor> ShadingPatternColor { get; }
Property Value:

The color of the pattern.

Implements: IPropertiesWithShading.ShadingPatternColor

Default padding applied to all cells within the table unless overridden at the cell level.

C#
public IStyleProperty<Padding> TableCellPadding { get; }
Property Value:

The table cell padding.

Spacing between adjacent cells and table edges, measured in device-independent pixels (1/96 inch).

C#
public IStyleProperty<double?> TableCellSpacing { get; }
Property Value:

The default value is 0.