TableBorder Class
Represents a border.
public abstract class TableBorder
- Namespace
- Spectre
.Console - Derived Types
-
- AsciiTableBorder
- HeavyHeadTableBorder
- Double
Edge Table Border - SimpleTableBorder
- NoTableBorder
- RoundedTableBorder
- Minimal
Heavy Head Table Border - Ascii2TableBorder
- SquareTableBorder
- DoubleTableBorder
- MarkdownTableBorder
- HeavyTableBorder
- Ascii
Double Head Table Border - Simple
Heavy Table Border - Horizontal
Table Border - Minimal
Double Head Table Border - MinimalTableBorder
- HeavyEdgeTableBorder
Properties
- static TableBorder Ascii
- Gets an ASCII border.
- static TableBorder Ascii2
- Gets an ASCII border.
- static TableBorder AsciiDoubleHead
- Gets an ASCII border with a double header border.
- static TableBorder Double
- Gets a double border.
- static TableBorder DoubleEdge
- Gets a border with a double edge.
- static TableBorder Heavy
- Gets a heavy border.
- static TableBorder HeavyEdge
- Gets a border with a heavy edge.
- static TableBorder HeavyHead
- Gets a border with a heavy header.
- static TableBorder Horizontal
- Gets a horizontal border.
- static TableBorder Markdown
- Gets a markdown border.
- static TableBorder Minimal
- Gets a minimal border.
- static TableBorder MinimalDoubleHead
- Gets a minimal border with a double header border.
- static TableBorder MinimalHeavyHead
- Gets a minimal border with a heavy head.
- static TableBorder None
- Gets an invisible border.
- static TableBorder Rounded
- Gets a rounded border.
- virtual TableBorder SafeBorder
-
Gets the safe border for this border or
null
if none exist. - static TableBorder Simple
- Gets a simple border.
- static TableBorder SimpleHeavy
- Gets a simple border with heavy lines.
- static TableBorder Square
- Gets a square border.
- virtual bool SupportsRowSeparator
- Gets a value indicating whether the border supports row separators or not.
- virtual bool Visible
- Gets a value indicating whether or not the border is visible.
Methods
-
virtual string GetColumnRow
(TablePart, IReadOnlyList <int> , IReadOnlyList <IColumn> ) - Gets a whole column row for the specific column row part.
-
abstract string GetPart
(TableBorderPart) - Gets the string representation of a specified table border part.
-
protected (string Left, string Center, string Separator, string Right) GetTableParts
(TablePart) - Gets the table parts used to render a specific table row.
Extension Methods
-
TableBorder GetSafeBorder
(bool) - Gets the safe border for a border.