21 references to Position
Microsoft.Maui.Controls (21)
Handlers\Items\iOS\CarouselViewController.cs (9)
137
carousel.ScrollTo(carousel.
Position
, position: Microsoft.Maui.Controls.ScrollToPosition.Center, animate: false);
313
int carouselPosition = carousel.
Position
;
371
int currentPosition = ItemsView?.
Position
?? 0;
412
var carouselPosition = carousel.
Position
;
464
if (_gotoPosition == -1 && carousel.
Position
!= position)
499
ScrollToPosition(currentItemPosition, carousel.
Position
, carousel.AnimateCurrentItemChanges);
523
var carouselPosition = carousel.
Position
;
549
int position = carousel.
Position
;
606
var carouselPosition = carousel.
Position
;
Handlers\Items\iOS\CarouselViewLayout.cs (1)
75
if (updateItems[0].IndexPathBeforeUpdate.Item >= carouselView.
Position
)
Handlers\Items2\CarouselViewHandler2.iOS.cs (1)
125
if (ItemsView.
Position
!= carouselPosition)
Handlers\Items2\iOS\CarouselViewController2.cs (7)
234
int carouselPosition = carousel.
Position
;
308
int currentPosition = ItemsView?.
Position
?? 0;
355
var carouselPosition = carousel.
Position
;
444
ScrollToPosition(currentItemPosition, carousel.
Position
, carousel.AnimateCurrentItemChanges);
467
var carouselPosition = carousel.
Position
;
491
int position = carousel.
Position
;
558
var carouselPosition = carousel.
Position
;
Items\CarouselView.cs (3)
152
/// <summary>Bindable property for <see cref="
Position
"/>.</summary>
154
BindableProperty.Create(nameof(
Position
), typeof(int), typeof(CarouselView), default(int), BindingMode.TwoWay,
212
indicatorView.SetBinding(IndicatorView.PositionProperty, static (CarouselView carousel) => carousel.
Position
, source: carouselView);