Class ParagraphBorders
Defines set of borders which can be applied to paragraph element. This class is immutable.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Styles
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public class ParagraphBorders
Constructors
ParagraphBorders()
ParagraphBorders(Border)
Initializes a new instance of the Paragraph
Declaration
public ParagraphBorders(Border all)
Parameters
Border
all
All. |
ParagraphBorders(Border, Border, Border, Border)
Initializes a new instance of the Paragraph
Declaration
public ParagraphBorders(Border leftBorder, Border topBorder, Border rightBorder, Border bottomBorder)
Parameters
ParagraphBorders(Border, Border, Border, Border, Border)
Initializes a new instance of the Paragraph
Declaration
public ParagraphBorders(Border leftBorder, Border topBorder, Border rightBorder, Border bottomBorder, Border between)
Parameters
ParagraphBorders(ParagraphBorders, Border, Border, Border, Border, Border)
Initializes a new instance of the Paragraph
Declaration
public ParagraphBorders(ParagraphBorders source, Border leftBorder = null, Border topBorder = null, Border rightBorder = null, Border bottomBorder = null, Border between = null)
Parameters
Properties
Between
Gets the border, which should be applied between paragraphs, which have the same set of paragraph borders.
Declaration
public Border Between { get; }
Property Value
Border
The between border. |
Bottom
Gets the bottom border.
Declaration
public Border Bottom { get; }
Property Value
Border
The bottom 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. |
Top
Methods
Equals(Object)
Determines whether the specified System.
Declaration
public override bool Equals(object obj)
Parameters
System. The System. |
Returns
System. Returns true if the specified System. |
Overrides
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
System. A hash code for the current System. |
Overrides
SetBetween(Border)
Sets the between.
Declaration
public ParagraphBorders SetBetween(Border between)
Parameters
Border
between
The between. |
Returns
Paragraph New instance of paragraph borders. |
SetBottom(Border)
Sets the bottom.
Declaration
public ParagraphBorders SetBottom(Border bottom)
Parameters
Border
bottom
The bottom. |
Returns
Paragraph New instance of paragraph borders. |
SetLeft(Border)
Sets the left.
Declaration
public ParagraphBorders SetLeft(Border left)
Parameters
Border
left
The left. |
Returns
Paragraph New instance of paragraph borders. |
SetRight(Border)
Sets the right.
Declaration
public ParagraphBorders SetRight(Border right)
Parameters
Border
right
The right. |
Returns
Paragraph New instance of paragraph borders. |
SetTop(Border)
Sets the top.
Declaration
public ParagraphBorders SetTop(Border top)
Parameters
Border
top
The top. |
Returns
Paragraph New instance of paragraph borders. |
Operators
Equality(ParagraphBorders, ParagraphBorders)
Determines whether the specified paragraph borders are equal.
Declaration
public static bool operator ==(ParagraphBorders a, ParagraphBorders b)
Parameters
Returns
System. True if the paragraph borders are equal. |
Inequality(ParagraphBorders, ParagraphBorders)
Determines whether the specified paragraph borders are different.
Declaration
public static bool operator !=(ParagraphBorders a, ParagraphBorders b)
Parameters
Returns
System. True if the paragraph borders are different. |