I have found this question MANY times on Google and Stack Overflow. None of the solutions work.
I have a TextBox. AllowDrop is set to true. I first tried DragEnter/DragOver/Drop events and then switched to "Preview" events for all of these. No event EVER gets called no matter what I do. Next I tried adding handlers after InitializeComponent(). No luck.
Xaml - commented out because I can't post it otherwise:
<TextBox PreviewDragEnter="OutputFolder_DragEnter" PreviewDragOver="OutputFolder_DragOver" AllowDrop="True" PreviewDrop="OutputFolder_Drop" />
No C# code posted because no breakpoint is ever hit. It simply doesn't work. As I mentioned, I did try adding a handler manually but still can't get it working.