积极答复者
如何捕捉‘缩小’手势?

问题
答案
-
1、ScrollViewer_ManipulationDelta应该也可以,在delta参数里查看zoomfactor,也可以在ScrollView.ViewChanged里处理,查看ScrollView.ZoomFactor属性;
2、ScrollViewer放在你需要捕捉手势的所有控件外层
- 已标记为答案 Aaron XueModerator 2012年8月28日 2:51
-
Hi,
感谢PnFWorkshop的回复,具体判断缩小你可以看看这个例子:
你可以看一下这个sample:
http://code.msdn.microsoft.com/windowsapps/Input-3dff271b#content
以及这个:
http://msdn.microsoft.com/en-us/library/system.windows.uielement.manipulationdelta.aspx
Aaron Xue [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- 已标记为答案 Aaron XueModerator 2012年8月28日 2:51
全部回复
-
1、ScrollViewer_ManipulationDelta应该也可以,在delta参数里查看zoomfactor,也可以在ScrollView.ViewChanged里处理,查看ScrollView.ZoomFactor属性;
2、ScrollViewer放在你需要捕捉手势的所有控件外层
- 已标记为答案 Aaron XueModerator 2012年8月28日 2:51
-
Hi,
感谢PnFWorkshop的回复,具体判断缩小你可以看看这个例子:
你可以看一下这个sample:
http://code.msdn.microsoft.com/windowsapps/Input-3dff271b#content
以及这个:
http://msdn.microsoft.com/en-us/library/system.windows.uielement.manipulationdelta.aspx
Aaron Xue [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- 已标记为答案 Aaron XueModerator 2012年8月28日 2:51