Class
TableBorders

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

Definition

Namespace:Telerik.Windows.Documents.Flow.Model.Styles

Assembly:Telerik.Windows.Documents.Flow.dll

Syntax:

cs-api-definition
public class TableBorders

Inheritance: objectTableBorders

Constructors

TableBorders()

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

Declaration

cs-api-definition
public TableBorders()

TableBorders(Border)

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

Declaration

cs-api-definition
public TableBorders(Border all)

Parameters

all

Border

All.

TableBorders(Border, Border, Border, Border)

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

Declaration

cs-api-definition
public TableBorders(Border leftBorder, Border topBorder, Border rightBorder, Border bottomBorder)

Parameters

leftBorder

Border

The left border.

topBorder

Border

The top border.

rightBorder

Border

The right border.

bottomBorder

Border

The bottom border.

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

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

Declaration

cs-api-definition
public TableBorders(Border leftBorder, Border topBorder, Border rightBorder, Border bottomBorder, Border insideHorizontalBorder, Border insideVerticalBorder)

Parameters

leftBorder

Border

The left border.

topBorder

Border

The top border.

rightBorder

Border

The right border.

bottomBorder

Border

The bottom border.

insideHorizontalBorder

Border

The inside horizontal border.

insideVerticalBorder

Border

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

cs-api-definition
public TableBorders(Border leftBorder, Border topBorder, Border rightBorder, Border bottomBorder, Border insideHorizontalBorder, Border insideVerticalBorder, Border startBorder, Border endBorder)

Parameters

leftBorder

Border

The left border.

topBorder

Border

The top border.

rightBorder

Border

The right border.

bottomBorder

Border

The bottom border.

insideHorizontalBorder

Border

The inside horizontal border.

insideVerticalBorder

Border

The inside vertical border.

startBorder

Border

The start border.

endBorder

Border

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

cs-api-definition
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

source

TableBorders

The table borders source.

leftBorder

Border

The left border.

topBorder

Border

The top border.

rightBorder

Border

The right border.

bottomBorder

Border

The bottom border.

insideHorizontalBorder

Border

The inside horizontal border.

insideVerticalBorder

Border

The inside vertical border.

startBorder

Border

The start border.

endBorder

Border

The end border.

Properties

Bottom

Bottom border of the table.

Declaration

cs-api-definition
public Border Bottom { get; }

Property Value

Border

The bottom border.

End

End edge border for bidirectional text support.

Declaration

cs-api-definition
public Border End { get; }

Property Value

Border

The end border.

InsideHorizontal

Inner horizontal border dividing table rows.

Declaration

cs-api-definition
public Border InsideHorizontal { get; }

Property Value

Border

The inner horizontal border.

InsideVertical

Inner vertical border dividing table columns.

Declaration

cs-api-definition
public Border InsideVertical { get; }

Property Value

Border

The inner vertical border.

Left

Left border of the table.

Declaration

cs-api-definition
public Border Left { get; }

Property Value

Border

The left border.

Right

Right border of the table.

Declaration

cs-api-definition
public Border Right { get; }

Property Value

Border

The right border.

Start

Start edge border for bidirectional text support.

Declaration

cs-api-definition
public Border Start { get; }

Property Value

Border

The start border.

Top

Top border of the table.

Declaration

cs-api-definition
public Border Top { get; }

Property Value

Border

The top border.

Methods

Equals(object)

Determines whether the specified object is equal to the current object.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

The object to compare with the current object.

Returns

bool

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

Overrides object.Equals(object)

GetHashCode()

Serves as a hash function for a particular type.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for the current object.

Overrides object.GetHashCode()

Operators

operator !=(TableBorders, TableBorders)

Compares two table border sets for inequality.

Declaration

cs-api-definition
public static bool operator !=(TableBorders a, TableBorders b)

Parameters

a

TableBorders

b

TableBorders

Returns

bool

True if the table borders are different.

operator ==(TableBorders, TableBorders)

Compares two table border sets for equality.

Declaration

cs-api-definition
public static bool operator ==(TableBorders a, TableBorders b)

Parameters

a

TableBorders

b

TableBorders

Returns

bool

True if the table borders are equal.