12 references to CurrentItem
Microsoft.Maui.Controls (12)
Handlers\Items\iOS\CarouselViewController.cs (5)
315
var currentItemPosition = ItemsSource.GetIndexForItem(carousel.
CurrentItem
).Row;
492
if (carousel.
CurrentItem
== null || ItemsSource == null || ItemsSource.ItemCount == 0)
497
var currentItemPosition = GetIndexForItem(carousel.
CurrentItem
).Row;
522
var currentItemPosition = GetIndexForItem(carousel.
CurrentItem
).Row;
550
var currentItem = carousel.
CurrentItem
;
Handlers\Items2\iOS\CarouselViewController2.cs (5)
236
var currentItemPosition = ItemsSource.GetIndexForItem(carousel.
CurrentItem
).Row;
437
if (carousel.
CurrentItem
is null || ItemsSource is null || ItemsSource.ItemCount == 0)
442
var currentItemPosition = GetIndexForItem(carousel.
CurrentItem
).Row;
466
var currentItemPosition = GetIndexForItem(carousel.
CurrentItem
).Row;
492
var currentItem = carousel.
CurrentItem
;
Items\CarouselView.cs (2)
95
/// <summary>Bindable property for <see cref="
CurrentItem
"/>.</summary>
97
BindableProperty.Create(nameof(
CurrentItem
), typeof(object), typeof(CarouselView), default, BindingMode.TwoWay,