Xamarin.Forms Guides | Samples

Xamarin.Forms.PanGestureRecognizer Class

A gesture recognizer for panning content that is larger than its parent view.

See Also: PanGestureRecognizer

Syntax

public class PanGestureRecognizer : GestureRecognizer, IPanGestureController

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.5.0.0, 2.0.0.0

The members of Xamarin.Forms.PanGestureRecognizer are listed below.

See Also: GestureRecognizer

Public Constructors

Creates a new PanGestureRecognizer with default values.

Public Fields

static readonly
TouchPointsPropertyBindableProperty. Backing store for the PanGestureRecognizer.TouchPoints property.

Public Properties

TouchPointsInt32. Gets or sets the number of touch points in the gesture.

Public Methods

SendPan(Element, Double, Double, Int32)
For internal use by the Xamarin.Forms platform.
SendPanCanceled(Element, Int32)
For internal use by the Xamarin.Forms platform.
SendPanCompleted(Element, Int32)
For internal use by the Xamarin.Forms platform.
SendPanStarted(Element, Int32)
For internal use by the Xamarin.Forms platform.

Public Events

PanUpdatedEvent that is raised when the pan gesture changes.