skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class TableProperties

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

Inheritance
System.Object
DocumentElementPropertiesBase
TableProperties
Inherited Members
DocumentElementPropertiesBase.StyleIdPropertyDefinition
DocumentElementPropertiesBase.GetStyleProperty(IStylePropertyDefinition)
DocumentElementPropertiesBase.GetStyleProperty(String)
DocumentElementPropertiesBase.CopyPropertiesFrom(DocumentElementPropertiesBase)
DocumentElementPropertiesBase.ClearLocalValues()
DocumentElementPropertiesBase.HasLocalValues()
DocumentElementPropertiesBase.StyleProperties
DocumentElementPropertiesBase.StyleId
DocumentElementPropertiesBase.StyleIdProperty
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Flow.Model.Styles
Assembly: Telerik.Windows.Documents.Flow.dll

Syntax

public sealed class TableProperties : DocumentElementPropertiesBase, IElementWithStyle, IPropertiesWithShading, IPropertiesWithPadding

Properties

Alignment

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

Declaration
public IStyleProperty<Alignment? > Alignment { get; }
Property Value
IStyleProperty<System.Nullable<Alignment>>

The default value is Left.

BackgroundColor

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

Declaration
public IStyleProperty<ThemableColor> BackgroundColor { get; }
Property Value
IStyleProperty<ThemableColor>

The color of the background.

Implements
IPropertiesWithShading.BackgroundColor

Borders

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

Declaration
public IStyleProperty<TableBorders> Borders { get; }
Property Value
IStyleProperty<TableBorders>

The top border.

ColumnBanding

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

Declaration
public IStyleProperty<int? > ColumnBanding { get; }
Property Value
IStyleProperty<System.Nullable<System.Int32>>

The default value is 0.

FlowDirection

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

Declaration
public IStyleProperty<FlowDirection? > FlowDirection { get; }
Property Value
IStyleProperty<System.Nullable<FlowDirection>>

The default value is LeftToRight.

Indent

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

Declaration
public IStyleProperty<double? > Indent { get; }
Property Value
IStyleProperty<System.Nullable<System.Double>>

The default value is 0.

LayoutType

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

Declaration
public IStyleProperty<TableLayoutType? > LayoutType { get; }
Property Value
IStyleProperty<System.Nullable<TableLayoutType>>

The default value is AutoFit.

Looks

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

Declaration
public IStyleProperty<TableLooks? > Looks { get; }
Property Value
IStyleProperty<System.Nullable<TableLooks>>

The default value is BandedRows | BandedColumns.

Overlap

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

Declaration
public IStyleProperty<bool? > Overlap { get; }
Property Value
IStyleProperty<System.Nullable<System.Boolean>>

The default value is true.

PreferredWidth

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

Declaration
public IStyleProperty<TableWidthUnit> PreferredWidth { get; }
Property Value
IStyleProperty<TableWidthUnit>

The preferred width.

RowBanding

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

Declaration
public IStyleProperty<int? > RowBanding { get; }
Property Value
IStyleProperty<System.Nullable<System.Int32>>

The default value is 0.

ShadingPattern

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

Declaration
public IStyleProperty<ShadingPattern? > ShadingPattern { get; }
Property Value
IStyleProperty<System.Nullable<ShadingPattern>>

The default value is Clear

Implements
IPropertiesWithShading.ShadingPattern

ShadingPatternColor

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

Declaration
public IStyleProperty<ThemableColor> ShadingPatternColor { get; }
Property Value
IStyleProperty<ThemableColor>

The color of the pattern.

Implements
IPropertiesWithShading.ShadingPatternColor

TableCellPadding

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

Declaration
public IStyleProperty<Padding> TableCellPadding { get; }
Property Value
IStyleProperty<Padding>

The table cell padding.

TableCellSpacing

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

Declaration
public IStyleProperty<double? > TableCellSpacing { get; }
Property Value
IStyleProperty<System.Nullable<System.Double>>

The default value is 0.

Methods

EnumerateStyleProperties()

Enumerates the style properties.

Declaration
protected override IEnumerable<IStyleProperty> EnumerateStyleProperties()
Returns
System.Collections.Generic.IEnumerable<IStyleProperty>

The style properties.

Overrides
DocumentElementPropertiesBase.EnumerateStyleProperties()

GetStylePropertyOverride(IStylePropertyDefinition)

Gets specific style property or null.

Declaration
protected override IStyleProperty GetStylePropertyOverride(IStylePropertyDefinition propertyDefinition)
Parameters
IStylePropertyDefinition propertyDefinition

The property definition.

Returns
IStyleProperty

Overrides
DocumentElementPropertiesBase.GetStylePropertyOverride(IStylePropertyDefinition)

Explicit Interface Implementations

IPropertiesWithShading.Document

Gets the document.

Declaration
RadFlowDocument IPropertiesWithShading.Document { get; }
Returns
RadFlowDocument

The document.

Implements
IPropertiesWithShading.Document
Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.