Class ActivityTextCellBuilder
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
alignmentCliTextAlignment
Returns
Cell(int, int)
Begins the next cell in the row (see Cell(int, int)).
public ActivityCellBuilder Cell(int column, int span = 1)
Parameters
Returns
Padding(CliCellPadding)
Sets the text element's cell padding (overrides the column padding). Returns this builder.
public ActivityTextCellBuilder Padding(CliCellPadding padding)
Parameters
paddingCliCellPadding
Returns
Style(ThemeStyle)
Sets the text element's explicit theme style (highest precedence). Returns this builder.
public ActivityTextCellBuilder Style(ThemeStyle style)
Parameters
styleThemeStyle
Returns
Values(params object?[])
Declares the row's fixed-length value array (see Values(params object?[])).
public ActivityRowBuilder Values(params object?[] values)
Parameters
valuesobject[]