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
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • 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

Represents the properties associated with a table in a document.

Inheritance
System.Object
DocumentElementPropertiesBase
TableProperties
Inherited Members
DocumentElementPropertiesBase.GetStyleProperty(IStylePropertyDefinition)
DocumentElementPropertiesBase.GetStyleProperty(String)
DocumentElementPropertiesBase.CopyPropertiesFrom(DocumentElementPropertiesBase)
DocumentElementPropertiesBase.MergePropertiesWith(DocumentElementPropertiesBase)
DocumentElementPropertiesBase.ToString()
DocumentElementPropertiesBase.ClearProperties()
DocumentElementPropertiesBase.IElementWithStyle.StyleNameChanged()
DocumentElementPropertiesBase.IElementWithStyle.OnStyleRemovedFromDocument()
DocumentElementPropertiesBase.IElementWithStyle.StylePropertyChanging(Object, StylePropertyChangeEventArgs)
DocumentElementPropertiesBase.IElementWithStyle.StylePropertyChanged(Object, StylePropertyChangeEventArgs)
DocumentElementPropertiesBase.OnStyleChanged()
DocumentElementPropertiesBase.OnStyleChanging()
DocumentElementPropertiesBase.StyleProperties
DocumentElementPropertiesBase.StyleName
DocumentElementPropertiesBase.OriginalStyleName
DocumentElementPropertiesBase.Style
DocumentElementPropertiesBase.HasRevisions
DocumentElementPropertiesBase.RevisionInfo
DocumentElementPropertiesBase.OriginalProperties
DocumentElementPropertiesBase.IElementWithStyle.StyleName
Namespace: Telerik.Windows.Documents.Model.Styles
Assembly: Telerik.Windows.Controls.RichTextBox.dll

Syntax

public class TableProperties : DocumentElementPropertiesBase, IElementWithStyle

Constructors

TableProperties()

Declaration
public TableProperties()

TableProperties(DocumentElement)

Declaration
public TableProperties(DocumentElement owner)
Parameters
DocumentElement owner

TableProperties(StyleDefinition)

Declaration
public TableProperties(StyleDefinition owner)
Parameters
StyleDefinition owner

Properties

Background

Gets or sets the background properties of the table.

Declaration
[XamlSerializable]
public Color Background { get; set; }
Property Value
System.Windows.Media.Color

The background properties that define the appearance of the table's background.

Borders

Gets or sets the borders of the table properties.

Declaration
[XamlSerializable]
public TableBorders Borders { get; set; }
Property Value
TableBorders

CellPadding

Gets or sets the padding for the cells in the table.

Declaration
[XamlSerializable]
public Padding CellPadding { get; set; }
Property Value
Padding

CellSpacing

Gets or sets the amount of space between cells in a table.

Declaration
[XamlSerializable]
public double CellSpacing { get; set; }
Property Value
System.Double

A System.Double representing the spacing between cells. The default value is 0.

ColumnBandSize

Gets or sets the number of column groups in a table.

Declaration
[XamlSerializable]
public int ColumnBandSize { get; set; }
Property Value
System.Int32

The size of the column band.

FlowDirection

Gets or sets the flow direction of the table properties, which determines how text and content flow within the table.

Declaration
[XamlSerializable]
public FlowDirection FlowDirection { get; set; }
Property Value
System.Windows.FlowDirection

HorizontalAlignment

Gets or sets the horizontal alignment of the table.

Declaration
[XamlSerializable]
public RadHorizontalAlignment HorizontalAlignment { get; set; }
Property Value
RadHorizontalAlignment

LayoutMode

Gets or sets the layout mode of the table properties.

Declaration
[XamlSerializable]
public TableLayoutMode LayoutMode { get; set; }
Property Value
TableLayoutMode

PreferredWidth

Gets or sets the preferred width of the table.

Declaration
[XamlSerializable]
public TableWidthUnit PreferredWidth { get; set; }
Property Value
TableWidthUnit

RowBandSize

Gets or sets the size of the row banding for the table properties.

Declaration
[XamlSerializable]
public int RowBandSize { get; set; }
Property Value
System.Int32

The number of rows that are included in each band. A value of 1 indicates that each row is a separate band, while a greater value indicates that multiple rows share the same banding.

TableIndent

Gets or sets the indentation for the table in its containing element.

Declaration
[XamlSerializable]
public double TableIndent { get; set; }
Property Value
System.Double

A double value representing the indentation of the table. The default value is 0.0.

TableLook

Gets or sets the look and feel of the table, specifying its visual appearance and style properties.

Declaration
[XamlCompositePropertySerializable]
public TableLook TableLook { get; set; }
Property Value
TableLook

ThemeBackground

Gets or sets the theme background properties of the table.

Declaration
[XamlSerializable]
public ThemeColorsEnum ThemeBackground { get; set; }
Property Value
ThemeColorsEnum

The theme background properties applied to the table.

ThemeFillShade

Gets or sets the theme fill shade for the table properties.

Declaration
[XamlSerializable]
public string ThemeFillShade { get; set; }
Property Value
System.String

A value representing the theme fill shade applied to the table. This property accepts a shade value that determines the appearance of the table's background in a themed context.

ThemeFillTint

Gets or sets the tint applied to the theme fill of the table properties.

Declaration
[XamlSerializable]
public string ThemeFillTint { get; set; }
Property Value
System.String

A double value representing the tint level applied to the theme fill, where 0.0 represents no tint and 1.0 represents full tint.

Methods

CreateInstance()

Declaration
protected override DocumentElementPropertiesBase CreateInstance()
Returns
DocumentElementPropertiesBase

Overrides
DocumentElementPropertiesBase.CreateInstance()

InitProperties()

Declaration
protected override void InitProperties()
Overrides
DocumentElementPropertiesBase.InitProperties()

OnStylePropertyChangedOverride(StylePropertyChangeEventArgs)

Declaration
protected override void OnStylePropertyChangedOverride(StylePropertyChangeEventArgs args)
Parameters
StylePropertyChangeEventArgs args

Overrides
DocumentElementPropertiesBase.OnStylePropertyChangedOverride(StylePropertyChangeEventArgs)

ValidateStyleType(StyleDefinition)

Declaration
protected override void ValidateStyleType(StyleDefinition value)
Parameters
StyleDefinition value

Overrides
DocumentElementPropertiesBase.ValidateStyleType(StyleDefinition)

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • 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.