In Docking Manager, the children that are added during run time were not serialized automatically. It can be manually serialized and de-serialized as follows.
Serializing the children
In Window Closing event, Call SaveDockState() method to save the state of static children. Then create a list of string, add the header of all dynamic children and then write it to the xml file.
Deserializing the children
In DockingManager Loaded event, extract the list of headers from xml file. Create child element, set its header and add it to DockingManager. Then call LoadeDockState() method to load all the children.
Here is an example of serializing the children manually using XML Serializer:
This page will automatically be redirected to the sign-in page in 10 seconds.