Class Table.TableCells.Layout
Defines the layout for a row or a column defined in Cells
Inherited Members
Namespace: SadConsole.UI.Controls
Assembly: SadConsole.Extended.dll
Syntax
public class Table.TableCells.Layout
Properties
Background
The background color used by the row or column
Declaration
public Color? Background { get; set; }
Property Value
Type | Description |
---|---|
Color? |
Foreground
The foreground color used by the row or column
Declaration
public Color? Foreground { get; set; }
Property Value
Type | Description |
---|---|
Color? |
Settings
The setting options used by the row or column
Declaration
public Table.Cell.Options Settings { get; set; }
Property Value
Size
The size of the row or column
Declaration
public int Size { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
Remove()
Removes this entire layout from the table.
Declaration
public void Remove()
SetLayout(int?, Color?, Color?, Options?)
Set a default layout to be used for each new cell
Declaration
public void SetLayout(int? size = null, Color? foreground = null, Color? background = null, Table.Cell.Options? settings = null)