Best practices for creating both mouse and touch-oriented WPF application [closed]

人走茶凉 提交于 2019-12-08 01:38:56

问题


There is a need to develop WPF application which will support both mouse and touch input. I'm looking for an approach that will enable maintaining single codebase and minimize pain to implement that. Some framework or build configuration maybe - something like Project Linker + preprocessor directives scenario that is used to multi-target both WPF and Silverlight platforms in single project. Thanks in advance.
edit Sample scenario : application has control that allows user upload multiple photos onto server. File selection box supports drag'n'drop with mouse, also it has to support some gesture to add new files.


回答1:


Check this Drag and Drop Library.



来源:https://stackoverflow.com/questions/11085078/best-practices-for-creating-both-mouse-and-touch-oriented-wpf-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!