Table of Contents

Class TreeTableSource<T>

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

An ITableSource with expandable rows.

public class TreeTableSource<T> : IEnumerableTableSource<T>, ITableSource, IDisposable where T : class

Type Parameters

T
Inheritance
TreeTableSource<T>
Implements
Inherited Members

Constructors

TreeTableSource(TableView, string, TreeView<T>, Dictionary<string, Func<T, object>>)

Creates a new instance of TreeTableSource<T> presenting the given tree. This source should only be used with table.

Properties

ColumnNames

Gets the label for each column.

Columns

Gets the number of columns in the table.

this[int, int]

Returns the data at the given indexes of the table (row, column).

Rows

Gets the number of rows in the table.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetAllObjects()

Return all objects in the table.

GetObjectOnRow(int)

Return the object on the given row.

RowToObject(int)

Returns the tree model object rendering on the given row of the table.