Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1255
XamDockManager.Save(and Load)Layout sample
posted

In the Feature Browser, the sample for SaveLayout and LoadLayout works for panes that are created statically in the xaml.  Do you have an example of Save(and Load)Layout when the user has dynamically loaded documents and moved them around? 

If no example, do you have any advice to help me extend these methods to perhaps save the Type of the class contained in the SplitPane, then load that Type before setting the docking position of the contentpane?  After working with these methods over the weekend, I see that the xml generated by the SaveLayout method identifies the contentpane by its Name.  But the LoadLayout method does not actually create the instance of this object if it does not exist in the xaml.  That's what I need to do.

Thanks in advance for any guidance you can provide.