2 writes to ItemsViewLayout
Microsoft.Maui.Controls.Compatibility (2)
iOS\CollectionView\ItemsViewController.cs (2)
35
ItemsViewLayout
= layout;
44
ItemsViewLayout
= newLayout;
38 references to ItemsViewLayout
Microsoft.Maui.Controls.Compatibility (38)
iOS\CollectionView\CarouselViewController.cs (1)
137
protected override UICollectionViewDelegateFlowLayout CreateDelegator() => new CarouselViewDelegator(
ItemsViewLayout
, this);
iOS\CollectionView\GroupableItemsViewController.cs (6)
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
215
var uIEdgeInsets =
ItemsViewLayout
.GetInsetForSection(collectionView, itemsViewLayout, section);
iOS\CollectionView\ItemsViewController.cs (25)
75
ItemsViewLayout
?.Dispose();
115
ItemsViewLayout
?.ClearCellSizeCache();
128
ItemsViewLayout
.ConstrainTo(CollectionView.Bounds.Size);
174
ItemsViewLayout
.UpdateConstraints(CollectionView.Bounds.Size);
178
ItemsViewLayout
.UpdateConstraints(new CGSize(itemsViewWidth, itemsViewHeight));
190
ItemsViewLayout
.GetPrototype = GetPrototype;
195
ItemsViewLayout
.SetInitialConstraints(CollectionView.Bounds.Size);
196
CollectionView.SetCollectionViewLayout(
ItemsViewLayout
, false);
203
return new ItemsViewDelegator<TItemsView, ItemsViewController<TItemsView>>(
ItemsViewLayout
, this);
214
ItemsViewLayout
?.ClearCellSizeCache();
245
ItemsViewLayout
.PrepareCellForLayout(constrainedCell);
272
ItemsViewLayout
.PrepareCellForLayout(cell);
323
ItemsViewLayout
.CacheCellSize(item, size);
331
return
ItemsViewLayout
.ScrollDirection == UICollectionViewScrollDirection.Horizontal
336
return
ItemsViewLayout
.ScrollDirection == UICollectionViewScrollDirection.Horizontal
566
var frame = new CGRect(0, 0,
ItemsViewLayout
.EstimatedItemSize.Width,
ItemsViewLayout
.EstimatedItemSize.Height);
568
if (
ItemsViewLayout
.ScrollDirection == UICollectionViewScrollDirection.Horizontal)
580
var frame = new CGRect(0, 0,
ItemsViewLayout
.EstimatedItemSize.Width,
ItemsViewLayout
.EstimatedItemSize.Height);
583
if (
ItemsViewLayout
.ScrollDirection == UICollectionViewScrollDirection.Horizontal)
608
if (
ItemsViewLayout
.EstimatedItemSize.IsEmpty)
610
return
ItemsViewLayout
.ItemSize;
617
if (item != null &&
ItemsViewLayout
.TryGetCachedCellSize(item, out CGSize size))
623
return
ItemsViewLayout
.EstimatedItemSize;
iOS\CollectionView\SelectableItemsViewController.cs (1)
20
return new SelectableItemsViewDelegator<TItemsView, SelectableItemsViewController<TItemsView>>(
ItemsViewLayout
, this);
iOS\CollectionView\StructuredItemsViewController.cs (5)
90
if (_footerUIView.Frame.X !=
ItemsViewLayout
.CollectionViewContentSize.Width ||
96
if (_footerUIView.Frame.Y !=
ItemsViewLayout
.CollectionViewContentSize.Height ||
164
if (_footerUIView != null && (_footerUIView.Frame.X !=
ItemsViewLayout
.CollectionViewContentSize.Width || emptyWidth > 0))
165
_footerUIView.Frame = new CoreGraphics.CGRect(
ItemsViewLayout
.CollectionViewContentSize.Width + emptyWidth, 0, footerWidth, CollectionView.Frame.Height);
214
height =
ItemsViewLayout
.CollectionViewContentSize.Height;