Rule

A renderable horizontal rule.

A renderable horizontal rule.

Constructors

public Rule()

Initializes a new instance of the Rule class.

public Rule(string title)

Initializes a new instance of the Rule class.

Parameters:

title (string)
The rule title markup text.

Properties

Border : BoxBorder

Gets or sets the box.

Justification : Justify?

Gets or sets the rule's title justification.

Title : string

Gets or sets the rule title markup text.

Extension Methods

Rule RuleTitle(this Rule rule, string title)

Sets the rule title.

Returns:

The same instance so that multiple calls can be chained.