Class Table.Cell.Options
A collection of settings that are used by Table.Cell
Inheritance
Table.Cell.Options
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
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
Interactable
Defines if the cell can interact with mouse events; Default: true
Declaration
public bool Interactable { get; set; }
Property Value
MaxCharactersPerLine
The maximum characters this cell can show per line; Default: cell width
Declaration
public int? MaxCharactersPerLine { get; set; }
Property Value
Selectable
Defines if the cell can be selected by the mouse; Default: true
Declaration
public bool Selectable { get; set; }
Property Value
SelectionMode
Defines the selection visual mode when the cell is selected; Default: single
Declaration
public Table.TableCells.Layout.Mode SelectionMode { get; set; }
Property Value
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
VerticalAlignment
The vertical text alignment setting; Default: left
Declaration
public Table.Cell.Options.VerticalAlign VerticalAlignment { get; set; }
Property Value
Methods
Equals(Options?)
Declaration
public bool Equals(Table.Cell.Options? other)
Parameters
Returns
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Operators
operator ==(Options?, Options?)
Declaration
public static bool operator ==(Table.Cell.Options? a, Table.Cell.Options? b)
Parameters
Returns
operator !=(Options?, Options?)
Declaration
public static bool operator !=(Table.Cell.Options? a, Table.Cell.Options? b)
Parameters
Returns
Implements