Xamarin.Forms.ItemsView<TVisual> Class
A base class for a view that contains a templated list of items.

See Also: ItemsView<TVisual> Members

Syntax

public abstract class ItemsView<TVisual> : View, IItemsView<TVisual>
where TVisual : Xamarin.Forms.BindableObject

Type Parameters

TVisual
The type of visual that the ItemsView<TVisual>.ItemsSource items will be templated into.

Remarks

This class is used as a base class for views that wish to take in a list of user objects and produce views for each of them to be displayed, such as Xamarin.Forms.ListView. The generic argument is used to specify the type of visual that the view expects. In the case of Xamarin.Forms.ListView, only Xamarin.Forms.Cell subclasses are accepted, so that's what it provides as its argument.

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