Class TreeTableSource | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

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

Type Parameters

T

Inheritance

TreeTableSource

Implements

Inherited Members

Constructors

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

Creates a new instance of TreeTableSource 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.