3 writes to ItemsSource
Microsoft.Maui.Controls (3)
Handlers\Items\iOS\ItemsViewController.cs (3)
161
ItemsSource
= CreateItemsViewSource();
329
ItemsSource
= CreateItemsViewSource();
342
ItemsSource
= new EmptySource();
47 references to ItemsSource
Microsoft.Maui.Controls (47)
Handlers\Items\iOS\CarouselViewController.cs (15)
30
ILoopItemsViewSource LoopItemsSource =>
ItemsSource
as ILoopItemsViewSource;
155
UnsubscribeCollectionItemsSourceChanged(
ItemsSource
);
230
UnsubscribeCollectionItemsSourceChanged(
ItemsSource
);
245
SubscribeCollectionItemsSourceChanged(
ItemsSource
);
315
var currentItemPosition =
ItemsSource
.GetIndexForItem(carousel.CurrentItem).Row;
316
var count =
ItemsSource
.ItemCount;
472
if (
ItemsSource
.ItemCount == 0)
492
if (carousel.CurrentItem == null ||
ItemsSource
== null ||
ItemsSource
.ItemCount == 0)
516
var itemsCount =
ItemsSource
?.ItemCount;
540
var itemsCount =
ItemsSource
?.ItemCount;
555
var positionCurrentItem =
ItemsSource
.GetIndexForItem(currentItem).Row;
573
if (
ItemsSource
is null ||
ItemsSource
.ItemCount == 0)
618
var pos =
ItemsSource
.GetIndexForItem(item).Row;
Handlers\Items\iOS\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)
Handlers\Items\iOS\ItemsViewController.cs (24)
90
ItemsSource
?.Dispose();
128
return
ItemsSource
.ItemCountInGroup(section);
135
_isEmpty =
ItemsSource
.ItemCount == 0;
328
ItemsSource
?.Dispose();
341
ItemsSource
?.Dispose();
361
return
ItemsSource
.GroupCount;
366
cell.Label.Text =
ItemsSource
[indexPath].ToString();
379
var bindingContext =
ItemsSource
[indexPath];
391
cell.Bind(ItemsView.ItemTemplate,
ItemsSource
[indexPath], ItemsView);
402
return
ItemsSource
.GetIndexForItem(item);
407
return
ItemsSource
[index];
441
if (!
ItemsSource
.IsIndexPathValid(indexPath))
447
var item =
ItemsSource
[indexPath];
458
var item =
ItemsSource
[indexPath];
498
if (
ItemsSource
== null ||
ItemsSource
.ItemCount == 0)
505
if (
ItemsSource
.GroupCount > 1)
509
for (int n = 0; n <
ItemsSource
.GroupCount; n++)
511
if (
ItemsSource
.ItemCountInGroup(n) > 0)
614
UpdateEmptyViewVisibility(
ItemsSource
?.ItemCount == 0);
769
_measurementCells[
ItemsSource
[indexPath]] = templatedCell;
781
if (
ItemsSource
.IsIndexPathValid(indexPath))
783
var item =
ItemsSource
[indexPath];
837
var itemsSource =
ItemsSource
;
Handlers\Items\iOS\ItemsViewDelegator.cs (1)
55
var source = viewController.
ItemsSource
;
Handlers\Items\iOS\ReorderableItemsViewController.cs (3)
38
if (
ItemsSource
!= null)
44
ItemsSource
.Dispose();
102
var itemsSource =
ItemsSource
;