【问题标题】:Pinch and zoom behaviour for windows phoneWindows Phone 的捏合和缩放行为
【发布时间】:2012-12-05 09:34:41
【问题描述】:

是否可以在 windows phone 8 中创建捏合和缩放到图像控件的行为。我正在尝试在我的应用程序中应用捏合和缩放以及旋转到图像。在一个论坛中,我发现 Gesture 监听器已被弃用,他们并没有通过手势促进实施。所以任何人都可以为我建议一种替代方法。

【问题讨论】:

标签: windows-phone-7 silverlight-4.0 windows-phone-8


【解决方案1】:

如果您只针对 Windows Phone 8,您可以使用 ManipulationDelta 事件中的新 ManipulationDeltaEventArgs.PinchManipulation 属性。而不是使用 GestureListener/TouchPanel 进行捏合和缩放,您应该依赖这个新属性。

【解决方案2】:

也许这可以帮助你https://multitouch.codeplex.com/

Windows Phone / Silverlight Behaviors and WPF samples implementing Multi-Touch Manipulation (Gestures) and Inertia.

【讨论】:

猜你喜欢
  • 2013-01-17
  • 1970-01-01
  • 1970-01-01
  • 2014-10-23
  • 1970-01-01
  • 1970-01-01
  • 2013-07-11
  • 1970-01-01
  • 2014-11-26
相关资源
最近更新 更多