【发布时间】:2017-04-11 07:02:06
【问题描述】:
在 WPF4 中,可以通过调用 ManipulationDeltaEventArgs.Cancel() 取消操作事件并将其转发回鼠标事件。
我希望能够在 UWP / Windows10 中做同样的事情,但是ManipulationDeltaRoutedEventArgs 上没有这样的取消方法。
MSDN 文档参考cancellation of a manipulation ...
ManipulationStarted 等操作手势事件表示正在进行的交互。当用户触摸一个元素时它们开始触发并持续到用户抬起手指或操作被取消。
...但没有告诉您如何实际做到这一点:?
【问题讨论】:
-
你是否累了调用Complete() - MSDN says:
Cancel the manipulation by calling the Complete method.
标签: uwp win-universal-app