TableBorders
Represents collection of Table borders. This class is immutable.
Definition
Namespace:Telerik.WinForms.Documents.Model
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
[TypeConverter(typeof(TableBordersConverter))]
public class TableBorders
Inheritance: objectTableBorders
Constructors
Initializes a new instance of the TableBorders class.
public TableBorders()
Initializes a new instance of the TableBorders class.
public TableBorders(Border leftBorder, Border topBorder, Border rightBorder, Border bottomBorder, Border insideHorizontalBorder = null, Border insideVerticalBorder = null)
The left border.
topBorderBorderThe top border.
rightBorderBorderThe right border.
bottomBorderBorderThe bottom border.
insideHorizontalBorderBorderThe inside horizontal border.
insideVerticalBorderBorderThe inside vertical border.
Initializes a new instance of the TableBorders class.
Initializes a new instance of the TableBorders class.
public TableBorders(TableBorders other)
A TableBorders instance to copy the properties from.
Properties
Gets all borders if they are equal.
public Border All { get; }
The border.
Gets the inside horizontal border.
public Border InsideHorizontal { get; }
The border.
Gets the inside vertical border.
public Border InsideVertical { get; }
The border.
Methods
Returns a hash code for this instance.
public override int GetHashCode()
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Overrides:
Returns new TableBorders object with the specified bottom border.
public TableBorders SetBottom(Border newBottomBorder)
The new bottom border.
Returns:Returns new TableBorders object with the specified inside horizontal border.
public TableBorders SetInsideHorizontal(Border newInsideHorizontalBorder)
The new inside horizontal border.
Returns:A new TableBorders instance keeping the new borders.
Returns new TableBorders object with the specified inside vertical border.
public TableBorders SetInsideVertical(Border newInsideVerticalBorder)
The new inside vertical border.
Returns:A new TableBorders instance keeping the new borders.
Returns new TableBorders object with the specified left border.
public TableBorders SetLeft(Border newLeftBorder)
The new left border.
Returns:A new TableBorders instance keeping the new borders.
Returns new TableBorders object with the specified right border.
public TableBorders SetRight(Border newRightBorder)
The new right border.
Returns:A new TableBorders instance keeping the new borders.
Returns new TableBorders object with the specified top border.
public TableBorders SetTop(Border newTopBorder)
The new top border.
Returns: