Well, I am working in a project using xamDockManager, as part of a project we need saving the xamdockManger layout in memory (xamdockManger panes, documentContentHost panes and the position where the panes were docked) and restoring it after.
I've been trying to use the Persistence framework but it doesn't work for me: the panes dissapear when I try to restore the layout .
What is the best way to save in memory and restore the dockManager layout?
PD: I attached an example that illustrates the issue. Sorry for my english
I had the exact same problem. My ContentPanes inside DocumentHost are loaded but the content inside XamDockManager.Panes such as ContentPanes docked right, Just disspeared. I wonder if this is a bug. I used this link as a guide
http://help.infragistics.com/Help/Doc/Silverlight/2014.1/CLR4.0/html/xamDockManager_Saving_Loading_Docking_Layout.html#step11
With the XamdockManager.SaveLayout() it works well. But what I saw as an advantage using persistance framework is that I could save several controls as a group in a single file. With the SaveLayout I do not have this advantage.
You should use the XamDockManager's SaveLayout and LoadLayout methods.