4 implementations of ItemCount
Microsoft.Maui.Controls.Compatibility (4)
iOS\CollectionView\EmptySource.cs (1)
10
public int
ItemCount
=> 0;
iOS\CollectionView\ListSource.cs (1)
47
public int
ItemCount
=> Count;
iOS\CollectionView\ObservableGroupedSource.cs (1)
43
public int
ItemCount
iOS\CollectionView\ObservableItemsSource.cs (1)
86
public int
ItemCount
=> Count;
12 references to ItemCount
Microsoft.Maui.Controls.Compatibility (12)
iOS\CollectionView\CarouselViewController.cs (7)
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
;
558
var itemSourceCount = _itemsSource.
ItemCount
;
679
int GetItemsSourceCount() => _itemsSource.
ItemCount
;
iOS\CollectionView\ItemsViewController.cs (3)
110
_isEmpty = ItemsSource.
ItemCount
== 0;
343
if (ItemsSource.
ItemCount
== 0)
447
UpdateEmptyViewVisibility(ItemsSource?.
ItemCount
== 0);
iOS\CollectionView\ItemsViewDelegator.cs (2)
60
if (lastVisibleItemIndex == source.
ItemCount
- 1)
64
if (source.
ItemCount
- 1 - lastVisibleItemIndex <= itemsView.RemainingItemsThreshold)