Skip to main content

DXCollectionView.ItemsSource Property

Gets or sets the CollectionView’s data source.

Namespace: DevExpress.XamarinForms.CollectionView

Assembly: DevExpress.XamarinForms.CollectionView.dll

NuGet Package: DevExpress.XamarinForms.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 if 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.

See Also