Show / Hide Table of Contents

Class Table.TableCells.Layout

Defines the layout for a row or a column defined in Cells

Inheritance
object
Table.TableCells.Layout
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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
Type Description
Table.Cell.Options

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)
Parameters
Type Name Description
int? size
Color? foreground
Color? background
Table.Cell.Options settings

Extension Methods

ExtensionsSystem.GetDebuggerDisplayValue(object)
In this article

Back to top

Back to top Generated by DocFX