Table of Contents

Class ListWrapper

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Provides a default implementation of IListDataSource that renders ListView items using ToString().

public class ListWrapper : IListDataSource
Inheritance
ListWrapper
Implements
Inherited Members

Constructors

ListWrapper(IList)

Properties

Count

Returns the number of elements to display

Length

Returns the maximum length of elements to display

Methods

IsMarked(int)

Should return whether the specified item is currently marked.

Render(ListView, ConsoleDriver, bool, int, int, int, int, int)

This method is invoked to render a specified item, the method should cover the entire provided width.

SetMark(int, bool)

Flags the item as marked.

StartsWith(string)
ToList()

Return the source as IList.