BoxBorder

Represents a border.

Represents a border.

Properties

Ascii : BoxBorder

Gets an ASCII border.

Beveled : BoxBorder

Gets a beveled border using thin block edges and diagonal corners.

Dashed : BoxBorder

Gets a dashed border with square corners.

DashedWide : BoxBorder

Gets a wide-dashed border with square corners.

Dotted : BoxBorder

Gets a dotted border with square corners.

Double : BoxBorder

Gets a double border.

DoubleHorizontal : BoxBorder

Gets a border with double horizontal edges and single vertical edges.

DoubleVertical : BoxBorder

Gets a border with double vertical edges and single horizontal edges.

Heavy : BoxBorder

Gets a heavy border.

HeavyDashed : BoxBorder

Gets a heavy dashed border.

HeavyDashedWide : BoxBorder

Gets a heavy wide-dashed border.

HeavyDotted : BoxBorder

Gets a heavy dotted border.

HeavyHorizontal : BoxBorder

Gets a border with heavy horizontal edges and light vertical edges.

HeavyVertical : BoxBorder

Gets a border with heavy vertical edges and light horizontal edges.

McGuganHorizontal : BoxBorder

Gets the horizontal variant of the McGugan border.

McGuganVertical : BoxBorder

Gets the vertical variant of the McGugan border.

Near : BoxBorder

Gets a "near" border that hugs the content using thin block elements.

None : BoxBorder

Gets an invisible border.

Rounded : BoxBorder

Gets a rounded border.

RoundedDashed : BoxBorder

Gets a dashed border with rounded corners.

RoundedDashedWide : BoxBorder

Gets a wide-dashed border with rounded corners.

RoundedDotted : BoxBorder

Gets a dotted border with rounded corners.

SafeBorder : BoxBorder

Gets the safe border for this border or null if none exist.

Square : BoxBorder

Gets a square border.

Methods

public string GetPart(BoxBorderPart part)

Gets the string representation of the specified border part.

Parameters:

part (BoxBorderPart)
The part to get the character representation for.

Returns:

A character representation of the specified border part.

Extension Methods

BoxBorder GetSafeBorder(this BoxBorder border, bool safe)

Gets the safe border for a border.

Returns:

The safe border if one exist, otherwise the original border.