Class ParallaxScrollingEventArgs
ParallaxScrollingEventArgs defines the scrolling event args.
Inheritance
System.Object
ParallaxScrollingEventArgs
Namespace: Syncfusion.Maui.Core
Assembly: Syncfusion.Maui.Core.dll
Syntax
public class ParallaxScrollingEventArgs : EventArgs
Constructors
ParallaxScrollingEventArgs(Double, Double, Boolean)
Initializes a new instance of the ParallaxScrollingEventArgs class.
Declaration
public ParallaxScrollingEventArgs(double scrollX, double scrollY, bool canAnimate = false)
Parameters
Type | Name | Description |
---|---|---|
System.Double | scrollX | |
System.Double | scrollY | |
System.Boolean | canAnimate |
Properties
CanAnimate
Gets a value indicating whether the parallax content needs to be animated.
Declaration
public bool CanAnimate { get; }
Property Value
Type |
---|
System.Boolean |
ScrollX
Gets the current X scroll position.
Declaration
public double ScrollX { get; }
Property Value
Type |
---|
System.Double |
ScrollY
Gets the current Y scroll position.
Declaration
public double ScrollY { get; }
Property Value
Type |
---|
System.Double |