ClassScrollToArgs
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:
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
public ScrollToArgs(double scrollX, double scrollY, bool useAnimation)
Parameters
scrollX
The horizontal scroll position to scroll to.
scrollY
The vertical scroll position to scroll to.
useAnimation
A value indicating whether the scroll operation should be animated.
Fields
ScrollX
The horizontal scroll position to scroll to.
ScrollY
The vertical scroll position to scroll to.
UseAnimation
Indicates whether the scroll operation should be animated.