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:
public class TableBorders
Inheritance: objectTableBorders
Constructors
Initializes a new instance with all borders set to the default border style.
public TableBorders()
Initializes a new instance with all borders including outer edges, inside dividers, and bidirectional text borders set individually.
public TableBorders(Border leftBorder, Border topBorder, Border rightBorder, Border bottomBorder, Border insideHorizontalBorder, Border insideVerticalBorder, Border startBorder, Border endBorder)
The left border.
topBorderBorderThe top border.
rightBorderBorderThe right border.
bottomBorderBorderThe bottom border.
insideHorizontalBorderBorderThe inside horizontal border.
insideVerticalBorderBorderThe inside vertical border.
startBorderBorderThe start border.
endBorderBorderThe end border.
Initializes a new instance with outer edges and inside divider borders set individually.
public TableBorders(Border leftBorder, Border topBorder, Border rightBorder, Border bottomBorder, Border insideHorizontalBorder, Border insideVerticalBorder)
The left border.
topBorderBorderThe top border.
rightBorderBorderThe right border.
bottomBorderBorderThe bottom border.
insideHorizontalBorderBorderThe inside horizontal border.
insideVerticalBorderBorderThe inside vertical border.
Initializes a new instance with the four outer edge borders set individually.
Initializes a new instance with all borders set to the specified style.
Initializes a new instance by copying source borders and replacing only the specified borders with new values.
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)
The table borders source.
leftBorderBorderThe left border.
topBorderBorderThe top border.
rightBorderBorderThe right border.
bottomBorderBorderThe bottom border.
insideHorizontalBorderBorderThe inside horizontal border.
insideVerticalBorderBorderThe inside vertical border.
startBorderBorderThe start border.
endBorderBorderThe end border.
Methods
Operators
Compares two table border sets for inequality.
public static bool operator !=(TableBorders a, TableBorders b)
True if the table borders are different.
Compares two table border sets for equality.
public static bool operator ==(TableBorders a, TableBorders b)
True if the table borders are equal.
Properties
Bottom border of the table.
public Border Bottom { get; }
The bottom border.
End edge border for bidirectional text support.
public Border End { get; }
The end border.
Inner horizontal border dividing table rows.
public Border InsideHorizontal { get; }
The inner horizontal border.
Inner vertical border dividing table columns.
public Border InsideVertical { get; }
The inner vertical border.
Right border of the table.
public Border Right { get; }
The right border.
Start edge border for bidirectional text support.
public Border Start { get; }
The start border.