DIRECTMANIPULATION_GESTURE_CONFIGURATION enumeration

Defines the gestures that can be passed to SetManualGesture.

Syntax


typedef enum _DIRECTMANIPULATION_GESTURE_CONFIGURATION { 
  DIRECTMANIPULATION_GESTURE_NONE                    = 0x00000000,
  DIRECTMANIPULATION_GESTURE_DEFAULT                 = 0x00000000,
  DIRECTMANIPULATION_GESTURE_CROSS_SLIDE_VERTICAL    = 0x00000008,
  DIRECTMANIPULATION_GESTURE_CROSS_SLIDE_HORIZONTAL  = 0x00000010,
  DIRECTMANIPULATION_GESTURE_PINCH_ZOOM              = 0x00000020
} DIRECTMANIPULATION_GESTURE_CONFIGURATION;

Constants

DIRECTMANIPULATION_GESTURE_NONE

No gestures are defined.

DIRECTMANIPULATION_GESTURE_DEFAULT

Only default gestures are supported. This is the default value.

DIRECTMANIPULATION_GESTURE_CROSS_SLIDE_VERTICAL

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

Horizontal slide and swipe gestures are supported through the cross-slide interaction. For more information, see Guidelines for cross-slide.

DIRECTMANIPULATION_GESTURE_PINCH_ZOOM

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

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Directmanipulation.h

IDL

DirectManipulation.idl

See also

Direct Manipulation Enumerations

 

 

Community Additions

ADD
Show: