I got this weird problem in Drag & Drop events, that I cannot figure out.
I am trying to make Drag & Drop work in my plain simple WPF application.
If I Drag a Contact Card from Microsoft Lync 2010 to my WPF program, then I am not allowed to.
There is no "DragEnter", "DragOver" or "Drop" event in my WPF application.
But if I do a Drag & Drop from applications like Word, Internet Explorer or Google Chrome it works fine. I get "DragEnter", "DragOver" and "Drop" events.
The wired part come now. If I do the same in a WinForm application, it works as expected when I do a Drag & Drop of a Contact Card from Microsoft Lync.
I feel, I need to setup something up in my WPF application, perhaps some low level debugging ?
- In my WPF and WinForm I have set "AllowDrop" to true
In "DragOver" event, I have set e.Effects = DragDropEffects.Copy and e.Handled = true.