Class ParallaxScrollingEventArgs
Scrolling Event args
Inheritance
System.Object
ParallaxScrollingEventArgs
Namespace: Syncfusion.XForms.ParallaxView
Assembly: Syncfusion.Core.XForms.dll
Syntax
public class ParallaxScrollingEventArgs : EventArgs
Constructors
ParallaxScrollingEventArgs()
Initializes a new instance of the ParallaxScrollingEventArgs class.
Declaration
public ParallaxScrollingEventArgs()
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 | double |
System.Double | scrollY | double |
System.Boolean | canAnimate | bool |
Properties
CanAnimate
Gets a value indicating whether the value need to get animated or not.
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 |