3 writes to ItemsSource
Microsoft.Maui.Controls (3)
Handlers\Items2\iOS\ItemsViewController2.cs (3)
158 ItemsSource = CreateItemsViewSource(); 212 ItemsSource = new Items.EmptySource(); 246 ItemsSource = CreateItemsViewSource();
44 references to ItemsSource
Microsoft.Maui.Controls (44)
Handlers\Items2\CarouselViewHandler2.iOS.cs (2)
104 if (Math.Abs(page % 1) > (double.Epsilon * 100) || Controller.ItemsSource.ItemCount <= 0) 117 var maxIndex = (Controller.ItemsSource as ILoopItemsViewSource).LoopCount - 1;
Handlers\Items2\iOS\CarouselViewController2.cs (21)
23 Items.ILoopItemsViewSource LoopItemsSource => ItemsSource as Items.ILoopItemsViewSource; 96 UnsubscribeCollectionItemsSourceChanged(ItemsSource); 149 UnsubscribeCollectionItemsSourceChanged(ItemsSource); 162 SubscribeCollectionItemsSourceChanged(ItemsSource); 226 var count = ItemsSource.ItemCount; 236 var currentItemPosition = ItemsSource.GetIndexForItem(carousel.CurrentItem).Row; 326 UnsubscribeCollectionItemsSourceChanged(ItemsSource); 374 if (ItemsSource is null || ItemsSource.ItemCount == 0) 395 if (ItemsSource is null || ItemsSource.ItemCount == 0) 417 if (ItemsSource is null || ItemsSource.ItemCount == 0) 437 if (carousel.CurrentItem is null || ItemsSource is null || ItemsSource.ItemCount == 0) 461 if (ItemsSource is null || ItemsSource.ItemCount == 0) 481 if (ItemsSource is null) 497 var positionCurrentItem = ItemsSource.GetIndexForItem(currentItem).Row; 524 if (ItemsSource is null || ItemsSource.ItemCount == 0)
Handlers\Items2\iOS\GroupableItemsViewController2.cs (2)
120 cell.Label.Text = ItemsSource?.Group(indexPath)?.ToString(); 134 var bindingContext = ItemsSource.Group(indexPath);
Handlers\Items2\iOS\ItemsViewController2.cs (14)
88 ItemsSource?.Dispose(); 117 TemplatedCell2.Bind(ItemsView.ItemTemplate, ItemsSource[indexpathAdjusted], ItemsView); 121 DefaultCell2.Label.Text = ItemsSource[indexpathAdjusted].ToString(); 131 return ItemsSource.ItemCountInGroup(section); 138 _isEmpty = ItemsSource.ItemCount == 0; 211 ItemsSource?.Dispose(); 245 ItemsSource?.Dispose(); 274 if (ItemsSource == null) 280 return ItemsSource.GroupCount; 286 return ItemsSource.GetIndexForItem(item); 291 return ItemsSource[index]; 298 var item = ItemsSource[indexPath]; 429 UpdateEmptyViewVisibility(ItemsSource?.ItemCount == 0); 589 var itemsSource = ItemsSource;
Handlers\Items2\iOS\ItemsViewDelegator2.cs (2)
56 var source = viewController.ItemsSource; 142 IItemsViewSource source = ViewController.ItemsSource;
Handlers\Items2\iOS\ReorderableItemsViewController2.cs (3)
38 if (ItemsSource != null) 44 ItemsSource.Dispose(); 102 var itemsSource = ItemsSource;