Class Table
Table renderable
Inheritance
object
Table
Implements
Namespace: Terminaux.Writer.CyclicWriters
Assembly: Terminaux.dll
Syntax
public class Table : IStaticRenderable
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 |
InteriorHeight
Interior height
Declaration
public int InteriorHeight { get; set; }
Property Value
Type | Description |
---|---|
int |
InteriorWidth
Interior width
Declaration
public int InteriorWidth { get; set; }
Property Value
Type | Description |
---|---|
int |
Left
Left position
Declaration
public int Left { get; set; }
Property Value
Type | Description |
---|---|
int |
Rows
Top position
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 |
Top
Top position
Declaration
public int Top { get; set; }
Property Value
Type | Description |
---|---|
int |
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 an table text
Declaration
public string Render()
Returns
Type | Description |
---|---|
string | Rendered text that will be used by the renderer |