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
  • Demos
    • What's New
    • Release History
  • 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 TableBorders

Represents collection of Table borders. This class is immutable.

Inheritance
System.Object
TableBorders
Namespace: Telerik.Windows.Documents.Model
Assembly: Telerik.Windows.Documents.dll

Syntax

public class TableBorders : Object

Constructors

TableBorders()

Initializes a new instance of the TableBorders class.

Declaration
public TableBorders()

TableBorders(Border)

Initializes a new instance of the TableBorders class.

Declaration
public TableBorders(Border all)
Parameters
Border all

A Border instance which will be applied to all borders of the table.

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

Initializes a new instance of the TableBorders class.

Declaration
public TableBorders(Border leftBorder, Border topBorder, Border rightBorder, Border bottomBorder, Border insideHorizontalBorder = null, Border insideVerticalBorder = null)
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(TableBorders)

Initializes a new instance of the TableBorders class.

Declaration
public TableBorders(TableBorders other)
Parameters
TableBorders other

A TableBorders instance to copy the properties from.

Properties

All

Gets all borders if they are equal.

Declaration
public Border All { get; }
Property Value
Border

The border.

Bottom

Gets the bottom border.

Declaration
public Border Bottom { get; }
Property Value
Border

The border.

InsideHorizontal

Gets the inside horizontal border.

Declaration
public Border InsideHorizontal { get; }
Property Value
Border

The border.

InsideVertical

Gets the inside vertical border.

Declaration
public Border InsideVertical { get; }
Property Value
Border

The border.

Left

Gets the left border.

Declaration
public Border Left { get; }
Property Value
Border

The border.

Right

Gets the right border.

Declaration
public Border Right { get; }
Property Value
Border

The border.

Top

Gets the top border.

Declaration
public Border Top { get; }
Property Value
Border

The border.

Methods

Equals(Object)

Determines whether the specified System.Object, is equal to this instance.

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

The System.Object to compare with this instance.

Returns
System.Boolean

true if the specified System.Object is equal to this instance; otherwise, false.

GetHashCode()

Returns a hash code for this instance.

Declaration
public override int GetHashCode()
Returns
System.Int32

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

SetBottom(Border)

Returns new TableBorders object with the specified bottom border.

Declaration
public TableBorders SetBottom(Border newBottomBorder)
Parameters
Border newBottomBorder

The new bottom border.

Returns
TableBorders

SetInsideHorizontal(Border)

Returns new TableBorders object with the specified inside horizontal border.

Declaration
public TableBorders SetInsideHorizontal(Border newInsideHorizontalBorder)
Parameters
Border newInsideHorizontalBorder

The new inside horizontal border.

Returns
TableBorders

A new TableBorders instance keeping the new borders.

SetInsideVertical(Border)

Returns new TableBorders object with the specified inside vertical border.

Declaration
public TableBorders SetInsideVertical(Border newInsideVerticalBorder)
Parameters
Border newInsideVerticalBorder

The new inside vertical border.

Returns
TableBorders

A new TableBorders instance keeping the new borders.

SetLeft(Border)

Returns new TableBorders object with the specified left border.

Declaration
public TableBorders SetLeft(Border newLeftBorder)
Parameters
Border newLeftBorder

The new left border.

Returns
TableBorders

A new TableBorders instance keeping the new borders.

SetRight(Border)

Returns new TableBorders object with the specified right border.

Declaration
public TableBorders SetRight(Border newRightBorder)
Parameters
Border newRightBorder

The new right border.

Returns
TableBorders

A new TableBorders instance keeping the new borders.

SetTop(Border)

Returns new TableBorders object with the specified top border.

Declaration
public TableBorders SetTop(Border newTopBorder)
Parameters
Border newTopBorder

The new top border.

Returns
TableBorders

ToString()

Converts to string.

Declaration
public override string ToString()
Returns
System.String

A System.String that represents this instance.

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
  • Themes Generator
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
  • System Requirements
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.