Class TableBorders
Defines an immutable set of borders for tables including all outer edges and inside dividers between rows and columns.
Inheritance
Inherited Members
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
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
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. |