GestureRecognizer Members

GestureRecognizer has the following members.

Public Constructors

  Name Description
GestureRecognizer Initializes a new instance of a GestureRecognizer object.

Public Properties

  Name Description
AutoProcessInertia Gets or sets a value that indicates whether manipulations during inertia are generated automatically.
BoundingRect Gets or sets the bounding rectangle, which contains the visual boundary of the button.
CrossSlideExact Gets or sets a value that indicates whether the exact distance from initial contact to end of the cross-slide interaction is reported.By default, a small distance threshold is subtracted from the first position reported by the system for a cross-slide interaction. If this flag is set, the distance threshold is not subtracted from the initial position.
CrossSlideHorizontally Gets or sets a value that indicates whether the cross-slide axis is horizontal.
CrossSlideThresholds Gets or sets values that indicate the distance thresholds for a CrossSliding interaction.
GestureSettings Gets or sets a value that indicates the gesture and manipulation settings supported by an application.
InertiaExpansion Gets or sets a value that indicates the relative change in size of an object from the start of inertia to the end of inertia (when resizing, or scaling, is complete).
InertiaExpansionDeceleration Gets or sets a value that indicates the rate of deceleration from the start of inertia to the end of inertia (when the resizing, or expansion, manipulation is complete).
InertiaRotationAngle Gets or sets a value that indicates the final angle of rotation of an object at the end of inertia (when the rotation manipulation is complete).
InertiaRotationDeceleration Gets or sets a value that indicates the rate of deceleration from the start of inertia to the end of inertia (when the rotation manipulation is complete).
InertiaTranslationDeceleration Gets or sets a value that indicates the rate of deceleration from the start of inertia to the end of inertia (when the translation manipulation is complete).
InertiaTranslationDisplacement Gets or sets a value that indicates the relative change in the screen location of an object from the start of inertia to the end of inertia (when the translation manipulation is complete).
IsActive Gets a value that indicates whether an interaction is being processed.
IsInertial Gets a value that indicates whether a manipulation is still being processed during inertia (no input points are active).
ManipulationExact Gets or sets a value that indicates whether the exact distance from initial contact to end of the interaction is reported.By default, a small distance threshold is subtracted from the first delta reported by the system. This distance threshold is intended to account for slight movements of the contact when processing a tap gesture. If this flag is set, the distance threshold is not subtracted from the first delta.
MouseWheelParameters Gets a set of properties that are associated with the wheel button of a mouse device.
PivotCenter Gets or sets the center point for a rotation interaction when single pointer input is detected.
PivotRadius Gets or sets the radius, from the PivotCenter to the pointer input, for a rotation interaction when single pointer input is detected.
ShowGestureFeedback Gets or sets a value that indicates whether visual feedback is displayed during an interaction.

Public Methods

  Name Description
CanBeDoubleTap Identifies whether a tap can still be interpreted as the second tap of a double tap gesture.
CompleteGesture Causes the gesture recognizer to finalize an interaction.
ProcessDownEvent Processes pointer input and raises the GestureRecognizer events appropriate to a pointer down action for the gestures and manipulations specified by the GestureSettings property.
ProcessInertia Performs inertia calculations and raises the various inertia events.
ProcessMouseWheelEvent Processes pointer input and raises the GestureRecognizer events appropriate to a mouse wheel action for the gestures and manipulations specified by the GestureSettings property.
ProcessMoveEvents Process move events.
ProcessUpEvent Processes pointer input and raises the GestureRecognizer events appropriate to a pointer up action for the gestures and manipulations specified by the GestureSettings property.

Public Events

  Name Description
CrossSliding Occurs when a user performs a slide or swipe gesture (through a single touch contact) within a content area that supports panning along a single axis only. The gesture must occur in a direction that is perpendicular to this panning axis.
Dragging Occurs when a user performs a slide or swipe gesture with a mouse or pen/stylus (single contact).
Holding Occurs when a user performs a press and hold gesture (with a single touch, mouse, or pen/stylus contact).
ManipulationCompleted Occurs when the input points are lifted and all subsequent motion (translation, expansion, or rotation) through inertia has ended.
ManipulationInertiaStarting Occurs when all contact points are lifted during a manipulation and the velocity of the manipulation is significant enough to initiate inertia behavior (translation, expansion, or rotation continue after the input pointers are lifted).
ManipulationStarted Occurs when one or more input points have been initiated and subsequent motion (translation, expansion, or rotation) has begun.
ManipulationUpdated Occurs after one or more input points have been initiated and subsequent motion (translation, expansion, or rotation) is under way.
PressingCompleted Event that fires when the user completes a pressing gesture.
PressingStarted Event that fires when the user starts a pressing gesture.
PressingUpdated Event that fires when a pressing gesture is updated.
RightTapped Occurs when the pointer input is interpreted as a right-tap gesture.
Tapped Occurs when the pointer input is interpreted as a tap gesture.

See also

Reference

GestureRecognizer Class

Windows.UI.Input Namespace