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 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 Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
  • 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 Table

Represent a table.

Inheritance
System.Object
Table
Inherited Members
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.Fixed.Model.Editing.Tables
Assembly: Telerik.Windows.Documents.Fixed.dll

Syntax

public class Table : IBlockElement, IDrawArrangedElement

Constructors

Table()

Initializes a new instance of the Table class.

Declaration
public Table()

Properties

Background

Gets or sets the background of the table.

Declaration
public ColorBase Background { get; set; }
Property Value
ColorBase

The background of the table.

BorderCollapse

Gets or sets borders collapse state.

Declaration
public BorderCollapse BorderCollapse { get; set; }
Property Value
BorderCollapse

Value indicating the border collapse state.

Borders

Gets the borders.

Declaration
public TableBorders Borders { get; set; }
Property Value
TableBorders

The borders.

BorderSpacing

Gets or sets the border spacing.

Declaration
public double BorderSpacing { get; set; }
Property Value
System.Double

The border spacing.

DefaultCellProperties

Gets the default cell properties.

Declaration
public CellProperties DefaultCellProperties { get; }
Property Value
CellProperties

The default cell properties.

DesiredSize

Gets the desired size.

Declaration
public Size DesiredSize { get; }
Property Value
System.Windows.Size

The desired size.

Implements
IBlockElement.DesiredSize

HasPendingContent

Gets if there is any pending content after the last measure.

Declaration
public bool HasPendingContent { get; }
Property Value
System.Boolean

Boolean value indicating whether there is any pending content after the last measure.

Implements
IBlockElement.HasPendingContent

HorizontalAlignment

Gets or sets the alignment of the entire table.

Declaration
public TableHorizontalAlignment HorizontalAlignment { get; set; }
Property Value
TableHorizontalAlignment

LayoutType

Gets or sets the layout type of the table.

Declaration
public TableLayoutType LayoutType { get; set; }
Property Value
TableLayoutType

The layout type.

Margin

Gets or sets the margin.

Declaration
public Thickness Margin { get; set; }
Property Value
System.Windows.Thickness

The margin.

Rows

Gets the rows.

Declaration
public TableRowCollection Rows { get; }
Property Value
TableRowCollection

The rows.

Methods

Draw(FixedContentEditor, Rect)

Draws the block element with the specified editor.

Declaration
public void Draw(FixedContentEditor editor, Rect boundingRect)
Parameters
FixedContentEditor editor

The editor.

System.Windows.Rect boundingRect

The bounding rect.

Implements
IBlockElement.Draw(FixedContentEditor, Rect)

Measure()

Measures this instance in infinity.

Declaration
public Size Measure()
Returns
System.Windows.Size

The measured size.

Measure(Size)

Measures the block element with specified available size.

Declaration
[Obsolete("The method is obsolete. Please use Measure(Size availableSize, CancellationToken cancellationToken) instead.")]
public Size Measure(Size availableSize)
Parameters
System.Windows.Size availableSize

The available size.

Returns
System.Windows.Size

The result size.

Implements
IBlockElement.Measure(Size)

Measure(Size, CancellationToken)

Measures the block element with specified available size.

Declaration
public Size Measure(Size availableSize, CancellationToken cancellationToken)
Parameters
System.Windows.Size availableSize

The available size.

System.Threading.CancellationToken cancellationToken

The cancellation token used to cancel the operation.

Returns
System.Windows.Size

The result size.

Implements
IBlockElement.Measure(Size, CancellationToken)

Split()

Splits this instance.

Declaration
public Table Split()
Returns
Table

The remaining block element.

Explicit Interface Implementations

IBlockElement.Split()

Splits this instance.

Declaration
IBlockElement IBlockElement.Split()
Returns
IBlockElement

The remaining block element.

Implements
IBlockElement.Split()
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.