Пример #1
0
 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
         }
     };
 }
Пример #2
0
 public CollectionViewHandler(NativeComponentRenderer renderer, XF.CollectionView collectionViewControl) : base(renderer, collectionViewControl)
 {
     CollectionViewControl = collectionViewControl ?? throw new ArgumentNullException(nameof(collectionViewControl));
 }
Пример #3
0
 protected internal ItemsView()
 {
     CollectionView.VerifyCollectionViewFlagEnabled(constructorHint: nameof(ItemsView));
 }