问题
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