InertiaScrollEventArgs Class
Contains event data for scrolling with inertia.
public class InertiaScrollEventArgs : EventArgs
Constructors
InertiaScrollEventArgs(double, TimeSpan, double, TimeSpan)
Initializes a new instance of the InertiaScrollEventArgs class.
public InertiaScrollEventArgs(double xScrollDelta, TimeSpan xDuration, double yScrollDelta, TimeSpan yDuration)
Parameter | Type | Description |
---|---|---|
xScrollDelta | double | The X scroll distance. |
xDuration | TimeSpan | The X scroll duration. |
yScrollDelta | double | The Y scroll distance. |
yDuration | TimeSpan | The Y scroll duration. |
Properties
XDuration
Gets the X scroll duration.
XScrollDelta
Gets the X scroll delta.
YDuration
Gets the Y scroll duration.
YScrollDelta
Gets the Y scroll delta.