Hi
Im trying to save Layout using XamDockManager.SaveLayout() having str like below:
DockManager
SplitPane
TabGroupPane
ContentPane
(Having Same str as above as child of Content Pane)
The saved Xml doesn't have child DockMgr or any of the contentPanes. PFA attached a sample.
Could someone please look into it ?
Hello Amit,
Thank you for the attached sample application.
By default the XamDockManager saves the following information:
The behavior that you are describing about the child XamDockManager is expected, since the parent XamDockManager will save all the information that I have mentioned(size, position, state and etc.), but it would not save the content in your scenario the content is child XamDockManager and the information related with it. Please note that if you does not clean or remove the content(Panes,TabGroupPane and etc. of child XDM) you should be able to load it.
If you want the layout of your child XDM to be saved you have to call it's SaveLayout method.
You can read additional information about Saving and Loading Layouts in XamDockManager from the following link:
https://ko.infragistics.com/help/wpf/xamdockmanager-about-saving-and-loading-layouts
Please let me know if you have any questions.
Sincerely,ZhivkoAssociate Software Developer