Class TableBorders
Represents collection of Table borders. This class is immutable.
Inheritance
Namespace: Telerik.Windows.Documents.Model
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class TableBorders : Object
Constructors
TableBorders()
TableBorders(Border)
Initializes a new instance of the Table
Declaration
public TableBorders(Border all)
Parameters
TableBorders(Border, Border, Border, Border, Border, Border)
Initializes a new instance of the Table
Declaration
public TableBorders(Border leftBorder, Border topBorder, Border rightBorder, Border bottomBorder, Border insideHorizontalBorder = null, Border insideVerticalBorder = null)
Parameters
TableBorders(TableBorders)
Initializes a new instance of the Table
Declaration
public TableBorders(TableBorders other)
Parameters
Table A Table |
Properties
All
Gets all borders if they are equal.
Declaration
public Border All { get; }
Property Value
Border
The border. |
Bottom
InsideHorizontal
Gets the inside horizontal border.
Declaration
public Border InsideHorizontal { get; }
Property Value
Border
The border. |
InsideVertical
Gets the inside vertical border.
Declaration
public Border InsideVertical { get; }
Property Value
Border
The border. |
Left
Right
Top
Methods
Equals(Object)
Determines whether the specified System.
Declaration
public override bool Equals(object obj)
Parameters
System. The System. |
Returns
System.
|
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
System. A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |
SetBottom(Border)
Returns new Table
Declaration
public TableBorders SetBottom(Border newBottomBorder)
Parameters
Border
newBottomBorder
The new bottom border. |
Returns
SetInsideHorizontal(Border)
Returns new Table
Declaration
public TableBorders SetInsideHorizontal(Border newInsideHorizontalBorder)
Parameters
Border
newInsideHorizontalBorder
The new inside horizontal border. |
Returns
Table A new Table |
SetInsideVertical(Border)
Returns new Table
Declaration
public TableBorders SetInsideVertical(Border newInsideVerticalBorder)
Parameters
Border
newInsideVerticalBorder
The new inside vertical border. |
Returns
Table A new Table |
SetLeft(Border)
Returns new Table
Declaration
public TableBorders SetLeft(Border newLeftBorder)
Parameters
Border
newLeftBorder
The new left border. |
Returns
Table A new Table |
SetRight(Border)
Returns new Table
Declaration
public TableBorders SetRight(Border newRightBorder)
Parameters
Border
newRightBorder
The new right border. |
Returns
Table A new Table |
SetTop(Border)
Returns new Table
Declaration
public TableBorders SetTop(Border newTopBorder)
Parameters
Border
newTopBorder
The new top border. |
Returns
ToString()
Converts to string.
Declaration
public override string ToString()
Returns
System. A System. |