2 writes to _scroller
Microsoft.Maui.Controls.Compatibility (2)
iOS\ContextActionCell.cs (2)
184
_scroller
= new UIScrollView(new RectangleF(0, 0, width, height));
273
_scroller
= null;
31 references to _scroller
Microsoft.Maui.Controls.Compatibility (31)
iOS\ContextActionCell.cs (31)
67
get { return (ContextScrollViewDelegate)
_scroller
.Delegate; }
86
if (
_scroller
== null)
89
_scroller
.ContentOffset = new PointF(0, 0);
97
if (
_scroller
== null || (
_scroller
.Frame.Width == ContentView.Bounds.Width && Math.Abs(
_scroller
.Frame.Height - ContentView.Bounds.Height) < 1))
116
ScrollDelegate.PrepareForDeselect(
_scroller
);
182
if (
_scroller
== null)
185
_scroller
.ScrollsToTop = false;
186
_scroller
.ShowsHorizontalScrollIndicator = false;
188
_scroller
.PreservesSuperviewLayoutMargins = true;
190
ContentView.AddSubview(
_scroller
);
194
_scroller
.Frame = new RectangleF(0, 0, width, height);
206
ScrollDelegate.Unhook(
_scroller
);
234
_scroller
.AddSubview(nativeCell);
246
_scroller
.AddSubview(b);
249
_scroller
.Delegate = new ContextScrollViewDelegate(container, _buttons, isOpen);
250
_scroller
.ContentSize = new SizeF(totalWidth, height);
253
_scroller
.SetContentOffset(new PointF(ScrollDelegate.ButtonsWidth, 0), false);
255
_scroller
.SetContentOffset(new PointF(0, 0), false);
269
if (
_scroller
!= null)
271
_scroller
.Delegate = null;
272
_scroller
.Dispose();
318
var x = frame.X -
_scroller
.ContentOffset.X;
334
if (
_scroller
== null)
337
_scroller
.SetContentOffset(new PointF(0, 0), true);
433
_scroller
.SetContentOffset(new PointF(0, 0), true);
478
if (
_scroller
.ContentOffset.X > 0)
480
((ContextScrollViewDelegate)
_scroller
.Delegate).ClosedCallback = () =>
483
((ContextScrollViewDelegate)
_scroller
.Delegate).ClosedCallback = null;
486
_scroller
.SetContentOffset(new PointF(0, 0), true);