In my case i have a ListBox wrapped with ListBoxDragDropTarget in a Child Window.
But it is not showing any visual effect of Drag and Drop.
One thing i have noticed that when i close child window, mouse cursor shows the last item i have dragged.
Comments: ** Comment from web user: wmlanza **
But it is not showing any visual effect of Drag and Drop.
One thing i have noticed that when i close child window, mouse cursor shows the last item i have dragged.
Comments: ** Comment from web user: wmlanza **
jehof,
I tried what you tried and am getting stuck on:
DragDropRootContainer.Root = (this.GetParentByType<ChildWindow>()) ??
(this.GetParentByType<UserControl>()) ??
Application.Current.RootVisual;
I get compile errors because it does not like "GetParentByType". I can't find it in any documentation. Any help would be appreciated.
Thanks,
Bill