Class Table
Table renderable
Inherited Members
Namespace: Terminaux.Writer.CyclicWriters.Graphical
Assembly: Terminaux.dll
Syntax
public class Table : GraphicalCyclicWriter
Constructors
| Edit this page View SourceTable()
Makes a new instance of the table renderer
Declaration
public Table()
Properties
| Edit this page View SourceBackgroundColor
Background color
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
BorderSettings
Border settings to use
Declaration
public BorderSettings BorderSettings { get; set; }
Property Value
Type | Description |
---|---|
BorderSettings |
Header
Whether to enable table headers
Declaration
public bool Header { get; set; }
Property Value
Type | Description |
---|---|
bool |
HeaderColor
Table header color
Declaration
public Color HeaderColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Rows
List of rows and columns
Declaration
public string[,] Rows { get; set; }
Property Value
Type | Description |
---|---|
string[,] |
SeparatorColor
Table separator color
Declaration
public Color SeparatorColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Settings
Cell settings to use
Declaration
public List<CellOptions> Settings { get; set; }
Property Value
Type | Description |
---|---|
List<CellOptions> |
Title
Title of the table
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
string |
UseColors
Whether to use colors or not
Declaration
public bool UseColors { get; set; }
Property Value
Type | Description |
---|---|
bool |
ValueColor
Table value color
Declaration
public Color ValueColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Methods
| Edit this page View SourceRender()
Renders a table
Declaration
public override string Render()
Returns
Type | Description |
---|---|
string | Rendered text that will be used by the renderer |