This project is read-only.

Dockable Templates

Mar 21, 2012 at 8:48 PM

Forgive me if this has already been answered, but browsing through both the documentation and the discussion list didn't bring me any insight unfortunately...

Is there a way to design sort of Templates that can then be docked?

So, here is what I would like to do: I have a number of "Templates" for different content types in my application that I want to spawn at need. Right now I have adopted two ways of doing this: For easy things I just create the objects in code and for more complex things I create a usercontrol and then create the Avalon object in code and attach the usercontrol to it. What I would like to do is start a new XAML file + code behind, just like a user control, that uses a dockablecontent or documentcontent as a base class so I can just instantiate it and show it in my DockingManager.