Terminal.Gui
1.0.0.0
Terminal.Gui.View
ListView widget renders a list of data.
The ListView displays lists of data and allows the user to scroll through the data
and optionally mark elements of the list (controlled by the AllowsMark property).
The ListView can either render an arbitrary IList object (for example, arrays, List<T>
and other collections) which are drawn by drawing the string/ustring contents or the
result of calling ToString(). Alternatively, you can provide you own IListDataSource
object that gives you full control of what is rendered.
The ListView can display any object that implements the System.Collection.IList interface,
string values are converted into ustring values before rendering, and other values are
converted into ustrings by calling ToString() and then converting to ustring.
If you must change the contents of the ListView, set the Source property (when you are
providing your own rendering via the IListDataSource implementation) or call SetSource
when you are providing an IList.
Constructor
1.0.0.0
Initializes a new instance of the class. You must set the Source property for this to show something.
To be added.
Constructor
1.0.0.0
An IList data source, if the elements of the IList are strings or ustrings, the string is rendered, otherwise the ToString() method is invoked on the result.
Initializes a new ListView that will display the contents of the object implementing the IList interface, with relative positioning
To be added.
Constructor
1.0.0.0
IListDataSource object that provides a mechanism to render the data. The number of elements on the collection should not change, if you must change, set the "Source" property to reset the internal settings of the ListView.
Initializes a new ListView that will display the provided data source, uses relative positioning.
To be added.
Constructor
1.0.0.0
Frame for the listview.
An IList data source, if the elements of the IList are strings or ustrings, the string is rendered, otherwise the ToString() method is invoked on the result.
Initializes a new ListView that will display the contents of the object implementing the IList interface with an absolute position.
To be added.
Constructor
1.0.0.0
Frame for the listview.
IListDataSource object that provides a mechanism to render the data. The number of elements on the collection should not change, if you must change, set the "Source" property to reset the internal settings of the ListView.
Initializes a new ListView that will display the provided data source with an absolute position
To be added.
Property
1.0.0.0
System.Boolean
Gets or sets a value indicating whether this allows items to be marked.
true if allows marking elements of the list; otherwise, false.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Void
Positions the cursor in this view
To be added.
Method
1.0.0.0
System.Boolean
Keyboard event.
Handles cursor movement for this view, passes all other events.
true, if key was processed, false otherwise.
To be added.
Method
1.0.0.0
System.Void
Region.
Redraws the ListView
To be added.
Event
1.0.0.0
System.Action
This event is raised when the cursor selection has changed.
To be added.
Property
1.0.0.0
System.Int32
Gets or sets the currently selecteded item.
The selected item.
To be added.
Method
1.0.0.0
System.Void
To be added.
Sets the source to an IList value, if you want to set a full IListDataSource, use the Source property.
An item implementing the IList interface.
To be added.
Property
1.0.0.0
Terminal.Gui.IListDataSource
Gets or sets the IListDataSource backing this view, use SetSource() if you want to set a new IList source.
The source.
To be added.
Property
1.0.0.0
System.Int32
Gets or sets the item that is displayed at the top of the listview
The top item.
To be added.