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:
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|