2 instantiations of GridItemsLayout
Microsoft.Maui.Controls (2)
Items\ItemsLayoutTypeConverter.cs (2)
44 return new GridItemsLayout(orientation.Value); 49 return new GridItemsLayout(span, orientation.Value);
24 references to GridItemsLayout
Microsoft.Maui.Controls (24)
Handlers\Items\iOS\GridViewLayout.cs (5)
13 readonly GridItemsLayout _itemsLayout; 15 public GridViewLayout(GridItemsLayout itemsLayout, ItemSizingStrategy itemSizingStrategy) : base(itemsLayout, itemSizingStrategy) 22 if (CollectionView != null && propertyChanged.IsOneOf(GridItemsLayout.SpanProperty, GridItemsLayout.HorizontalItemSpacingProperty, 23 GridItemsLayout.VerticalItemSpacingProperty))
Handlers\Items\iOS\GroupableItemsViewController.cs (1)
196 if (ItemsView?.ItemsLayout is GridItemsLayout gridItemsLayout)
Handlers\Items\iOS\ItemsViewLayout.cs (5)
101 GridItemsLayout.HorizontalItemSpacingProperty, GridItemsLayout.VerticalItemSpacingProperty)) 144 if (_itemsLayout is GridItemsLayout gridItemsLayout) 182 if (_itemsLayout is GridItemsLayout gridItemsLayout) 387 if (_itemsLayout is GridItemsLayout gridItemsLayout)
Handlers\Items\StructuredItemsViewHandler.iOS.cs (1)
17 if (itemsLayout is GridItemsLayout gridItemsLayout)
Handlers\Items2\CollectionViewHandler2.iOS.cs (4)
161 if (itemsLayout is GridItemsLayout gridItemsLayout) 208 args.PropertyName == nameof(GridItemsLayout.VerticalItemSpacing) || 209 args.PropertyName == nameof(GridItemsLayout.HorizontalItemSpacing) || 210 args.PropertyName == nameof(GridItemsLayout.Span) ||
Handlers\Items2\iOS\GroupableItemsViewController2.cs (1)
152 else if (this.ItemsView.ItemsLayout is GridItemsLayout gridItemsLayout)
Handlers\Items2\iOS\LayoutFactory2.cs (3)
17 public static UICollectionViewLayout CreateGrid(GridItemsLayout gridItemsLayout, 225 public static UICollectionViewLayout CreateVerticalGrid(GridItemsLayout gridItemsLayout, 244 public static UICollectionViewLayout CreateHorizontalGrid(GridItemsLayout gridItemsLayout,
Items\GridItemsLayout.cs (3)
9 BindableProperty.Create(nameof(Span), typeof(int), typeof(GridItemsLayout), 1, 33 BindableProperty.Create(nameof(VerticalItemSpacing), typeof(double), typeof(GridItemsLayout), default(double), 45 BindableProperty.Create(nameof(HorizontalItemSpacing), typeof(double), typeof(GridItemsLayout), default(double),
Items\ItemsLayoutTypeConverter.cs (1)
62 if (value is GridItemsLayout gil)