【发布时间】:2015-01-29 13:08:11
【问题描述】:
我真的对这个话题感到困惑。我发现的所有教程都没有,例如当有触摸输入工作时移动对象。例如,他们都做这样的事情:
Control.AddHandler(UIElement.ManipulationStartedEvent, new EventHandler
<ManipulationStartedEventArgs>(Control_ManipulationStarted), true);
但是没有 ManipulationStartedEventArgs,VS2013 找不到,也没有办法添加 using 指令。这些教程是否过时?MS 是否改变了 ManipulationDelta 的工作方式?
再次使用 Properties 部分的 EventHandler 部分添加它不起作用,无论我尝试做什么,都不会触发任何事件。
【问题讨论】:
标签: c# windows animation windows-phone-8.1 user-input