[]
        
(Showing Draft Content)

C1.Win.DataCollection.ListViewEx.SetItemsSource

SetItemsSource Method

SetItemsSource(ListView, IEnumerable, string, string?)

Populates items and groups of ListView according to the source, supporting grouping, sorting and filtering.

Declaration
public static IDataCollection<object?> SetItemsSource(this ListView list, IEnumerable source, string textMemberPath = "", string? largeIconMemberPath = null)
Parameters
Type Name Description
ListView list

The list that will be populated.

IEnumerable source

The data source.

string textMemberPath

The name of the property where the text of the item comes from.

string largeIconMemberPath

The name of the property containing the urls of the images that will be downloaded to the LargeImageList.

Returns
Type Description
IDataCollection<object>