在 Windows 手机 (7.1) 中检测双指缩放 [英] Detect pinch zoom in Windows phone (7.1)

查看:40
本文介绍了在 Windows 手机 (7.1) 中检测双指缩放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据 Silverlight 工具包,Gesture 侦听器将被视为已弃用

According to Silverlight toolkit the Gesture listener is to be considered deprecated

对于所有 Windows Phone 7.1 SDK 开发,应考虑弃用手势侦听器.

The Gesture Listener should be considered deprecated for all Windows Phone 7.1 SDK development.

没有其他可用的建议.在没有手势侦听器的情况下,在 WP7 中检测捏合/缩放手势的最佳方法是什么?

And no other suggestions are available. In the absence of gesture listener what is the best way to detect pinch/zoom gestures in WP7?

推荐答案

看看这个 MSDN 页面.它使用 ManipulationDelta 类来处理触摸和调整大小.

Take a look at this MSDN page. It is using the ManipulationDelta class to handle touch and resizing.

这篇关于在 Windows 手机 (7.1) 中检测双指缩放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆