ClassTableBorders
Represents collection of Table borders. This class is immutable.
Definition
Namespace:Telerik.Windows.Documents.Model
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
[TypeConverter(typeof(TableBordersConverter))]
public class TableBorders
Inheritance: objectTableBorders
Constructors
TableBorders()
Initializes a new instance of the TableBorders class.
Declaration
public TableBorders()
TableBorders(Border)
Initializes a new instance of the TableBorders class.
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 = null, Border insideVerticalBorder = null)
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(TableBorders)
Initializes a new instance of the TableBorders class.
Declaration
public TableBorders(TableBorders other)
Parameters
other
A TableBorders instance to copy the properties from.
Properties
All
Gets all borders if they are equal.
Bottom
Gets the bottom border.
InsideHorizontal
Gets the inside horizontal border.
Declaration
public Border InsideHorizontal { get; }
Property Value
The border.
InsideVertical
Gets the inside vertical border.
Declaration
public Border InsideVertical { get; }
Property Value
The border.
Left
Gets the left border.
Right
Gets the right border.
Methods
Equals(object)
Determines whether the specified object, is equal to this instance.
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Overrides
SetBottom(Border)
Returns new TableBorders object with the specified bottom border.
Declaration
public TableBorders SetBottom(Border newBottomBorder)
Parameters
newBottomBorder
The new bottom border.
Returns
SetInsideHorizontal(Border)
Returns new TableBorders object with the specified inside horizontal border.
Declaration
public TableBorders SetInsideHorizontal(Border newInsideHorizontalBorder)
Parameters
newInsideHorizontalBorder
The new inside horizontal border.
Returns
A new TableBorders instance keeping the new borders.
SetInsideVertical(Border)
Returns new TableBorders object with the specified inside vertical border.
Declaration
public TableBorders SetInsideVertical(Border newInsideVerticalBorder)
Parameters
newInsideVerticalBorder
The new inside vertical border.
Returns
A new TableBorders instance keeping the new borders.
SetLeft(Border)
Returns new TableBorders object with the specified left border.
Declaration
public TableBorders SetLeft(Border newLeftBorder)
Parameters
newLeftBorder
The new left border.
Returns
A new TableBorders instance keeping the new borders.
SetRight(Border)
Returns new TableBorders object with the specified right border.
Declaration
public TableBorders SetRight(Border newRightBorder)
Parameters
newRightBorder
The new right border.
Returns
A new TableBorders instance keeping the new borders.
SetTop(Border)
Returns new TableBorders object with the specified top border.
Declaration
public TableBorders SetTop(Border newTopBorder)
Parameters
newTopBorder
The new top border.
Returns
ToString()
Converts to string.