DIRECTMANIPULATION_GESTURE_CONFIGURATION enumeration (directmanipulation.h)

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_NONE
Value: 0
No gestures are defined.
DIRECTMANIPULATION_GESTURE_DEFAULT
Value: 0
Only default gestures are supported. This is the default value.
DIRECTMANIPULATION_GESTURE_CROSS_SLIDE_VERTICAL
Value: 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_HORIZONTAL
Value: 0x10
Horizontal slide and swipe gestures are supported through the cross-slide interaction. For more information, see Guidelines for cross-slide.
DIRECTMANIPULATION_GESTURE_PINCH_ZOOM
Value: 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

See also

Direct Manipulation Enumerations