Pinch and zoom behaviour for windows phone

2019-05-24 13:47发布

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.

2条回答
兄弟一词,经得起流年.
2楼-- · 2019-05-24 14:33

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.

查看更多
beautiful°
3楼-- · 2019-05-24 14:36

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

Windows Phone / Silverlight Behaviors and WPF samples implementing Multi-Touch Manipulation (Gestures) and Inertia.
查看更多
登录 后发表回答