2 writes to _scrollView
Microsoft.Maui.Controls.Compatibility (2)
iOS\Renderers\CarouselPageRenderer.cs (2)
132
_scrollView
= new UIScrollView { ShowsHorizontalScrollIndicator = false };
198
_scrollView
= null;
19 references to _scrollView
Microsoft.Maui.Controls.Compatibility (19)
iOS\Renderers\CarouselPageRenderer.cs (19)
45
get { return (int)(
_scrollView
.ContentOffset.X /
_scrollView
.Frame.Width); }
120
_scrollView
.Frame = View.Bounds;
134
_scrollView
.DecelerationEnded += OnDecelerationEnded;
138
View.Add(
_scrollView
);
160
if (
_scrollView
!= null)
161
_scrollView
.DecelerationEnded -= OnDecelerationEnded;
181
if (
_scrollView
!= null)
182
_scrollView
.DecelerationEnded -= OnDecelerationEnded;
194
if (
_scrollView
!= null)
196
_scrollView
.DecelerationEnded -= OnDecelerationEnded;
197
_scrollView
.RemoveFromSuperview();
260
_scrollView
.InsertSubview(container, index);
322
_scrollView
.PagingEnabled = true;
323
_scrollView
.ContentSize = new SizeF(bounds.Width * ((CarouselPage)Element).Children.Count, bounds.Height);
355
if (
_scrollView
.ContentOffset.X == index *
_scrollView
.Frame.Width)
358
_scrollView
.SetContentOffset(new PointF(index *
_scrollView
.Frame.Width, 0), animated);