BoxBorder Class

Represents a border.
public abstract class BoxBorder

Properties

static BoxBorder Ascii
Gets an ASCII border.
static BoxBorder Double
Gets a double border.
static BoxBorder Heavy
Gets a heavy border.
static BoxBorder None
Gets an invisible border.
static BoxBorder Rounded
Gets a rounded border.
virtual BoxBorder SafeBorder
Gets the safe border for this border or null if none exist.
static BoxBorder Square
Gets a square border.

Methods

abstract string GetPart(BoxBorderPart)
Gets the string representation of the specified border part.

Extension Methods

T And<BoxBorder>(Action<BoxBorder>)
Performs the specified action on the given object and then returns the object. Useful for fluent testing patterns where additional assertions or operations are chained together in a readable manner.
BoxBorder GetSafeBorder(bool)
Gets the safe border for a border.