Here is a challenge. I’d like to be able to copy all elements (with bindings and events) of a panel into a new window on the
fly, just like AvalonDock or Visual Studio 2010 do. Any Ideas? AvalonDock, apparently, intercepts Windows messages, I am hoping to stay within .NET.
I am trying to create an effect similar to the one found in VS 2010 when Solution Explorer is dragged out of the main window into a
secondary monitor (for instance).
On my first attempt I was able to serialize all elements and deserialize them into a new window but haven’t found an easy way
to take the delegates (events) together. Reflector doesn’t have an inexpensive way to list them, to the best of my knowledge.
On my second attempt I tried to disconnect the main node and connect it again, with all its children into the window but I’ve
got an error message saying that there are duplicated elements (apparently, some kind of recurring problem with WPF).
Thanks for any contributions.
View Complete Post