Represents a border.
Properties
Ascii
: TableBorderGets an ASCII border.
Ascii2
: TableBorderGets an ASCII border.
AsciiDoubleHead
: TableBorderGets an ASCII border with a double header border.
Double
: TableBorderGets a double border.
DoubleEdge
: TableBorderGets a border with a double edge.
Heavy
: TableBorderGets a heavy border.
HeavyEdge
: TableBorderGets a border with a heavy edge.
HeavyHead
: TableBorderGets a border with a heavy header.
Horizontal
: TableBorderGets a horizontal border.
Markdown
: TableBorderGets a markdown border.
Minimal
: TableBorderGets a minimal border.
MinimalDoubleHead
: TableBorderGets a minimal border with a double header border.
MinimalHeavyHead
: TableBorderGets a minimal border with a heavy head.
Minimalist
: TableBorderGets a minimalist border.
None
: TableBorderGets an invisible border.
Rounded
: TableBorderGets a rounded border.
SafeBorder
: TableBorderGets the safe border for this border or null if none exist.
Simple
: TableBorderGets a simple border.
SimpleHeavy
: TableBorderGets a simple border with heavy lines.
Square
: TableBorderGets a square border.
SupportsRowSeparator
: boolGets a value indicating whether the border supports row separators or not.
UsePadding
: boolGets a value indicating whether or not the border uses cell padding.
Visible
: boolGets a value indicating whether or not the border is visible.
Methods
public string GetColumnRow(TablePart part, IReadOnlyList<int> widths, IReadOnlyList<IColumn> columns)
Gets a whole column row for the specific column row part.
Parameters:
part (TablePart)widths (IReadOnlyList<int>)columns (IReadOnlyList<IColumn>)Returns:
A string representing the column row.
public string GetPart(TableBorderPart part)
Gets the string representation of a specified table border part.
Parameters:
part (TableBorderPart)Returns:
A character representation of the specified border part.
Extension Methods
TableBorder GetSafeBorder(this TableBorder border, bool safe)Gets the safe border for a border.
Returns:
The safe border if one exist, otherwise the original border.