1 write to Span
Microsoft.Maui.Controls (1)
Items\GridItemsLayout.cs (1)
28
Span
= span;
17 references to Span
Microsoft.Maui.Controls (17)
Handlers\Items\iOS\GridViewLayout.cs (7)
44
spacing = ReduceSpacingToFitIfNeeded(availableSpace, spacing, _itemsLayout.
Span
);
46
spacing *= (_itemsLayout.
Span
- 1);
48
ConstrainedDimension = (availableSpace - spacing) / _itemsLayout.
Span
;
205
return ReduceSpacingToFitIfNeeded(availableSpace, requestedSpacing, _itemsLayout.
Span
);
212
var span = _itemsLayout.
Span
;
283
if (itemCount < _itemsLayout.
Span
)
289
if (itemCount % _itemsLayout.
Span
== 0)
Handlers\Items\iOS\GroupableItemsViewController.cs (1)
198
span = gridItemsLayout.
Span
;
Handlers\Items\iOS\ItemsViewLayout.cs (1)
389
span = gridItemsLayout.
Span
;
Handlers\Items2\CollectionViewHandler2.iOS.cs (1)
210
args.PropertyName == nameof(GridItemsLayout.
Span
) ||
Handlers\Items2\iOS\LayoutFactory2.cs (4)
232
NSCollectionLayoutDimension.CreateFractionalWidth(1f / gridItemsLayout.
Span
),
241
gridItemsLayout.
Span
);
253
NSCollectionLayoutDimension.CreateFractionalHeight(1f / gridItemsLayout.
Span
),
260
gridItemsLayout.
Span
);
Items\GridItemsLayout.cs (2)
7
/// <summary>Bindable property for <see cref="
Span
"/>.</summary>
9
BindableProperty.Create(nameof(
Span
), typeof(int), typeof(GridItemsLayout), 1,
Items\ItemsLayoutTypeConverter.cs (1)
63
return $"{gil.Orientation}Grid,{gil.
Span
}";