Specifies the interactions that are supported by an application.
[FlagsAttribute]
public enum class GestureSettings
| Member | Value | Description | ||
|---|---|---|---|---|
| CrossSlide | 32768 | Enable support for the CrossSliding interaction when using the slide or swipe gesture through a single touch contact.This gesture can be used for selecting or rearranging objects. | ||
| DoubleTap | 2 | Enable support for the double-tap gesture.
| ||
| Drag | 32 | Enable support for the slide or swipe gesture with a mouse or pen/stylus (single contact). The Dragging event is raised when either gesture is detected.This gesture can be used for text selection, selecting or rearranging objects, or scrolling and panning.
| ||
| Hold | 4 | Enable support for the press and hold gesture (from a single touch or pen/stylus contact). The Holding event is raised if a time threshold is crossed before the contact is lifted, an additional contact is detected, or a gesture is started.
| ||
| HoldWithMouse | 8 | Enable support for the press and hold gesture through the left button on a mouse. The Holding event is raised if a time threshold is crossed before the left button is released or a gesture is started.This gesture can be used to display a context menu. | ||
| KinectHold | 65536 | Enable support for the press and hold gesture through Kinect gestures. The Holding event is raised if a time threshold is crossed before the user moves the hand cursor away from the UI element. This gesture can be used to display a context menu. | ||
| ManipulationRotate | 1024 | Enable support for the rotation gesture through pointer input. The ManipulationStarted, ManipulationUpdated, and ManipulationCompleted events are all raised during the course of this interaction. | ||
| ManipulationRotateInertia | 8192 | Enable support for rotation inertia after the rotate gesture (through pointer input) is complete. The ManipulationInertiaStarting event is raised if inertia is enabled. | ||
| ManipulationScale | 2048 | Enable support for the pinch or stretch gesture through pointer input.These gestures can be used for optical or semantic zoom and resizing an object. The ManipulationStarted, ManipulationUpdated, and ManipulationCompleted events are all raised during the course of this interaction. | ||
| ManipulationScaleInertia | 16384 | Enable support for scaling inertia after the pinch or stretch gesture (through pointer input) is complete. The ManipulationInertiaStarting event is raised if inertia is enabled. | ||
| ManipulationTranslateInertia | 4096 | Enable support for translation inertia after the slide gesture (through pointer input) is complete. The ManipulationInertiaStarting event is raised if inertia is enabled. | ||
| ManipulationTranslateRailsX | 256 | Enable support for the slide gesture through pointer input, on the horizontal axis using rails (guides). The ManipulationStarted, ManipulationUpdated, and ManipulationCompleted events are all raised during the course of this interaction.This gesture can be used for rearranging objects. | ||
| ManipulationTranslateRailsY | 512 | Enable support for the slide gesture through pointer input, on the vertical axis using rails (guides). The ManipulationStarted, ManipulationUpdated, and ManipulationCompleted events are all raised during the course of this interaction.This gesture can be used for rearranging objects. | ||
| ManipulationTranslateX | 64 | Enable support for the slide gesture through pointer input, on the horizontal axis. The ManipulationStarted, ManipulationUpdated, and ManipulationCompleted events are all raised during the course of this interaction.This gesture can be used for rearranging objects. | ||
| ManipulationTranslateY | 128 | Enable support for the slide gesture through pointer input, on the vertical axis. The ManipulationStarted, ManipulationUpdated, and ManipulationCompleted events are all raised during the course of this interaction.This gesture can be used for rearranging objects. | ||
| None | 0 | Disable support for gestures and manipulations. | ||
| RightTap | 16 | Enable support for a right-tap interaction. The RightTapped event is raised when the contact is lifted or the mouse button released.
| ||
| Tap | 1 | Enable support for the tap gesture.
|
Namespace: Windows.UI.Input
Metadata: windows.winmd