Constructor ListView
ListView(IList)
Initializes a new instance of ListView that will display the contents of the object implementing the IList interface, with relative positioning.
public ListView(IList source)
Parameters
sourceIListAn IList data source, if the elements are strings or ustrings, the string is rendered, otherwise the ToString() method is invoked on the result.
ListView(IListDataSource)
Initializes a new instance of ListView that will display the provided data source, using relative positioning.
public ListView(IListDataSource source)
Parameters
sourceIListDataSourceIListDataSource 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.
ListView()
public ListView()
ListView(Rect, IList)
Initializes a new instance of ListView that will display the contents of the object implementing the IList interface with an absolute position.
public ListView(Rect rect, IList source)
Parameters
rectRectFrame for the listview.
sourceIListAn 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.
ListView(Rect, IListDataSource)
Initializes a new instance of ListView with the provided data source and an absolute position
public ListView(Rect rect, IListDataSource source)
Parameters
rectRectFrame for the listview.
sourceIListDataSourceIListDataSource 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.