Nick Banks
Nick Banks

Reputation: 4408

WinRT Gesture Support

Are there built in APIs for handling Gestures in WinRT (pinch to zoom specifically). I already have zoom working with the mouse, using:

  public event PointerEventHandler PointerWheelChanged; // UIElement class

and I need the equivalent with touch. Any pointers on the best way to accomplish this? Should I use one of these 'manipulation' events?

  public event ManipulationDeltaEventHandler ManipulationDelta;

Upvotes: 4

Views: 1750

Answers (1)

Larry Osterman
Larry Osterman

Reputation: 16142

This talk by Reed Townsend discusses how to use gesture recognition APIs. You can also look at the GestureRecognizer class for more details on how to do gesture recognition in Windows Runtime apps.

Upvotes: 4

Related Questions