I have the code for Dropping a file into a WPF window:
XAML (in Home.xaml):
Drop="HomeWindow_Drop" AllowDrop="True">
C# (in Home.xaml.cs)
private void HomeWindow_Drop(object sender, DragEventArgs e)
{
// Handle this
}
But when I try to drag a file into the Home Window, I get the windows "unavailable" cursor (the circle with a line though it), and the event doesn't get fired. I have no idea why it's doing this.
I never had this issue on Windows 7, and I'm now on Windows 8, but I don't think that would have anything to do with it?