ExpGestureRecognizer Class

Definition

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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 ExpGestureRecognizer sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Microsoft.Foundation.LiftedExperimentalContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.LiftedExperimentalContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ExpGestureRecognizer final
[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.Foundation.LiftedExperimentalContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.LiftedExperimentalContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ExpGestureRecognizer
Public NotInheritable Class ExpGestureRecognizer
Inheritance
ExpGestureRecognizer
Attributes
Windows.Foundation.Metadata.ActivatableAttribute Windows.Foundation.Metadata.ContractVersionAttribute Windows.Foundation.Metadata.MarshalingBehaviorAttribute Windows.Foundation.Metadata.ThreadingAttribute

Constructors

ExpGestureRecognizer()

Important

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

Initializes a new instance of a ExpGestureRecognizer object.

For more details on this API, please see the the UWP WinRT GestureRecognizer topic.

Properties

AutoProcessInertia

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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.

CrossSlideExact

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

Gets or sets a value that indicates whether the exact distance from initial contact to end of the cross-slide interaction is reported.

For more details on this API, please see the the UWP WinRT CrossSlideExact topic.

CrossSlideHorizontally

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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.

CrossSlideThresholds

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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.

GestureSettings

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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.

InertiaExpansion

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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.

InertiaExpansionDeceleration

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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.

InertiaRotationAngle

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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.

InertiaRotationDeceleration

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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.

InertiaTranslationDeceleration

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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.

InertiaTranslationDisplacement

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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.

IsActive

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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.

IsInertial

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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.

ManipulationExact

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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.

MouseWheelParameters

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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.

PivotCenter

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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.

PivotRadius

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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.

ShowGestureFeedback

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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.

Methods

CanBeDoubleTap(ExpPointerPoint)

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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.

CompleteGesture()

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

Causes the gesture recognizer to finalize an interaction.

For more details on this API, please see the the UWP WinRT CompleteGesture topic.

ProcessDownEvent(ExpPointerPoint)

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

Processes pointer input and raises the ExpGestureRecognizer 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.

ProcessInertia()

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

Performs inertia calculations and raises the various inertia events.

For more details on this API, please see the the UWP WinRT ProcessInertia topic.

ProcessMouseWheelEvent(ExpPointerPoint, Boolean, Boolean)

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

Processes pointer input and raises the ExpGestureRecognizer 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.

ProcessMoveEvents(IList<ExpPointerPoint>)

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

Processes pointer input and raises the ExpGestureRecognizer 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.

ProcessUpEvent(ExpPointerPoint)

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

Processes pointer input and raises the ExpGestureRecognizer 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.

Events

CrossSliding

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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.

ManipulationCompleted

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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.

ManipulationInertiaStarting

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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.

ManipulationStarted

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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.

ManipulationUpdated

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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.

RightTapped

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

Occurs when the pointer input is interpreted as a right-tap gesture, regardless of input device.

Examples include:

  • Right mouse or touchpad button click
  • Pen barrel button click
  • Touch or pen press and hold

For more details on this API, please see the the UWP WinRT RightTapped topic.

Tapped

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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.

Applies to