public MainPage() { BackgroundColor = Color.Beige; Content = new Xamarin.Forms.CollectionView { SelectionMode = SelectionMode.Multiple, ItemsLayout = ListItemsLayout.Vertical, ItemTemplate = new ItemTemplate(), ItemsSource = new List <int> { 1, 2, 3, 4, 5, 6 } }; }
public CollectionViewHandler(NativeComponentRenderer renderer, XF.CollectionView collectionViewControl) : base(renderer, collectionViewControl) { CollectionViewControl = collectionViewControl ?? throw new ArgumentNullException(nameof(collectionViewControl)); }
protected internal ItemsView() { CollectionView.VerifyCollectionViewFlagEnabled(constructorHint: nameof(ItemsView)); }