Class ActivityTextElement
A single-line text element. Template is trusted TigerCli markup that may contain
composite placeholders (
{0}, {2,5:F1}, …); the substituted values are formatted and
markup-escaped at render time (see ItTiger.TigerCli.Markup.SafeMarkupFormatter) so data can never inject markup.public sealed class ActivityTextElement : ActivityElement
- Inheritance
-
ActivityTextElement
- Inherited Members
Constructors
ActivityTextElement(string)
Creates a text element from a trusted markup template.
public ActivityTextElement(string template)
Parameters
templatestring- The markup template, optionally containing composite placeholders for the activity row values.
Properties
Alignment
Optional explicit horizontal alignment for this text. When set it takes precedence over the column
default and the spec default. Set fluently via Align(CliTextAlignment).
public CliTextAlignment? Alignment { get; }
Property Value
Padding
Optional explicit cell padding for this text. When set it overrides the column padding. Set
fluently via Padding(CliCellPadding).
public CliCellPadding? Padding { get; }
Property Value
Style
Optional explicit theme style for this text. When set it takes precedence over the column default
and the spec default. Set fluently via Style(ThemeStyle).
public ThemeStyle? Style { get; }
Property Value
Template
The trusted markup template with optional composite placeholders.
public string Template { get; }