I am trying to drag a text file into my C# WPF application to capture the file location. The things I have tried so far are as follows:
- Set the AllowDrop property to true
- Add the DragEnter, DragOver and Drop events - none of them fire - all i get is a black circle with a line through it which, i think means, unavailable.
- Added the following to the app manifest level="requireAdministrator" uiAccess="false" />
I have utilised the OpenFileDialog method as an alternative but would be nice to have both options.