How to create a panel in WPF that can be dragged behind the main window?

Attempting to replicate dock controls in Visual Studio 2008. My application repeats the RADAR environment for the FAA, and I want users with two monitors to drag control panels to another monotor to leave the main canvas transparent. This functionality is similar to how various panels in VS can be dragged outside the main window.

Thanks,

Dave

+1
source share
1 answer

Redundant controls cannot exist as top-level windows on their own. They need a window to wear them.

A general technique of this kind is that you need to instantiate a new top-level window (WPF Window) when the drag and drop action starts, remove (or clone) the target control from its original window and paste it into a new floating window.

+2
source

All Articles