GestureSettings
GestureSettings
GestureSettings
GestureSettings
Enum
Definition
Specifies the interactions that are supported by an application.
This enumeration has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.
public : enum class GestureSettingspublic enum GestureSettingsPublic Enum GestureSettings// You can use this enum in JavaScript.
- Attributes
-
System.FlagsAttribute ContractVersionAttribute
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Fields
| CrossSlide CrossSlide CrossSlide CrossSlide | 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 DoubleTap DoubleTap DoubleTap | Enable support for the double-tap gesture.
|
| Drag Drag Drag Drag | 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. NoteMouse and pen/stylus input does not raise manipulation events (ManipulationStarted, ManipulationUpdated, and ManipulationCompleted ) during the course of this interaction. Specifying support for Drag and one or more of the manipulation settings enables a single device to perform multiple actions. For example, the slide or swipe gesture can be performed with the left mouse button to select text while the wheel button can be rolled to scroll content. |
| Hold Hold Hold Hold | 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 HoldWithMouse HoldWithMouse HoldWithMouse | 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. |
| ManipulationMultipleFingerPanning ManipulationMultipleFingerPanning ManipulationMultipleFingerPanning ManipulationMultipleFingerPanning | Enable panning and disable zoom when two or more touch contacts are detected.Prevents unintentional zoom interactions when panning with multiple fingers. |
| ManipulationRotate ManipulationRotate ManipulationRotate ManipulationRotate | 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 ManipulationRotateInertia ManipulationRotateInertia ManipulationRotateInertia | Enable support for rotation inertia after the rotate gesture (through pointer input) is complete. The ManipulationInertiaStarting event is raised if inertia is enabled. |
| ManipulationScale ManipulationScale ManipulationScale ManipulationScale | 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 ManipulationScaleInertia ManipulationScaleInertia ManipulationScaleInertia | 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 ManipulationTranslateInertia ManipulationTranslateInertia ManipulationTranslateInertia | Enable support for translation inertia after the slide gesture (through pointer input) is complete. The ManipulationInertiaStarting event is raised if inertia is enabled. |
| ManipulationTranslateRailsX ManipulationTranslateRailsX ManipulationTranslateRailsX ManipulationTranslateRailsX | 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 ManipulationTranslateRailsY ManipulationTranslateRailsY ManipulationTranslateRailsY | 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 ManipulationTranslateX ManipulationTranslateX ManipulationTranslateX | 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 ManipulationTranslateY ManipulationTranslateY ManipulationTranslateY | 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 None None None | Disable support for gestures and manipulations. |
| RightTap RightTap RightTap RightTap | Enable support for a right-tap interaction. The RightTapped event is raised when the contact is lifted or the mouse button released.
|
| Tap Tap Tap Tap | Enable support for the tap gesture.
|