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

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

ITableSource implementation that wraps a IList. This class is mutable: changes are permitted to the wrapped IList.

public class ListTableSource : ITableSource

Inheritance

ListTableSource

Implements

Inherited Members

Constructors

ListTableSource(IList, TableView)

ListTableSource(IList, TableView, ListColumnStyle)

Creates a new columned list table instance based on the data in list and dimensions fromtableView.

Fields

List

The list this source wraps.

Style

The style this source uses.

Properties

ColumnNames

Gets the label for each column.

Columns

Gets the number of columns in the table.

Count

The number of items in the IList source

DataTable

The data table this source wraps.

this[int, int]

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

Rows

Gets the number of rows in the table.