We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

DockingManager - drag and drop between windows

I have two instances open of a window with DockingManager. Is there any way to drag and drop between the windows?

3 Replies

HK Hemanth Kumar K Syncfusion Team November 19, 2009 02:55 PM UTC

Hi Alex,

You can Drag and Drop between the Windows which is hosted in DockingManager by default. for this you need to create Drag and Drop functionality for the child's you hosted inside DockingManager .There are numerous Tutorials available for General Drag and Drop in WPF. here are MSDN links for Drag and Drop tutorials.

http://msdn.microsoft.com/en-us/library/ms742859.aspx
http://blogs.msdn.com/jaimer/archive/2007/07/12/drag-drop-in-wpf-explained-end-to-end.aspx

If these details are not sufficient for you. please provide us more details about what you want to achieve exactly.

Thanks,
HemanthKumar K.


AR Alex Rubakha November 19, 2009 05:04 PM UTC

Thank you for your reply, but perhaps I wasn't clear.

I'm going to simplify my task for now. Let me refer you to your own sample:
http://www.syncfusion.com/support/kb/1737/How-can-I-use-more-than-one-DockingManager-in-my-windows

It has two DockingManager's on the window with two ListBoxes in each. You can dock and float ListBoxes in each DockingManager, but not across. That is, you can't drag a ListBox from one DockingManager and drop it and dock it to another DockingManager. And that's exactly what I'm trying to achieve.

No, I can not use one DockingManager, since I actually need to have them on two DIFFERENT windows.

Basically, I'm looking for DockingManager.AddToTargetManagersList method that apparantely exists in Winform version of DockingManager but not in WPF version.


HK Hemanth Kumar K Syncfusion Team November 20, 2009 04:26 AM UTC

Hi Alex,

Usually you can have more than one DockingManager in single window but you can't dock child window of one DockingManager to another DockingManager in WPF, This is Confirmed as feature request and Implementation of this feature is also depend upon Product Design ,code compatibility . However, we will implement this feature in our upcoming releases.

Please let us know if you have any queries,

Thanks,
HemanthKumar K.

Loader.
Live Chat Icon For mobile
Up arrow icon