Class
ScrollToArgs

Provides arguments for scroll operations, including target position and animation settings. This class contains the necessary information to perform programmatic scrolling in scroll view controls.

Definition

Namespace:Telerik.Maui.ScrollView

Assembly:Telerik.Maui.Core.dll

Syntax:

cs-api-definition
public class ScrollToArgs

Inheritance: objectScrollToArgs

Constructors

ScrollToArgs(double, double, bool)

Initializes a new instance of the ScrollToArgs class with the specified scroll positions and animation setting.

Declaration

cs-api-definition
public ScrollToArgs(double scrollX, double scrollY, bool useAnimation)

Parameters

scrollX

double

The horizontal scroll position to scroll to.

scrollY

double

The vertical scroll position to scroll to.

useAnimation

bool

A value indicating whether the scroll operation should be animated.

Fields

ScrollX

The horizontal scroll position to scroll to.

Declaration

cs-api-definition
public readonly double ScrollX

Field Value

double

ScrollY

The vertical scroll position to scroll to.

Declaration

cs-api-definition
public readonly double ScrollY

Field Value

double

UseAnimation

Indicates whether the scroll operation should be animated.

Declaration

cs-api-definition
public readonly bool UseAnimation

Field Value

bool