Drag and drop files into Windows store app

让人想犯罪 __ 提交于 2019-12-11 12:37:02

问题


I am trying to make a simple Windows store app where one of the basic functionalities are that you can just drop files into the app. Or at least that was the idea. I can't find any way to allow dropping files into my app. I have set AllowDrop on my elements but it won't listen when I drop files on the app (using split screen).

Is it possible to, say, drop a text file unto an open metro style app in Windows 8 (or 8.1) and how does one handle it in C#?

来源:https://stackoverflow.com/questions/19725752/drag-and-drop-files-into-windows-store-app

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