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.
Inheritance
Namespace: Telerik.Maui.ScrollView
Assembly: Telerik.Maui.Core.dll
Syntax
public class ScrollToArgs : Object
Constructors
ScrollToArgs(Double, Double, Boolean)
Initializes a new instance of the ScrollToArgs class with the specified scroll positions and animation setting.
Declaration
public ScrollToArgs(double scrollX, double scrollY, bool useAnimation)
Parameters
System.Double
scrollX
The horizontal scroll position to scroll to. |
System.Double
scrollY
The vertical scroll position to scroll to. |
System.Boolean
useAnimation
A value indicating whether the scroll operation should be animated. |
Fields
ScrollX
The horizontal scroll position to scroll to.
Declaration
public readonly double ScrollX
Field Value
System.Double
|
ScrollY
The vertical scroll position to scroll to.
Declaration
public readonly double ScrollY
Field Value
System.Double
|
UseAnimation
Indicates whether the scroll operation should be animated.
Declaration
public readonly bool UseAnimation
Field Value
System.Boolean
|