Class TableBorders
Defines set of borders which can be applied to table element. This class is immutable.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Styles
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public class TableBorders
Constructors
TableBorders()
TableBorders(Border)
Initializes a new instance of the TableBorders class.
Declaration
public TableBorders(Border all)
Parameters
Border
all
All. |
TableBorders(Border, Border, Border, Border)
Initializes a new instance of the TableBorders class.
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 of the TableBorders class.
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 of the TableBorders class.
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 of the TableBorders class. Creates copy of the the source table borders and replaces only the specified borders.
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
Gets the bottom border.
Declaration
public Border Bottom { get; }
Property Value
Border
The bottom border. |
End
InsideHorizontal
Gets the inner horizontal border.
Declaration
public Border InsideHorizontal { get; }
Property Value
Border
The inner horizontal border. |
InsideVertical
Gets the inner vertical border.
Declaration
public Border InsideVertical { get; }
Property Value
Border
The inner vertical border. |
Left
Gets the left border.
Declaration
public Border Left { get; }
Property Value
Border
The left border. |
Right
Gets the right border.
Declaration
public Border Right { get; }
Property Value
Border
The right border. |
Start
Gets the start border.
Declaration
public Border Start { get; }
Property Value
Border
The start border. |
Top
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)
Determines whether the specified table borders are equal.
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)
Determines whether the specified table borders are different.
Declaration
public static bool operator !=(TableBorders a, TableBorders b)
Parameters
TableBorders
a
|
TableBorders
b
|
Returns
System.Boolean
True if the table borders are different. |