iOS Guides | Samples

MonoTouch.UIKit.UIPanGestureRecognizer Class

Gesture recognizer for panning operations.

See Also: UIPanGestureRecognizer

Syntax

[MonoTouch.Foundation.Register("UIPanGestureRecognizer", true)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 3, 2, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
public class UIPanGestureRecognizer : UIGestureRecognizer

Related content

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UIPanGestureRecognizer are listed below.

See Also: UIGestureRecognizer

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
Constructs a gesture recognizer and provides a method to invoke when the gesture is recognized.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
Constructs a gesture recognizer and provides a method to invoke when the gesture is recognized.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
override
ClassHandleIntPtr. The handle for this class.
MaximumNumberOfTouchesUInt32. The maximum number of touching fingers allowed. The default is INT_MAX. That's freaky.
MinimumNumberOfTouchesUInt32. The minimum number of fingers that can be touching the view for this gesture to be recognized. Default is 1.

Public Methods

SetTranslation(PointF, UIView)
Sets the translation value in the coordinate system of the specified UIView.
TranslationInView(UIView) : PointF
The translation of the pan gesture in the coordinate system of the specified UIView.
VelocityInView(UIView) : PointF
The velocity, in points per second, of the pan gesture in the coordinate system of the specified UIView.