Skip to main content
You are viewing help content for pre-release software. This document and the features it describes are subject to change. .

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
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.

See Also