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 728 var frame = new CGRect(0, 0, ItemsViewLayout.EstimatedItemSize.Width, ItemsViewLayout.EstimatedItemSize.Height); 730 if (ItemsViewLayout.ScrollDirection == UICollectionViewScrollDirection.Horizontal) 742 var frame = new CGRect(0, 0, ItemsViewLayout.EstimatedItemSize.Width, ItemsViewLayout.EstimatedItemSize.Height); 745 if (ItemsViewLayout.ScrollDirection == UICollectionViewScrollDirection.Horizontal) 771 if (ItemsViewLayout.EstimatedItemSize.IsEmpty) 773 return ItemsViewLayout.ItemSize; 780 if (item != null && ItemsViewLayout.TryGetCachedCellSize(item, out CGSize size)) 786 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)
99 if (_footerUIView.Frame.X != ItemsViewLayout.CollectionViewContentSize.Width || 105 if (_footerUIView.Frame.Y != ItemsViewLayout.CollectionViewContentSize.Height || 178 if (_footerUIView != null && (_footerUIView.Frame.X != ItemsViewLayout.CollectionViewContentSize.Width || emptyWidth > 0)) 179 _footerUIView.Frame = new CoreGraphics.CGRect(ItemsViewLayout.CollectionViewContentSize.Width + emptyWidth, 0, footerWidth, CollectionView.Frame.Height); 231 height = ItemsViewLayout.CollectionViewContentSize.Height;