Quantcast
Viewing all articles
Browse latest Browse all 801

Commented Issue: Drag and Drop: ListBoxDragDropTarget with Child Window [4494]

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 **

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


Viewing all articles
Browse latest Browse all 801

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>