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.
Unfortunately, activation email could not send to your email. Please try again.

DockingManager - drag and drop between windows

Thread ID:

Created:

Updated:

Platform:

Replies:

91440 Nov 18,2009 03:27 PM Nov 19,2009 11:26 PM WPF 3
loading
Tags: Tools
Alex Rubakha
Asked On November 18, 2009 03:27 PM

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

Hemanth Kumar K [Syncfusion]
Replied On November 19, 2009 09:55 AM

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.

Alex Rubakha
Replied On November 19, 2009 12:04 PM

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.

Hemanth Kumar K [Syncfusion]
Replied On November 19, 2009 11:26 PM

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.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;