2 writes to _scroller
Microsoft.Maui.Controls (2)
Compatibility\Handlers\ListView\iOS\ContextActionCell.cs (2)
179
_scroller
= new UIScrollView(new RectangleF(0, 0, width, height));
268
_scroller
= null;
31 references to _scroller
Microsoft.Maui.Controls (31)
Compatibility\Handlers\ListView\iOS\ContextActionCell.cs (31)
63
ContextScrollViewDelegate ScrollDelegate => (ContextScrollViewDelegate)
_scroller
.Delegate;
81
if (
_scroller
== null)
84
_scroller
.ContentOffset = new PointF(0, 0);
92
if (
_scroller
== null || (
_scroller
.Frame.Width == ContentView.Bounds.Width && Math.Abs(
_scroller
.Frame.Height - ContentView.Bounds.Height) < 1))
111
ScrollDelegate.PrepareForDeselect(
_scroller
);
177
if (
_scroller
== null)
180
_scroller
.ScrollsToTop = false;
181
_scroller
.ShowsHorizontalScrollIndicator = false;
183
_scroller
.PreservesSuperviewLayoutMargins = true;
185
ContentView.AddSubview(
_scroller
);
189
_scroller
.Frame = new RectangleF(0, 0, width, height);
201
ScrollDelegate.Unhook(
_scroller
);
229
_scroller
.AddSubview(nativeCell);
241
_scroller
.AddSubview(b);
244
_scroller
.Delegate = new ContextScrollViewDelegate(container, _buttons, isOpen);
245
_scroller
.ContentSize = new SizeF(totalWidth, height);
248
_scroller
.SetContentOffset(new PointF(ScrollDelegate.ButtonsWidth, 0), false);
250
_scroller
.SetContentOffset(new PointF(0, 0), false);
264
if (
_scroller
!= null)
266
_scroller
.Delegate = null;
267
_scroller
.Dispose();
313
var x = frame.X -
_scroller
.ContentOffset.X;
329
if (
_scroller
== null)
332
_scroller
.SetContentOffset(new PointF(0, 0), true);
429
_scroller
.SetContentOffset(new PointF(0, 0), true);
474
if (
_scroller
.ContentOffset.X > 0)
476
((ContextScrollViewDelegate)
_scroller
.Delegate).ClosedCallback = () =>
479
((ContextScrollViewDelegate)
_scroller
.Delegate).ClosedCallback = null;
482
_scroller
.SetContentOffset(new PointF(0, 0), true);