New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents a scrollable view control with support for headers, footers, and content areas.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class RadScrollView : RadView, IRadScrollView, IView, IElement, ITransform

Inheritance: objectRadViewRadScrollView

Implements: IElementIRadScrollViewITransformIView

Inherited Members RadView.OnNativeControlLoaded()RadView.OnNativeControlUnloaded()RadView.IsDefaultValue(string)RadView.OnPropertyChanged(string)RadView.OnHandlerChanged()RadView.IsOperational...

Constructors

Initializes a new instance of the RadScrollView class.

C#
public RadScrollView()

Properties

Gets or sets the bottom left footer view.

C#
public View BottomLeftFooter { get; set; }
Property Value:

A View displayed at the bottom left corner of the scroll area.

Gets or sets the main content view.

C#
public View Content { get; set; }
Property Value:

A View containing the scrollable content.

View

Gets or sets the footer view.

C#
public View Footer { get; set; }
Property Value:

A View displayed at the bottom of the scroll area.

Gets or sets the left header view.

C#
public View LeftHeader { get; set; }
Property Value:

A View displayed on the left side of the scroll area.

ScrollOrientation

ScrollOrientation

Gets or sets the scroll orientation.

C#
public ScrollOrientation ScrollOrientation { get; set; }
Property Value:

A ScrollOrientation value that determines the allowed scroll directions.

Implements: IRadScrollView.ScrollOrientation

Gets the current horizontal scroll position.

C#
public double ScrollX { get; }
Property Value:

A double representing the horizontal scroll offset.

Implements: IRadScrollView.ScrollX

Gets the current vertical scroll position.

C#
public double ScrollY { get; }
Property Value:

A double representing the vertical scroll offset.

Implements: IRadScrollView.ScrollY

Gets or sets the top header view.

C#
public View TopHeader { get; set; }
Property Value:

A View displayed at the top of the scroll area.

Gets or sets the top left header view.

C#
public View TopLeftHeader { get; set; }
Property Value:

A View displayed at the top left corner of the scroll area.

Methods

Scrolls to the specified position asynchronously.

C#
public void ScrollToAsync(double scrollX, double scrollY, bool useAnimation = true)
Parameters:scrollXdouble

The horizontal scroll position.

scrollYdouble

The vertical scroll position.

useAnimationbool

Whether to animate the scrolling.

Scrolls to the specified position asynchronously using scroll arguments.

C#
public void ScrollToAsync(ScrollToArgs args)
Parameters:argsScrollToArgs

The ScrollToArgs containing scroll parameters.

Events

Scrolled

EventHandler<ScrolledEventArgs>

Occurs when the scroll position changes.

C#
public event EventHandler<ScrolledEventArgs> Scrolled