Class
RadScrollView

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

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
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

RadScrollView()

Initializes a new instance of the RadScrollView class.

Declaration

cs-api-definition
public RadScrollView()

Properties

BottomLeftFooter

Gets or sets the bottom left footer view.

Declaration

cs-api-definition
public View BottomLeftFooter { get; set; }

Property Value

View

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

Content

Gets or sets the main content view.

Declaration

cs-api-definition
public View Content { get; set; }

Property Value

View

A View containing the scrollable content.

Gets or sets the footer view.

Declaration

cs-api-definition
public View Footer { get; set; }

Property Value

View

A View displayed at the bottom of the scroll area.

LeftHeader

Gets or sets the left header view.

Declaration

cs-api-definition
public View LeftHeader { get; set; }

Property Value

View

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

ScrollOrientation

Gets or sets the scroll orientation.

Declaration

cs-api-definition
public ScrollOrientation ScrollOrientation { get; set; }

Property Value

ScrollOrientation

A ScrollOrientation value that determines the allowed scroll directions.

Implements IRadScrollView.ScrollOrientation

ScrollX

Gets the current horizontal scroll position.

Declaration

cs-api-definition
public double ScrollX { get; }

Property Value

double

A double representing the horizontal scroll offset.

Implements IRadScrollView.ScrollX

ScrollY

Gets the current vertical scroll position.

Declaration

cs-api-definition
public double ScrollY { get; }

Property Value

double

A double representing the vertical scroll offset.

Implements IRadScrollView.ScrollY

TopHeader

Gets or sets the top header view.

Declaration

cs-api-definition
public View TopHeader { get; set; }

Property Value

View

A View displayed at the top of the scroll area.

TopLeftHeader

Gets or sets the top left header view.

Declaration

cs-api-definition
public View TopLeftHeader { get; set; }

Property Value

View

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

Methods

ScrollToAsync(ScrollToArgs)

Scrolls to the specified position asynchronously using scroll arguments.

Declaration

cs-api-definition
public void ScrollToAsync(ScrollToArgs args)

Parameters

args

ScrollToArgs

The ScrollToArgs containing scroll parameters.

ScrollToAsync(double, double, bool)

Scrolls to the specified position asynchronously.

Declaration

cs-api-definition
public void ScrollToAsync(double scrollX, double scrollY, bool useAnimation = true)

Parameters

scrollX

double

The horizontal scroll position.

scrollY

double

The vertical scroll position.

useAnimation

bool

Whether to animate the scrolling.

Events

Scrolled

Occurs when the scroll position changes.

Declaration

cs-api-definition
public event EventHandler<ScrolledEventArgs> Scrolled

Event Value

EventHandler<ScrolledEventArgs>