DXCollectionView.ItemsSource Property
Gets or sets the CollectionView’s data source. This is a bindable property.
Namespace: DevExpress.Maui.CollectionView
Assembly: DevExpress.Maui.CollectionView.dll
NuGet Package: DevExpress.Maui.CollectionView
Declaration
public object ItemsSource { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Object | An object that implements the IList, IList<T>, IEnumerable or IEnumerable<T> interface and specifies the data source from which the CollectionView retrieves its data. You can also use a DataTable object as the data source. |
Remarks
If the CollectionView’s data source is a collection that implements the IBindingList or INotifyCollectionChanged interface, the CollectionView is automatically updated when the collection is changed (items are added, moved, or deleted). If an item of the CollectionView’s bound data source implements the INotifyPropertyChanged interface, the CollectionView is automatically updated when the collection’s item is changed.
For more information on how to populate a CollectionView with data, refer to the following help topic: Bind DXCollectionView to a Data Source and Interact with Items.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ItemsSource property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.