skip navigation
  • Product Bundles

    DevCraft

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

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class TableProperties

Defines a set of properties which can be applied to a Table element.

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

Gets style property used to get or set the alignment of the table.

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

The default value is Left.

BackgroundColor

Gets style property used to get or set the color of the background.

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

The color of the background.

Implements
IPropertiesWithShading.BackgroundColor

Borders

Gets style property used to get or set the top border.

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

The top border.

ColumnBanding

Gets style property used to get or set the number of banded columns.

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

The default value is 0.

FlowDirection

Gets local style property used to get or set the flow direction of cells inside the table. This property cannot be derived from a style.

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

The default value is LeftToRight.

Indent

Gets style property used to get or set a value which shall be added before the leading edge of the table. The value is 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

Gets local style property used to get or set a value indicating which algorithm shall be used to lay out the content of the table. This property cannot be derived from a style.

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

The default value is AutoFit.

Looks

Gets local style property used to get or set the value indicating which components of the conditional style should be applied if such exists. This property cannot be derived from a style.

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

The default value is BandedRows | BandedColumns.

Overlap

Gets local style property used to get or set a value indicating whether this floating table shall allow other floating tables to overlap its extents. This property cannot be derived from a style.

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

The default value is true.

PreferredWidth

Gets local style property used to get or set the preferred width. This property cannot be derived from a style.

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

The preferred width.

RowBanding

Gets style property used to get or set the number of banded rows.

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

The default value is 0.

ShadingPattern

Gets style property used to get or set a value indicating the pattern which shall be used to lay the pattern color over the background color for this shading.

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

The default value is Clear

Implements
IPropertiesWithShading.ShadingPattern

ShadingPatternColor

Gets style property used to get or set a value indicating the color for any foreground pattern used in this shading.

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

The color of the pattern.

Implements
IPropertiesWithShading.ShadingPatternColor

TableCellPadding

Gets style property used to get or set default padding of the cells inside the table.

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

The table cell padding.

TableCellSpacing

Gets style property used to get or set a value indicating the spacing between adjacent cells and the edges of the table. The value is 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

Was this article helpful?

Tell us how we can improve this article

Skip
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.