ClassTableBorders
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
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.
TableBorders(Border, Border, Border, Border)
Initializes a new instance with the four outer edge borders set individually.
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
leftBorder
The left border.
topBorder
The top border.
rightBorder
The right border.
bottomBorder
The bottom border.
insideHorizontalBorder
The inside horizontal 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
leftBorder
The left border.
topBorder
The top border.
rightBorder
The right border.
bottomBorder
The bottom border.
insideHorizontalBorder
The inside horizontal border.
insideVerticalBorder
The inside vertical border.
startBorder
The start 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
source
The table borders source.
leftBorder
The left border.
topBorder
The top border.
rightBorder
The right border.
bottomBorder
The bottom border.
insideHorizontalBorder
The inside horizontal border.
insideVerticalBorder
The inside vertical border.
startBorder
The start border.
endBorder
The end border.
Properties
Bottom
Bottom border of the table.
Declaration
public Border Bottom { get; }
Property Value
The bottom border.
End
End edge border for bidirectional text support.
InsideHorizontal
Inner horizontal border dividing table rows.
Declaration
public Border InsideHorizontal { get; }
Property Value
The inner horizontal border.
InsideVertical
Inner vertical border dividing table columns.
Declaration
public Border InsideVertical { get; }
Property Value
The inner vertical border.
Left
Left border of the table.
Right
Right border of the table.
Start
Start edge border for bidirectional text support.
Methods
GetHashCode()
Serves as a hash function for a particular type.
Operators
operator !=(TableBorders, TableBorders)
Compares two table border sets for inequality.
Declaration
public static bool operator !=(TableBorders a, TableBorders b)
Parameters
a
b
Returns
True if the table borders are different.
operator ==(TableBorders, TableBorders)
Compares two table border sets for equality.
Declaration
public static bool operator ==(TableBorders a, TableBorders b)
Parameters
a
b
Returns
True if the table borders are equal.