Class CliTableElement
Describes a single table element (column in Vertical, row in Horizontal).
Styling is expressed via CliCellStyle and resolved by the grid's
style cascade (grid defaults → axis styles → section defaults → per-cell).
public class CliTableElement
- Inheritance
-
CliTableElement
- Inherited Members
Constructors
CliTableElement()
Creates an empty table element.
public CliTableElement()
CliTableElement(object?, CliCellStyle?, CliCellStyle?, CliCellStyle?)
Creates a table element with explicit header content and styles.
public CliTableElement(object? headerContent, CliCellStyle? headerStyle, CliCellStyle? dataStyle, CliCellStyle? dataAltStyle = null)
Parameters
headerContentobject- The header caption content.
headerStyleCliCellStyle- The style applied to the header caption.
dataStyleCliCellStyle- The default style for data cells.
dataAltStyleCliCellStyle- Retained for source compatibility; this parameter does not currently affect rendering.
CliTableElement(string, CliCellStyle?, CliCellStyle?)
Creates a table element with a preformatted header caption and data-cell style.
public CliTableElement(string headerContent, CliCellStyle? dataStyle, CliCellStyle? dataAltStyle = null)
Parameters
headerContentstring- The header caption.
dataStyleCliCellStyle- The default style for data cells.
dataAltStyleCliCellStyle- Retained for source compatibility; this parameter does not currently affect rendering.
Properties
DataIsHyperlink
When
true, this element's data cells are marked as hyperlinks (a per-cell
IsHyperlink is applied at ToGrid() time, so the
flag never bleeds onto the header caption or frame cells). The render pipeline then derives each
data cell's hyperlink target from its own full visible value. Header captions are never links.public bool DataIsHyperlink { get; set; }
Property Value
DataStyle
Element-axis defaults for data cells (width/min/max, wrapping, horizontal/vertical alignment,
formatting mode, formatter, null display, char style).
Layout properties are applied to the data band via axis styling; the char style (value ink,
e.g. a Link underline) is applied per data cell at ToGrid() time so it
never bleeds onto the header caption or frame cells crossing the axis. Not meant for
per-cell overrides.
public CliCellStyle? DataStyle { get; set; }
Property Value
HeaderContent
Header caption content for this element (usually a string; may include TigerCli markup
if the effective FormattingMode for the header band is Preformatted).
public object? HeaderContent { get; set; }
Property Value
HeaderStyle
Header-only overrides for the caption cell of this element (e.g., header alignment/char style).
Typically uses Preformatted formatting mode for markup captions.
public CliCellStyle? HeaderStyle { get; set; }