Table of Contents

Class TableData

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

Represents the parsed structure of a Markdown table.

public sealed class TableData
Inheritance
TableData
Inherited Members

Constructors

TableData(string[], Alignment[], string[][])

Initializes a new TableData from parsed table rows.

Properties

ColumnAlignments

Gets the alignment for each column, parsed from the separator row.

ColumnCount

Gets the number of columns in the table.

Headers

Gets the header cell texts.

Rows

Gets the body rows. Each row is an array of cell texts.

Methods

TryParse(IReadOnlyList<string>)

Parses consecutive raw table lines into a TableData instance.