1 implementation of IScrollView
Microsoft.Maui.Controls (1)
ScrollView\ScrollView.cs (1)
14
public partial class ScrollView : Compatibility.Layout, IScrollViewController, IElementConfiguration<ScrollView>, IFlowDirectionController,
IScrollView
, IContentView
42 references to IScrollView
Microsoft.Maui (35)
Core\IVisualDiagnosticsOverlay.cs (7)
30
/// <param name="scrollToElement">When adding the adorner, scroll to the element. Only applies if the element is contained in an <see cref="
IScrollView
"/>.</param>
37
/// <param name="scrollToElement">When adding the adorner, scroll to the element. Only applies if the element is contained in an <see cref="
IScrollView
"/>.</param>
58
/// Adds scrollable element handles attached to <see cref="
IScrollView
"/>.
64
/// Adds scrollable element handle attached to <see cref="
IScrollView
"/>.
67
void AddScrollableElementHandler(
IScrollView
view);
70
/// Removes any existing scrollable element handles attached to <see cref="
IScrollView
"/>.
84
IReadOnlyCollection<
IScrollView
> ScrollViews { get; }
Handlers\ScrollView\IScrollViewHandler.cs (1)
17
new
IScrollView
VirtualView { get; }
Handlers\ScrollView\ScrollViewHandler.cs (9)
19
public static IPropertyMapper<
IScrollView
, IScrollViewHandler> Mapper = new PropertyMapper<
IScrollView
, IScrollViewHandler>(ViewMapper)
21
[nameof(
IScrollView
.Content)] = MapContent,
22
[nameof(
IScrollView
.HorizontalScrollBarVisibility)] = MapHorizontalScrollBarVisibility,
23
[nameof(
IScrollView
.VerticalScrollBarVisibility)] = MapVerticalScrollBarVisibility,
24
[nameof(
IScrollView
.Orientation)] = MapOrientation,
30
public static CommandMapper<
IScrollView
, IScrollViewHandler> CommandMapper = new(ViewCommandMapper)
32
[nameof(
IScrollView
.RequestScrollTo)] = MapRequestScrollTo,
53
IScrollView
IScrollViewHandler.VirtualView => VirtualView;
Handlers\ScrollView\ScrollViewHandler.Standard.cs (7)
7
public partial class ScrollViewHandler : ViewHandler<
IScrollView
, object>
11
public static void MapContent(IViewHandler handler,
IScrollView
scrollView) { }
12
public static void MapHorizontalScrollBarVisibility(IViewHandler handler,
IScrollView
scrollView) { }
13
public static void MapVerticalScrollBarVisibility(IViewHandler handler,
IScrollView
scrollView) { }
14
public static void MapOrientation(IViewHandler handler,
IScrollView
scrollView) { }
15
public static void MapContentSize(IViewHandler handler,
IScrollView
scrollView) { }
16
public static void MapRequestScrollTo(IScrollViewHandler handler,
IScrollView
scrollView, object? args) { }
VisualDiagnostics\VisualDiagnosticsOverlay.cs (9)
26
public IReadOnlyCollection<
IScrollView
> ScrollViews => _scrollViews.Keys;
52
foreach (
var
scrollBar in scrollBars)
147
var
parentScrollView = GetParentScrollView(element);
189
List<
IScrollView
> GetScrollViews()
192
return new List<
IScrollView
>();
195
return new List<
IScrollView
>();
198
.OfType<
IScrollView
>()
202
static
IScrollView
? GetParentScrollView(IVisualTreeElement element)
207
if (element is
IScrollView
scrollView)
VisualDiagnostics\VisualDiagnosticsOverlay.Standard.cs (2)
7
readonly Dictionary<
IScrollView
, object> _scrollViews = new();
10
public void AddScrollableElementHandler(
IScrollView
scrollBar)
Microsoft.Maui.Controls (7)
ScrollView\ScrollView.cs (7)
377
Handler.Invoke(nameof(
IScrollView
.RequestScrollTo), ConvertRequestMode(e).ToRequest());
395
double
IScrollView
.HorizontalOffset
407
double
IScrollView
.VerticalOffset
419
void
IScrollView
.RequestScrollTo(double horizontalOffset, double verticalOffset, bool instant)
422
Handler?.Invoke(nameof(
IScrollView
.RequestScrollTo), request);
425
void
IScrollView
.ScrollFinished() => SendScrollFinished();
470
if (this is
IScrollView
scrollView)