简体   繁体   English

WPF .NET 4.5手势

[英]WPF .NET 4.5 Gestures

I'm currently developing an application for WPF that needs to run on Windows 7/8. 我目前正在为WPF开发一个需要在Windows 7/8上运行的应用程序。 I would like to leverage some of the gesture features (TappedEventArgs, HoldingEventArgs, etc.) as found in the Windows.UI.Input namespace. 我想利用Windows.UI.Input命名空间中的某些手势功能(TappedEventArgs,HoldingEventArgs等)。 I am currently executing against .NET 4.5. 我目前正在针对.NET 4.5执行。

I am not seeing any of these gestures. 我没有看到任何这些手势。 Am I missing something? 我想念什么吗? All I see are Manipulation events which means I would have to hand-code all of these gestures! 我所看到的只是操纵事件,这意味着我将不得不手动编码所有这些手势! I did find a framework that someone wrote which seems like a decent alternative, but it hasn't been updated in awhile (Blake.NUI). 我确实找到了某人编写的框架,该框架似乎是一个不错的选择,但不久之后就没有更新(Blake.NUI)。

Answer 回答

I answered my own question after doing some research into the differences between WinRT, WPF, and Silverlight. 在对WinRT,WPF和Silverlight之间的差异进行了一些研究之后,我回答了自己的问题。 The answer is that unless you are writing a WinRT application, you are once again stuck in the land of deprecated UI frameworks from Microsoft. 答案是,除非您正在编写WinRT应用程序,否则您将再次陷入Microsoft不推荐使用的UI框架的境地。

I answered my own question after doing some research into the differences between WinRT, WPF, and Silverlight. 在对WinRT,WPF和Silverlight之间的差异进行了一些研究之后,我回答了自己的问题。 The answer is that unless you are writing a WinRT application, you are once again stuck in the land of deprecated UI frameworks from Microsoft. 答案是,除非您正在编写WinRT应用程序,否则您将再次陷入Microsoft不推荐使用的UI框架的境地。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM