2 writes to ItemsViewLayout
Microsoft.Maui.Controls (2)
Handlers\Items\iOS\ItemsViewController.cs (2)
55 ItemsViewLayout = layout; 64 ItemsViewLayout = newLayout;
44 references to ItemsViewLayout
Microsoft.Maui.Controls (44)
Handlers\Items\iOS\CarouselViewController.cs (1)
169 protected override UICollectionViewDelegateFlowLayout CreateDelegator() => new CarouselViewDelegator(ItemsViewLayout, this);
Handlers\Items\iOS\GroupableItemsViewController.cs (5)
33 return new GroupableItemsViewDelegator<TItemsView, GroupableItemsViewController<TItemsView>>(ItemsViewLayout, this); 99 cell.ConstrainTo(GetLayoutSpanCount() * ItemsViewLayout.ConstrainedDimension); 115 cell.ConstrainTo(GetLayoutSpanCount() * ItemsViewLayout.ConstrainedDimension); 131 return ItemsViewLayout.ScrollDirection == UICollectionViewScrollDirection.Horizontal 136 return ItemsViewLayout.ScrollDirection == UICollectionViewScrollDirection.Horizontal
Handlers\Items\iOS\ItemsViewController.cs (31)
100 ItemsViewLayout?.Dispose(); 140 ItemsViewLayout?.ClearCellSizeCache(); 153 ItemsViewLayout.ConstrainTo(CollectionView.Bounds.Size); 188 var collectionView = new MauiCollectionView(CGRect.Empty, ItemsViewLayout); 287 ItemsViewLayout.UpdateConstraints(constrainedSize); 300 ItemsViewLayout.GetPrototype = _getPrototype; 303 ItemsViewLayout.GetPrototypeForIndexPath = _getPrototypeForIndexPath; 308 ItemsViewLayout.SetInitialConstraints(CollectionView.Bounds.Size); 309 CollectionView.SetCollectionViewLayout(ItemsViewLayout, false); 316 return new ItemsViewDelegator<TItemsView, ItemsViewController<TItemsView>>(ItemsViewLayout, this); 327 ItemsViewLayout?.ClearCellSizeCache(); 340 ItemsViewLayout?.ClearCellSizeCache(); 370 ItemsViewLayout.PrepareCellForLayout(constrainedCell); 397 ItemsViewLayout.PrepareCellForLayout(cell); 427 ItemsViewLayout?.InvalidateLayout(); 450 ItemsViewLayout.CacheCellSize(item, size); 462 var cellOrientation = ItemsViewLayout.ScrollDirection == UICollectionViewScrollDirection.Vertical ? "v" : "h"; 463 var cellType = ItemsViewLayout.ScrollDirection == UICollectionViewScrollDirection.Vertical ? typeof(VerticalCell) : typeof(HorizontalCell); 476 return ItemsViewLayout.ScrollDirection == UICollectionViewScrollDirection.Horizontal 486 return ItemsViewLayout.ScrollDirection == UICollectionViewScrollDirection.Horizontal 491 return ItemsViewLayout.ScrollDirection == UICollectionViewScrollDirection.Horizontal 733 var frame = new CGRect(0, 0, ItemsViewLayout.EstimatedItemSize.Width, ItemsViewLayout.EstimatedItemSize.Height); 735 if (ItemsViewLayout.ScrollDirection == UICollectionViewScrollDirection.Horizontal) 747 var frame = new CGRect(0, 0, ItemsViewLayout.EstimatedItemSize.Width, ItemsViewLayout.EstimatedItemSize.Height); 750 if (ItemsViewLayout.ScrollDirection == UICollectionViewScrollDirection.Horizontal) 776 if (ItemsViewLayout.EstimatedItemSize.IsEmpty) 778 return ItemsViewLayout.ItemSize; 785 if (item != null && ItemsViewLayout.TryGetCachedCellSize(item, out CGSize size)) 791 return ItemsViewLayout.EstimatedItemSize;
Handlers\Items\iOS\ReorderableItemsViewController.cs (1)
33 return new ReorderableItemsViewDelegator<TItemsView, ReorderableItemsViewController<TItemsView>>(ItemsViewLayout, this);
Handlers\Items\iOS\SelectableItemsViewController.cs (1)
21 return new SelectableItemsViewDelegator<TItemsView, SelectableItemsViewController<TItemsView>>(ItemsViewLayout, this);
Handlers\Items\iOS\StructuredItemsViewController.cs (5)
113 if (_footerUIView.Frame.X != ItemsViewLayout.CollectionViewContentSize.Width || 119 if (_footerUIView.Frame.Y != ItemsViewLayout.CollectionViewContentSize.Height || 212 if (_footerUIView != null && (_footerUIView.Frame.X != ItemsViewLayout.CollectionViewContentSize.Width || emptyWidth > 0)) 213 _footerUIView.Frame = new CoreGraphics.CGRect(ItemsViewLayout.CollectionViewContentSize.Width + emptyWidth, 0, footerWidth, CollectionView.Frame.Height); 262 height = ItemsViewLayout.CollectionViewContentSize.Height;