Show / Hide Table of Contents

Class Table.Cell.Options

A collection of settings that are used by Table.Cell

Inheritance
object
Table.Cell.Options
Implements
IEquatable<Table.Cell.Options>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: SadConsole.UI.Controls
Assembly: SadConsole.Extended.dll
Syntax
public class Table.Cell.Options : IEquatable<Table.Cell.Options>

Constructors

Options(Table)

Creates new options based on the default values of the table

Declaration
public Options(Table table)
Parameters
Type Name Description
Table table

Properties

HorizontalAlignment

The horizontal text alignment setting; Default: left

Declaration
public Table.Cell.Options.HorizontalAlign HorizontalAlignment { get; set; }
Property Value
Type Description
Table.Cell.Options.HorizontalAlign

HoverMode

Defines the hover visual mode when the cell is hovered over by the mouse; Default: single

Declaration
public Table.TableCells.Layout.Mode HoverMode { get; set; }
Property Value
Type Description
Table.TableCells.Layout.Mode

Interactable

Defines if the cell can interact with mouse events; Default: true

Declaration
public bool Interactable { get; set; }
Property Value
Type Description
bool

MaxCharactersPerLine

The maximum characters this cell can show per line; Default: cell width

Declaration
public int? MaxCharactersPerLine { get; set; }
Property Value
Type Description
int?

Selectable

Defines if the cell can be selected by the mouse; Default: true

Declaration
public bool Selectable { get; set; }
Property Value
Type Description
bool

SelectionMode

Defines the selection visual mode when the cell is selected; Default: single

Declaration
public Table.TableCells.Layout.Mode SelectionMode { get; set; }
Property Value
Type Description
Table.TableCells.Layout.Mode

UseFakeLayout

Defines if the cell should also trigger the fake layout event if the option is enabled on the table; Default: false

Declaration
public bool UseFakeLayout { get; set; }
Property Value
Type Description
bool

VerticalAlignment

The vertical text alignment setting; Default: left

Declaration
public Table.Cell.Options.VerticalAlign VerticalAlignment { get; set; }
Property Value
Type Description
Table.Cell.Options.VerticalAlign

Methods

Equals(Options?)

Declaration
public bool Equals(Table.Cell.Options? other)
Parameters
Type Name Description
Table.Cell.Options other
Returns
Type Description
bool

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()

Operators

operator ==(Options?, Options?)

Declaration
public static bool operator ==(Table.Cell.Options? a, Table.Cell.Options? b)
Parameters
Type Name Description
Table.Cell.Options a
Table.Cell.Options b
Returns
Type Description
bool

operator !=(Options?, Options?)

Declaration
public static bool operator !=(Table.Cell.Options? a, Table.Cell.Options? b)
Parameters
Type Name Description
Table.Cell.Options a
Table.Cell.Options b
Returns
Type Description
bool

Implements

IEquatable<T>

Extension Methods

ExtensionsSystem.GetDebuggerDisplayValue(object)
In this article

Back to top

Back to top Generated by DocFX