Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines the gestures that can be passed to SetManualGesture.
Syntax
typedef enum DIRECTMANIPULATION_GESTURE_CONFIGURATION {
DIRECTMANIPULATION_GESTURE_NONE = 0,
DIRECTMANIPULATION_GESTURE_DEFAULT = 0,
DIRECTMANIPULATION_GESTURE_CROSS_SLIDE_VERTICAL = 0x8,
DIRECTMANIPULATION_GESTURE_CROSS_SLIDE_HORIZONTAL = 0x10,
DIRECTMANIPULATION_GESTURE_PINCH_ZOOM = 0x20
} ;
Constants
DIRECTMANIPULATION_GESTURE_NONEValue: 0 No gestures are defined. |
DIRECTMANIPULATION_GESTURE_DEFAULTValue: 0 Only default gestures are supported. This is the default value. |
DIRECTMANIPULATION_GESTURE_CROSS_SLIDE_VERTICALValue: 0x8 Vertical slide and swipe gestures are supported through the cross-slide interaction. For more information, see Guidelines for cross-slide. |
DIRECTMANIPULATION_GESTURE_CROSS_SLIDE_HORIZONTALValue: 0x10 Horizontal slide and swipe gestures are supported through the cross-slide interaction. For more information, see Guidelines for cross-slide. |
DIRECTMANIPULATION_GESTURE_PINCH_ZOOMValue: 0x20 Pinch and stretch gestures for zooming. |
Remarks
By default, Direct Manipulation always reassigns tap and press-and-hold gestures to the application.
Use DIRECTMANIPULATION_GESTURE_PINCH_ZOOM to zoom instead of scale.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps only] |
| Minimum supported server | Windows Server 2012 [desktop apps only] |
| Header | directmanipulation.h |