Represents a border.
Properties
Ascii
: BoxBorderGets an ASCII border.
Beveled
: BoxBorderGets a beveled border using thin block edges and diagonal corners.
Dashed
: BoxBorderGets a dashed border with square corners.
DashedWide
: BoxBorderGets a wide-dashed border with square corners.
Dotted
: BoxBorderGets a dotted border with square corners.
Double
: BoxBorderGets a double border.
DoubleHorizontal
: BoxBorderGets a border with double horizontal edges and single vertical edges.
DoubleVertical
: BoxBorderGets a border with double vertical edges and single horizontal edges.
Heavy
: BoxBorderGets a heavy border.
HeavyDashed
: BoxBorderGets a heavy dashed border.
HeavyDashedWide
: BoxBorderGets a heavy wide-dashed border.
HeavyDotted
: BoxBorderGets a heavy dotted border.
HeavyHorizontal
: BoxBorderGets a border with heavy horizontal edges and light vertical edges.
HeavyVertical
: BoxBorderGets a border with heavy vertical edges and light horizontal edges.
McGuganHorizontal
: BoxBorderGets the horizontal variant of the McGugan border.
McGuganVertical
: BoxBorderGets the vertical variant of the McGugan border.
Near
: BoxBorderGets a "near" border that hugs the content using thin block elements.
None
: BoxBorderGets an invisible border.
Rounded
: BoxBorderGets a rounded border.
RoundedDashed
: BoxBorderGets a dashed border with rounded corners.
RoundedDashedWide
: BoxBorderGets a wide-dashed border with rounded corners.
RoundedDotted
: BoxBorderGets a dotted border with rounded corners.
SafeBorder
: BoxBorderGets the safe border for this border or null if none exist.
Square
: BoxBorderGets a square border.
Methods
public string GetPart(BoxBorderPart part)
Gets the string representation of the specified border part.
Parameters:
part (BoxBorderPart)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.