开发者

zoom in and zoom out for Image in WP7

开发者 https://www.devze.com 2023-04-04 09:37 出处:网络
I want to zoom in and zoom out an Image in WP7,C# without using pinch zooming. For example If I double tap on the browser it automatically zooms in and zooms out ag开发者_Go百科ain if I double tap.

I want to zoom in and zoom out an Image in WP7,C# without using pinch zooming. For example If I double tap on the browser it automatically zooms in and zooms out ag开发者_Go百科ain if I double tap.

So when I do double tap it automatically zooms in the image and again if I do double tap it zooms out to normal size. could you please let me know how to achieve it.

Thanks, Mugu


Try applying a ScaleTransform to the image in the DoubleTap event handler.

0

精彩评论

暂无评论...
验证码 换一张
取 消