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.
Asked
Active
Viewed 1,510 times
2
-
I found the perfect soultion for pinch to zoom and pan. It is actually a Microsoft Code sample at the following link http://code.msdn.microsoft.com/wpapps/Image-Recipes-0c0b8fee I just used it as boiler plate code and it worked wonders. Cheers – Harsha Reddy May 17 '13 at 00:14
2 Answers
7
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.

JustinAngel
- 16,082
- 3
- 44
- 73
-
http://stackoverflow.com/questions/13969400/pinch-to-zoom-functionality-in-windows-phone-8?lq=1 – StezPet Dec 24 '12 at 06:54
1
Maybe this could help you https://multitouch.codeplex.com/
Windows Phone / Silverlight Behaviors and WPF samples implementing Multi-Touch Manipulation (Gestures) and Inertia.

robertk
- 2,461
- 1
- 27
- 39
-
Please find this issue in discussion forum https://multitouch.codeplex.com/discussions/405530 – Stephan Ronald Dec 05 '12 at 10:33