Xamarin.Forms.ItemsView<TVisual>.ItemsSource Property
Gets or sets the source of items to template and display.

Syntax

public IEnumerable ItemsSource { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

While any IEnumerable implementer is accepted, any that do not implement IList or IReadOnlyList<T> (where T is a class) will be converted to list by iterating.

If your collection implements System.Collections.Specialized.INotifyCollectionChanged, any changes raised from the event on this interface will be reflected in the items view. Note that if the event is raised on another thread the main thread, the results will be unpredictable depending on the platform. To safely modify your collection (and raise the event) from another thread, call BindingBase.EnableCollectionSynchronization to enable proper synchronization of access to the thread.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0