TableRowCollection Class

Represents a collection holding table rows.
public sealed class TableRowCollection : IReadOnlyList<TableRow>, IReadOnlyCollection<TableRow>, 
    IEnumerable<TableRow>, IEnumerable
Namespace
Spectre.Console
Interfaces

Properties

int Count
Gets the number of rows in the collection.

Methods

int Add(IEnumerable<IRenderable>)
Adds a new row.
void Clear()
Clears all rows.
IEnumerator<TableRow> GetEnumerator()
int Insert(int, IEnumerable<IRenderable>)
Inserts a new row at the specified index.
void RemoveAt(int)
Removes a row at the specified index.
void Update(int, int, IRenderable)
Update a table cell at the specified index.