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)

Contains event data for scrolling with inertia.

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

The X scroll duration.

public TimeSpan XDuration { get; }

Property Value

TimeSpan

XScrollDelta

The X scroll delta.

public double XScrollDelta { get; }

Property Value

double

YDuration

The Y scroll duration.

public TimeSpan YDuration { get; }

Property Value

TimeSpan

YScrollDelta

The Y scroll delta.

public double YScrollDelta { get; }

Property Value

double

Inherited Members

Extension Methods