2 writes to ItemsSource
Microsoft.Maui.Controls.Compatibility (2)
iOS\CollectionView\ItemsViewController.cs (2)
136
ItemsSource
= CreateItemsViewSource();
216
ItemsSource
= CreateItemsViewSource();
37 references to ItemsSource
Microsoft.Maui.Controls.Compatibility (37)
iOS\CollectionView\CarouselViewController.cs (12)
22
ILoopItemsViewSource LoopItemsSource =>
ItemsSource
as ILoopItemsViewSource;
120
UnsubscribeCollectionItemsSourceChanged(
ItemsSource
);
171
UnsubscribeCollectionItemsSourceChanged(
ItemsSource
);
215
var currentItemPosition =
ItemsSource
.GetIndexForItem(Carousel.CurrentItem).Row;
216
var count =
ItemsSource
.ItemCount;
353
if (
ItemsSource
.ItemCount == 0)
363
if (Carousel?.CurrentItem == null ||
ItemsSource
== null ||
ItemsSource
.ItemCount == 0)
375
var itemsCount =
ItemsSource
?.ItemCount;
391
var itemsCount =
ItemsSource
?.ItemCount;
404
position =
ItemsSource
.GetIndexForItem(currentItem).Row;
433
var pos =
ItemsSource
.GetIndexForItem(item).Row;
iOS\CollectionView\GroupableItemsViewController.cs (4)
95
cell.Label.Text =
ItemsSource
.Group(indexPath).ToString();
109
var bindingContext =
ItemsSource
.Group(indexPath);
171
if (
ItemsSource
.GroupCount < 1 || section >
ItemsSource
.GroupCount - 1)
iOS\CollectionView\ItemsViewController.cs (20)
65
ItemsSource
?.Dispose();
103
return
ItemsSource
.ItemCountInGroup(section);
110
_isEmpty =
ItemsSource
.ItemCount == 0;
215
ItemsSource
?.Dispose();
236
return
ItemsSource
.GroupCount;
241
cell.Label.Text =
ItemsSource
[indexPath].ToString();
254
var bindingContext =
ItemsSource
[indexPath];
266
cell.Bind(ItemsView.ItemTemplate,
ItemsSource
[indexPath], ItemsView);
277
return
ItemsSource
.GetIndexForItem(item);
282
return
ItemsSource
[index];
314
if (!
ItemsSource
.IsIndexPathValid(indexPath))
320
var item =
ItemsSource
[indexPath];
343
if (
ItemsSource
.ItemCount == 0)
350
if (
ItemsSource
.GroupCount > 1)
354
for (int n = 0; n <
ItemsSource
.GroupCount; n++)
356
if (
ItemsSource
.ItemCountInGroup(n) > 0)
447
UpdateEmptyViewVisibility(
ItemsSource
?.ItemCount == 0);
601
_measurementCells[
ItemsSource
[indexPath]] = templatedCell;
613
if (
ItemsSource
.IsIndexPathValid(indexPath))
615
var item =
ItemsSource
[indexPath];
iOS\CollectionView\ItemsViewDelegator.cs (1)
49
var source = ViewController.
ItemsSource
;