In This Article

InertiaScrollEventArgs Class

Contains event data for scrolling with inertia.

public class InertiaScrollEventArgs : EventArgs
Inheritance:
object EventArgs object

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.

public TimeSpan XDuration { get; }

Property Value

TimeSpan:

The X scroll duration.

XScrollDelta

Gets the X scroll delta.

public double XScrollDelta { get; }

Property Value

double:

The X scroll delta.

YDuration

Gets the Y scroll duration.

public TimeSpan YDuration { get; }

Property Value

TimeSpan:

The Y scroll duration.

YScrollDelta

Gets the Y scroll delta.

public double YScrollDelta { get; }

Property Value

double:

The Y scroll delta.

Inherited Members