1 instantiation of ScrollView
Microsoft.Maui.Controls (1)
Internals\ProfilePage.cs (1)
113
var scrollView = new
ScrollView
();
50 references to ScrollView
Microsoft.Maui.Controls (36)
Hosting\AppHostBuilderExtensions.cs (2)
80
handlersCollection.AddHandler<
ScrollView
, ScrollViewHandler>();
257
ScrollView
.RemapForControls();
Internals\ProfilePage.cs (1)
113
var
scrollView = new ScrollView();
PlatformConfiguration\iOSSpecific\ScrollView.cs (4)
4
using FormsElement = Maui.Controls.
ScrollView
;
25
public static bool ShouldDelayContentTouches(this IPlatformElementConfiguration<iOS,
FormsElement
> config)
31
public static IPlatformElementConfiguration<iOS,
FormsElement
> SetShouldDelayContentTouches(this IPlatformElementConfiguration<iOS,
FormsElement
> config, bool value)
PlatformConfiguration\TizenSpecific\ScrollView.cs (9)
4
using FormsElement = Maui.Controls.
ScrollView
;
9
public static readonly BindableProperty VerticalScrollStepProperty = BindableProperty.Create("VerticalScrollStep", typeof(int), typeof(
FormsElement
), -1,
16
public static readonly BindableProperty HorizontalScrollStepProperty = BindableProperty.Create("HorizontalScrollStep", typeof(int), typeof(
FormsElement
), -1,
32
public static int GetVerticalScrollStep(this IPlatformElementConfiguration<Tizen,
FormsElement
> config)
37
public static IPlatformElementConfiguration<Tizen,
FormsElement
> SetVerticalScrollStep(this IPlatformElementConfiguration<Tizen,
FormsElement
> config, int scrollStep)
53
public static int GetHorizontalScrollStep(this IPlatformElementConfiguration<Tizen,
FormsElement
> config)
58
public static IPlatformElementConfiguration<Tizen,
FormsElement
> SetHorizontalScrollStep(this IPlatformElementConfiguration<Tizen,
FormsElement
> config, int scrollStep)
Properties\AssemblyInfo.cs (6)
150
[assembly: StyleProperty("-maui-orientation", typeof(
ScrollView
), nameof(
ScrollView
.OrientationProperty))]
151
[assembly: StyleProperty("-maui-horizontal-scroll-bar-visibility", typeof(
ScrollView
), nameof(
ScrollView
.HorizontalScrollBarVisibilityProperty))]
152
[assembly: StyleProperty("-maui-vertical-scroll-bar-visibility", typeof(
ScrollView
), nameof(
ScrollView
.VerticalScrollBarVisibilityProperty))]
ScrollView\ScrollView.cs (11)
14
public partial class ScrollView : Compatibility.Layout, IScrollViewController, IElementConfiguration<
ScrollView
>, IFlowDirectionController, IScrollView, IContentView
115
public static readonly BindableProperty OrientationProperty = BindableProperty.Create(nameof(Orientation), typeof(ScrollOrientation), typeof(
ScrollView
), ScrollOrientation.Vertical);
117
static readonly BindablePropertyKey ScrollXPropertyKey = BindableProperty.CreateReadOnly(nameof(ScrollX), typeof(double), typeof(
ScrollView
), 0d);
122
static readonly BindablePropertyKey ScrollYPropertyKey = BindableProperty.CreateReadOnly(nameof(ScrollY), typeof(double), typeof(
ScrollView
), 0d);
127
static readonly BindablePropertyKey ContentSizePropertyKey = BindableProperty.CreateReadOnly(nameof(ContentSize), typeof(Size), typeof(
ScrollView
), default(Size));
132
readonly Lazy<PlatformConfigurationRegistry<
ScrollView
>> _platformConfigurationRegistry;
135
public static readonly BindableProperty HorizontalScrollBarVisibilityProperty = BindableProperty.Create(nameof(HorizontalScrollBarVisibility), typeof(ScrollBarVisibility), typeof(
ScrollView
), ScrollBarVisibility.Default);
138
public static readonly BindableProperty VerticalScrollBarVisibilityProperty = BindableProperty.Create(nameof(VerticalScrollBarVisibility), typeof(ScrollBarVisibility), typeof(
ScrollView
), ScrollBarVisibility.Default);
233
_platformConfigurationRegistry = new Lazy<PlatformConfigurationRegistry<
ScrollView
>>(() => new PlatformConfigurationRegistry<
ScrollView
>(this));
239
public IPlatformElementConfiguration<T,
ScrollView
> On<T>() where T : IConfigPlatform
SwipeView\SwipeView.cs (3)
290
if (_scrollParent is
ScrollView
scrollView)
313
_scrollParent = this.FindParentOfType<
ScrollView
>();
315
if (_scrollParent is
ScrollView
scrollView)
Microsoft.Maui.Controls.Compatibility (14)
iOS\Renderers\ListViewRenderer.cs (2)
352
else if (e.PropertyName ==
ScrollView
.VerticalScrollBarVisibilityProperty.PropertyName)
354
else if (e.PropertyName ==
ScrollView
.HorizontalScrollBarVisibilityProperty.PropertyName)
iOS\Renderers\ScrollViewRenderer.cs (9)
39
ScrollView
ScrollView
41
get { return Element as
ScrollView
; }
67
((
ScrollView
)oldElement).ScrollToRequested -= OnScrollToRequested;
73
((
ScrollView
)element).ScrollToRequested += OnScrollToRequested;
210
else if (e.PropertyName ==
ScrollView
.ContentSizeProperty.PropertyName)
218
else if (e.PropertyName ==
ScrollView
.VerticalScrollBarVisibilityProperty.PropertyName)
220
else if (e.PropertyName ==
ScrollView
.HorizontalScrollBarVisibilityProperty.PropertyName)
307
DelaysContentTouches = ((
ScrollView
)Element).OnThisPlatform().ShouldDelayContentTouches();
334
return ((
ScrollView
)Element).ContentSize.ToSizeF();
iOS\Renderers\SwipeViewRenderer.cs (3)
118
_scrollParent = Element.FindParentOfType<
ScrollView
>();
120
if (_scrollParent is
ScrollView
scrollView)
230
if (_scrollParent is
ScrollView
scrollView)