Table of Contents

Class ActivityTextCellBuilder

Namespace
ItTiger.TigerCli.Tui.Activity
Assembly
ItTiger.TigerCli.dll
Continues the fluent chain after Text(string). Optionally refines the just-added text element's Style(ThemeStyle) and Align(CliTextAlignment)ment, then starts the next Cell(int, int) or declares the row's Values(params object?[]). Style/alignment live here, not on Text(...), because a text template may contain composite placeholders, so trailing parameters there would be ambiguous.
public sealed class ActivityTextCellBuilder
Inheritance
ActivityTextCellBuilder
Inherited Members

Methods

Align(CliTextAlignment)

Sets the text element's explicit horizontal alignment (highest precedence). Returns this builder.
public ActivityTextCellBuilder Align(CliTextAlignment alignment)

Parameters

alignment CliTextAlignment

Returns

ActivityTextCellBuilder

Cell(int, int)

Begins the next cell in the row (see Cell(int, int)).
public ActivityCellBuilder Cell(int column, int span = 1)

Parameters

column int
span int

Returns

ActivityCellBuilder

Padding(CliCellPadding)

Sets the text element's cell padding (overrides the column padding). Returns this builder.
public ActivityTextCellBuilder Padding(CliCellPadding padding)

Parameters

padding CliCellPadding

Returns

ActivityTextCellBuilder

Style(ThemeStyle)

Sets the text element's explicit theme style (highest precedence). Returns this builder.
public ActivityTextCellBuilder Style(ThemeStyle style)

Parameters

style ThemeStyle

Returns

ActivityTextCellBuilder

Values(params object?[])

Declares the row's fixed-length value array (see Values(params object?[])).
public ActivityRowBuilder Values(params object?[] values)

Parameters

values object[]

Returns

ActivityRowBuilder