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 TableBorders

Defines an immutable set of borders for tables including all outer edges and inside dividers between rows and columns.

Inheritance
System.Object
TableBorders
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Flow.Model.Styles
Assembly: Telerik.Windows.Documents.Flow.dll

Syntax

public class TableBorders

Constructors

TableBorders()

Initializes a new instance with all borders set to the default border style.

Declaration
public TableBorders()

TableBorders(Border)

Initializes a new instance with all borders set to the specified style.

Declaration
public TableBorders(Border all)
Parameters
Border all

All.

TableBorders(Border, Border, Border, Border)

Initializes a new instance with the four outer edge borders set individually.

Declaration
public TableBorders(Border leftBorder, Border topBorder, Border rightBorder, Border bottomBorder)
Parameters
Border leftBorder

The left border.

Border topBorder

The top border.

Border rightBorder

The right border.

Border bottomBorder

The bottom border.

TableBorders(Border, Border, Border, Border, Border, Border)

Initializes a new instance with outer edges and inside divider borders set individually.

Declaration
public TableBorders(Border leftBorder, Border topBorder, Border rightBorder, Border bottomBorder, Border insideHorizontalBorder, Border insideVerticalBorder)
Parameters
Border leftBorder

The left border.

Border topBorder

The top border.

Border rightBorder

The right border.

Border bottomBorder

The bottom border.

Border insideHorizontalBorder

The inside horizontal border.

Border insideVerticalBorder

The inside vertical border.

TableBorders(Border, Border, Border, Border, Border, Border, Border, Border)

Initializes a new instance with all borders including outer edges, inside dividers, and bidirectional text borders set individually.

Declaration
public TableBorders(Border leftBorder, Border topBorder, Border rightBorder, Border bottomBorder, Border insideHorizontalBorder, Border insideVerticalBorder, Border startBorder, Border endBorder)
Parameters
Border leftBorder

The left border.

Border topBorder

The top border.

Border rightBorder

The right border.

Border bottomBorder

The bottom border.

Border insideHorizontalBorder

The inside horizontal border.

Border insideVerticalBorder

The inside vertical border.

Border startBorder

The start border.

Border endBorder

The end border.

TableBorders(TableBorders, Border, Border, Border, Border, Border, Border, Border, Border)

Initializes a new instance by copying source borders and replacing only the specified borders with new values.

Declaration
public TableBorders(TableBorders source, Border leftBorder = null, Border topBorder = null, Border rightBorder = null, Border bottomBorder = null, Border insideHorizontalBorder = null, Border insideVerticalBorder = null, Border startBorder = null, Border endBorder = null)
Parameters
TableBorders source

The table borders source.

Border leftBorder

The left border.

Border topBorder

The top border.

Border rightBorder

The right border.

Border bottomBorder

The bottom border.

Border insideHorizontalBorder

The inside horizontal border.

Border insideVerticalBorder

The inside vertical border.

Border startBorder

The start border.

Border endBorder

The end border.

Properties

Bottom

Bottom border of the table.

Declaration
public Border Bottom { get; }
Property Value
Border

The bottom border.

End

End edge border for bidirectional text support.

Declaration
public Border End { get; }
Property Value
Border

The end border.

InsideHorizontal

Inner horizontal border dividing table rows.

Declaration
public Border InsideHorizontal { get; }
Property Value
Border

The inner horizontal border.

InsideVertical

Inner vertical border dividing table columns.

Declaration
public Border InsideVertical { get; }
Property Value
Border

The inner vertical border.

Left

Left border of the table.

Declaration
public Border Left { get; }
Property Value
Border

The left border.

Right

Right border of the table.

Declaration
public Border Right { get; }
Property Value
Border

The right border.

Start

Start edge border for bidirectional text support.

Declaration
public Border Start { get; }
Property Value
Border

The start border.

Top

Top border of the table.

Declaration
public Border Top { get; }
Property Value
Border

The top border.

Methods

Equals(Object)

Determines whether the specified System.Object is equal to the current System.Object.

Declaration
public override bool Equals(object obj)
Parameters
System.Object obj

The System.Object to compare with the current System.Object.

Returns
System.Boolean

Returns true if the specified System.Object is equal to the current System.Object; otherwise, false.

Overrides
System.Object.Equals(System.Object)

GetHashCode()

Serves as a hash function for a particular type.

Declaration
public override int GetHashCode()
Returns
System.Int32

A hash code for the current System.Object.

Overrides
System.Object.GetHashCode()

Operators

Equality(TableBorders, TableBorders)

Compares two table border sets for equality.

Declaration
public static bool operator ==(TableBorders a, TableBorders b)
Parameters
TableBorders a

TableBorders b

Returns
System.Boolean

True if the table borders are equal.

Inequality(TableBorders, TableBorders)

Compares two table border sets for inequality.

Declaration
public static bool operator !=(TableBorders a, TableBorders b)
Parameters
TableBorders a

TableBorders b

Returns
System.Boolean

True if the table borders are different.

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.