Class TableCellBorders
Defines set of borders which can be applied to table cell element. This class is immutable.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Styles
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public class TableCellBorders
Constructors
TableCellBorders()
TableCellBorders(Border)
Initializes a new instance of the TableCellBorders class. Setting only the outer borders.
Declaration
public TableCellBorders(Border all)
Parameters
Border
all
All. |
TableCellBorders(Border, Border, Border, Border)
Initializes a new instance of the TableCellBorders class.
Declaration
public TableCellBorders(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. |
TableCellBorders(Border, Border, Border, Border, Border, Border, Border, Border)
Initializes a new instance of the TableCellBorders class.
Declaration
public TableCellBorders(Border leftBorder, Border topBorder, Border rightBorder, Border bottomBorder, Border insideHorizontalBorder, Border insideVerticalBorder, Border diagonalDownBorder, Border diagonalUpBorder)
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
diagonalDownBorder
The diagonal down border. |
Border
diagonalUpBorder
The diagonal up border. |
TableCellBorders(Border, Border, Border, Border, Border, Border, Border, Border, Border, Border)
Initializes a new instance of the TableCellBorders class.
Declaration
public TableCellBorders(Border leftBorder, Border topBorder, Border rightBorder, Border bottomBorder, Border insideHorizontalBorder, Border insideVerticalBorder, Border diagonalDownBorder, Border diagonalUpBorder, Border start, Border end)
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
diagonalDownBorder
The diagonal down border. |
Border
diagonalUpBorder
The diagonal up border. |
Border
start
The start border. |
Border
end
The end border. |
TableCellBorders(TableCellBorders, Border, Border, Border, Border, Border, Border, Border, Border, Border, Border)
Initializes a new instance of the TableCellBorders class. Creates copy of the the source table cell borders and replaces only the specified borders.
Declaration
public TableCellBorders(TableCellBorders source, Border leftBorder = null, Border topBorder = null, Border rightBorder = null, Border bottomBorder = null, Border insideHorizontalBorder = null, Border insideVerticalBorder = null, Border diagonalDownBorder = null, Border diagonalUpBorder = null, Border startBorder = null, Border endBorder = null)
Parameters
TableCellBorders
source
The 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
diagonalDownBorder
The diagonal down border. |
Border
diagonalUpBorder
The diagonal up 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. |
DiagonalDown
Gets the top left to bottom right diagonal border.
Declaration
public Border DiagonalDown { get; }
Property Value
Border
The diagonal down. |
DiagonalUp
Gets the top right to bottom left diagonal border.
Declaration
public Border DiagonalUp { get; }
Property Value
Border
The diagonal up. |
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(TableCellBorders, TableCellBorders)
Determines whether the specified table cell borders are equal.
Declaration
public static bool operator ==(TableCellBorders a, TableCellBorders b)
Parameters
TableCellBorders
a
|
TableCellBorders
b
|
Returns
System.Boolean
True if the table cell borders are equal. |
Inequality(TableCellBorders, TableCellBorders)
Determines whether the specified table cell borders are different.
Declaration
public static bool operator !=(TableCellBorders a, TableCellBorders b)
Parameters
TableCellBorders
a
|
TableCellBorders
b
|
Returns
System.Boolean
True if the table cell borders are different. |