GestureRecognizer Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides gesture and manipulation recognition, event listeners, and settings.
For more details on this API, please see the the UWP WinRT GestureRecognizer topic.
public ref class GestureRecognizer sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Microsoft.Foundation.WindowsAppSDKContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GestureRecognizer final
[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.Foundation.WindowsAppSDKContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class GestureRecognizer
function GestureRecognizer()
Public NotInheritable Class GestureRecognizer
- Inheritance
- Attributes
Gesture |
Initializes a new instance of a GestureRecognizer object. For more details on this API, please see the the UWP WinRT GestureRecognizer topic. |
Auto |
Gets or sets a value that indicates whether manipulations during inertia are generated automatically. For more details on this API, please see the the UWP WinRT AutoProcessInertia topic. |
Cross |
Gets or sets a value that indicates whether the exact distance from initial contact to end of the cross-slide interaction is reported. |
Cross |
Gets or sets a value that indicates whether the cross-slide axis is horizontal. For more details on this API, please see the the UWP WinRT CrossSlideHorizontally topic. |
Cross |
Gets or sets values that indicate the distance thresholds for a CrossSliding interaction. For more details on this API, please see the the UWP WinRT CrossSlideThresholds topic. |
Gesture |
Gets or sets a value that indicates the gesture and manipulation settings supported by an application. For more details on this API, please see the the UWP WinRT GestureSettings topic. |
Inertia |
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). For more details on this API, please see the the UWP WinRT InertiaExpansion topic. |
Inertia |
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). For more details on this API, please see the the UWP WinRT InertiaExpansionDeceleration topic. |
Inertia |
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). For more details on this API, please see the the UWP WinRT InertiaRotationAngle topic. |
Inertia |
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). For more details on this API, please see the the UWP WinRT InertiaRotationDeceleration topic. |
Inertia |
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). For more details on this API, please see the the UWP WinRT InertiaTranslationDeceleration topic. |
Inertia |
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). For more details on this API, please see the the UWP WinRT InertiaTranslationDisplacement topic. |
Is |
Gets a value that indicates whether an interaction is being processed. For more details on this API, please see the the UWP WinRT IsActive topic. |
Is |
Gets a value that indicates whether a manipulation is still being processed during inertia (no input points are active). For more details on this API, please see the the UWP WinRT IsInertial topic. |
Manipulation |
Gets or sets a value that indicates whether the exact distance from initial contact to end of the interaction is reported. For more details on this API, please see the the UWP WinRT ManipulationExact topic. |
Mouse |
Gets a set of properties that are associated with the wheel button of a mouse device. For more details on this API, please see the the UWP WinRT MouseWheelParameters topic. |
Pivot |
Gets or sets the center point for a rotation interaction when single pointer input is detected. For more details on this API, please see the the UWP WinRT PivotCenter topic. |
Pivot |
Gets or sets the radius, from the PivotCenter to the pointer input, for a rotation interaction when single pointer input is detected. For more details on this API, please see the the UWP WinRT PivotRadius topic. |
Show |
Gets or sets a value that indicates whether visual feedback is displayed during an interaction. For more details on this API, please see the the UWP WinRT ShowGestureFeedback topic. |
Can |
Identifies whether a tap can still be interpreted as the second tap of a double tap gesture. For more details on this API, please see the the UWP WinRT CanBeDoubleTap topic. |
Complete |
Causes the gesture recognizer to finalize an interaction. For more details on this API, please see the the UWP WinRT CompleteGesture topic. |
Process |
Processes pointer input and raises the GestureRecognizer events appropriate to a pointer down action (for the gestures and manipulations specified by the GestureSettings property). For more details on this API, please see the the UWP WinRT ProcessDownEvent topic. |
Process |
Performs inertia calculations and raises the various inertia events. For more details on this API, please see the the UWP WinRT ProcessInertia topic. |
Process |
Processes pointer input and raises the GestureRecognizer events appropriate to a mouse wheel action (for the gestures and manipulations specified by the GestureSettings property). For more details on this API, please see the the UWP WinRT ProcessMouseWheelEvent topic. |
Process |
Processes pointer input and raises the GestureRecognizer events appropriate to a pointer move action (for the gestures and manipulations specified by the GestureSettings property). For more details on this API, please see the the UWP WinRT ProcessMoveEvents topic. |
Process |
Processes pointer input and raises the GestureRecognizer events appropriate to a pointer up action (for the gestures and manipulations specified by the GestureSettings property). For more details on this API, please see the the UWP WinRT ProcessUpEvent topic. |
Cross |
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. For more details on this API, please see the the UWP WinRT CrossSliding topic. |
Dragging |
Occurs when a user performs a slide or swipe gesture with a mouse or pen/stylus (single contact). For more details on this API, please see the the UWP WinRT Dragging topic. |
Holding |
Occurs when a user performs a press and hold gesture (with a single touch, mouse, touchpad, or pen/stylus contact). For more details on this API, please see the the UWP WinRT Holding topic. |
Manipulation |
Occurs when the input points are lifted and all subsequent motion (translation, expansion, or rotation) through inertia has ended. For more details on this API, please see the the UWP WinRT ManipulationCompleted topic. |
Manipulation |
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). For more details on this API, please see the the UWP WinRT ManipulationInertiaStarting topic. |
Manipulation |
Occurs when one or more input points have been initiated and subsequent motion (translation, expansion, or rotation) has begun. For more details on this API, please see the the UWP WinRT ManipulationStarted topic. |
Manipulation |
Occurs after one or more input points have been initiated and subsequent motion (translation, expansion, or rotation) is under way. For more details on this API, please see the the UWP WinRT ManipulationUpdated topic. |
Right |
Occurs when the pointer input is interpreted as a right-tap gesture, regardless of input device. Examples include:
For more details on this API, please see the the UWP WinRT RightTapped topic. |
Tapped |
Occurs when the pointer input is interpreted as a tap gesture. For more details on this API, please see the the UWP WinRT Tapped topic. |
Product | Versions |
---|---|
Windows App SDK | 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 |