4 writes to ScrollView
Microsoft.Maui.Controls (4)
Compatibility\Handlers\Shell\iOS\ShellFlyoutLayoutManager.cs (4)
127
ScrollView
= null;
130
ScrollView
= sv;
132
ScrollView
= uIScroll;
134
ScrollView
= cv;
20 references to ScrollView
Microsoft.Maui.Controls (20)
Compatibility\Handlers\Shell\iOS\ShellFlyoutLayoutManager.cs (20)
136
if (
ScrollView
is not null && (OperatingSystem.IsIOSVersionAtLeast(11) || OperatingSystem.IsMacCatalystVersionAtLeast(11)
142
ScrollView
.ContentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentBehavior.Never;
203
UpdateHeaderMaximumSize(
ScrollView
?.ContentOffset.Y);
210
if (
ScrollView
is null)
213
var offset =
ScrollView
.ContentInset.Top;
223
ScrollView
.ContentInset = new UIEdgeInsets((nfloat)Math.Max(HeaderMinimumHeight, MeasuredHeaderViewHeightWithNoMargin), 0, 0, 0);
227
ScrollView
.ContentInset = new UIEdgeInsets(UIApplication.SharedApplication.GetSafeAreaInsetsForWindow().Top, 0, 0, 0);
230
offset -=
ScrollView
.ContentInset.Top;
232
var yContentOffset =
ScrollView
.ContentOffset.Y;
233
ScrollView
.ContentOffset =
234
new CGPoint(
ScrollView
.ContentOffset.X, yContentOffset + offset);
241
if (
ScrollView
is null)
247
ScrollView
.ScrollEnabled = true;
248
ScrollView
.AlwaysBounceVertical = false;
251
ScrollView
.ScrollEnabled = true;
252
ScrollView
.AlwaysBounceVertical = true;
255
ScrollView
.ScrollEnabled = false;
256
ScrollView
.AlwaysBounceVertical = false;
322
if (
ScrollView
is null)
401
if (
ScrollView
is not null && contentOffsetY is not null && _context.Shell.FlyoutHeaderBehavior == FlyoutHeaderBehavior.CollapseOnScroll)