Class SelectCell
Immutable content of one cell in a SelectRow: its Text plus optional
per-cell overrides for semantic Style, Alignment, and
FormattingMode. A cell is structured data, not a preformatted line — the control renders
it through the normal
CliGrid cell pipeline. On the selected row the cell's own style is
overridden by the list-selection style so the row highlights consistently.public sealed class SelectCell
- Inheritance
-
SelectCell
- Inherited Members
Constructors
SelectCell(string, ThemeStyle?, CliTextAlignment?, CliFormattingMode?)
Creates a cell.
formattingMode defaults to Raw
(the text is literal); pass Preformatted when text
carries trusted TigerCli markup that should be parsed.public SelectCell(string text, ThemeStyle? style = null, CliTextAlignment? alignment = null, CliFormattingMode? formattingMode = null)
Parameters
textstringstyleThemeStyle?alignmentCliTextAlignment?formattingModeCliFormattingMode?
Properties
Alignment
Optional alignment override for this cell (otherwise the column alignment applies).
public CliTextAlignment? Alignment { get; }
Property Value
Empty
An empty cell (blank text), useful for a column that is only sometimes populated.
public static SelectCell Empty { get; }
Property Value
FormattingMode
Optional formatting mode override for this cell (otherwise Raw).
public CliFormattingMode? FormattingMode { get; }
Property Value
Style
Optional semantic style for this cell when its row is neither selected nor disabled. Falls back to
the column's Style, then to Text.
public ThemeStyle? Style { get; }
Property Value
Text
The cell text.
public string Text { get; }