Stephan Ronald
Stephan Ronald

Reputation: 1405

Pinch and zoom behaviour for windows phone

Is it possible to create a behavior for Pinch and zoom to Image control in windows phone 8. I am trying to apply pinch and zoom along with rotation to Image in my application. In a forum I found that Gesture listener is deprecated and they are not promoting implementation with gesture. So can any one please suggest an alternative method for me.

Upvotes: 2

Views: 1523

Answers (2)

JustinAngel
JustinAngel

Reputation: 16102

If you're targeting only Windows Phone 8 you can use the new ManipulationDeltaEventArgs.PinchManipulation property from the ManipulationDelta event. Instead of using GestureListener/TouchPanel for pinch & zoom you should rely on this new property.

Upvotes: 7

robertk
robertk

Reputation: 2461

Maybe this could help you https://multitouch.codeplex.com/

Windows Phone / Silverlight Behaviors and WPF samples implementing Multi-Touch Manipulation (Gestures) and Inertia.

Upvotes: 1

Related Questions