Language

GestureDetector.ScrollEventArgs Class

Definition

Provides data for a managed callback event.

public class GestureDetector.ScrollEventArgs : EventArgs
type GestureDetector.ScrollEventArgs = class
    inherit EventArgs
Inheritance
GestureDetector.ScrollEventArgs

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

Name Description
GestureDetector.ScrollEventArgs(Boolean, MotionEvent, MotionEvent, Single, Single)

Initializes the managed event data passed to the associated callback.

Properties

Name Description
DistanceX

Gets the horizontal distance moved since the previous motion event.

DistanceY

Gets the vertical distance moved since the previous motion event.

E1

Gets the motion event where the scroll gesture began.

E2

Gets the motion event that produced the current scroll delta.

Handled

Gets or sets whether the callback result is handled.

Applies to