Class Table
Table renderable
Inheritance
Namespace
Syntax
public class Table : SimpleCyclicWriter
Constructors
Table()
Makes a new instance of the table renderer
Declaration
public Table()
Properties
BackgroundColor
Background color
Property Value
Color
Declaration
public Color BackgroundColor { get; set; }
BorderSettings
Border settings to use
Header
Whether to enable table headers
Property Value
bool
Declaration
public bool Header { get; set; }
HeaderColor
Table header color
Property Value
Color
Declaration
public Color HeaderColor { get; set; }
Height
Maximum height of the table (0 to automatically determine based on content)
Property Value
int
Declaration
public int Height { get; set; }
Rows
List of rows and columns
SeparatorColor
Table separator color
Property Value
Color
Declaration
public Color SeparatorColor { get; set; }
Title
Title of the table
Property Value
string
Declaration
public string Title { get; set; }
UseColors
Whether to use colors or not
Property Value
bool
Declaration
public bool UseColors { get; set; }
ValueColor
Table value color
Property Value
Color
Declaration
public Color ValueColor { get; set; }
Width
Maximum width of the table (0 to automatically determine based on content)
Property Value
int
Declaration
public int Width { get; set; }
Methods
Render()
Renders a table
Returns
string
Rendered text that will be used by the renderer
Declaration
public override string Render()