Table of Contents

Class CliTableTitle

Namespace
ItTiger.TigerCli.Rendering
Assembly
ItTiger.TigerCli.dll
Title content and style used by CliTable when materializing a table.
public sealed class CliTableTitle
Inheritance
CliTableTitle
Inherited Members

Constructors

CliTableTitle(object?, CliCellStyle)

Creates a title from arbitrary content and an explicit title style.
public CliTableTitle(object? content, CliCellStyle style)

Parameters

content object
style CliCellStyle

CliTableTitle(string, CliTextAlignment, CliCharStyle?)

Creates a preformatted, markup-aware title with an optional alignment and character style.
public CliTableTitle(string content, CliTextAlignment alignment = CliTextAlignment.Center, CliCharStyle? charStyle = null)

Parameters

content string
alignment CliTextAlignment
charStyle CliCharStyle?

Properties

Content

Title content rendered above the table body.
public object? Content { get; init; }

Property Value

object

Style

Style used to format, align, and render the title cell.
public CliCellStyle Style { get; init; }

Property Value

CliCellStyle