1 write to Controller
Microsoft.Maui.Controls (1)
Handlers\Items2\ItemsViewHandler2.iOS.cs (1)
59
Controller
= CreateController(ItemsView, _layout);
32 references to Controller
Microsoft.Maui.Controls (32)
Handlers\Items2\CarouselViewHandler2.iOS.cs (11)
95
if (Math.Abs(page % 1) > (double.Epsilon * 100) ||
Controller
.ItemsSource.ItemCount <= 0)
103
var cv2Controller = (CarouselViewController2)
Controller
;
108
var maxIndex = (
Controller
.ItemsSource as ILoopItemsViewSource).LoopCount - 1;
136
Controller
.CollectionView.ScrollToItem(NSIndexPath.FromItemSection(pageIndex, 0), UICollectionViewScrollPosition.Left, false);
155
var goToIndexPath = (
Controller
as CarouselViewController2).GetScrollToIndexPath(args.Index);
165
Controller
.CollectionView.ScrollToItem(goToIndexPath,
177
handler.
Controller
.CollectionView.ScrollEnabled = carouselView.IsSwipeEnabled;
182
handler.
Controller
.CollectionView.Bounces = carouselView.IsBounceEnabled;
192
(handler.
Controller
as CarouselViewController2)?.UpdateFromCurrentItem();
199
if (handler.
Controller
is CarouselViewController2 CarouselViewController2 && CarouselViewController2.InitialPositionSet)
207
(handler.
Controller
as CarouselViewController2)?.UpdateLoop();
Handlers\Items2\CollectionViewHandler2.iOS.cs (6)
70
(handler.
Controller
as ReorderableItemsViewController2<ReorderableItemsView>)?.UpdateCanReorderItems();
80
(
Controller
as GroupableItemsViewController2<ReorderableItemsView>)?.SetScrollAnimationEndedCallback(() => base.ScrollToRequested(sender, args));
93
handler.
Controller
?.UpdateItemsSource();
113
(handler.
Controller
as SelectableItemsViewController2<ReorderableItemsView>)?.UpdatePlatformSelection();
118
(handler.
Controller
as SelectableItemsViewController2<ReorderableItemsView>)?.UpdatePlatformSelection();
123
(handler.
Controller
as SelectableItemsViewController2<ReorderableItemsView>)?.UpdateSelectionMode();
Handlers\Items2\ItemsViewHandler2.iOS.cs (15)
45
Controller
?.DisposeItemsSource();
52
Controller
.CollectionView.BackgroundColor = UIColor.Clear;
73
var controllerView =
Controller
?.View ?? throw new InvalidOperationException("ItemsViewController2's view should not be null at this point.");
80
handler.
Controller
?.UpdateItemsSource();
85
handler.
Controller
?.CollectionView?.UpdateHorizontalScrollBarVisibility(itemsView.HorizontalScrollBarVisibility);
90
handler.
Controller
?.CollectionView?.UpdateVerticalScrollBarVisibility(itemsView.VerticalScrollBarVisibility);
100
handler.
Controller
?.UpdateEmptyView();
105
handler.
Controller
?.UpdateEmptyView();
110
handler.
Controller
?.UpdateFlowDirection();
115
handler.
Controller
?.UpdateVisibility();
127
Controller
?.UpdateLayout(_layout);
142
Controller
.CollectionView.ScrollToItem(indexPath,
158
return
Controller
.GetIndexForItem(args.Item);
169
var collectionView =
Controller
.CollectionView;
185
var contentSize =
Controller
.GetSize();