From http://sourceforge.net/projects/wpfdockinglib/ you can download version 0.1.8 of WPF Docking Library. Major feature added is persistence support. I hope to have time to update article on codeproject, anyway persistence it's very easy to use.
To get layout state in xml format use DockManager.GetLayoutAsXml() and to restore a saved state you can use DockManager.RestoreLayoutFromXml().
The latter method need a handler to library client code because DockManager need to know how to associate dockable contents type strings with client instances during deserialization. This mechanism is almost identical to those you can found in DockPanel Suite.
Here a few lines of code:
//Show PropertyWindow docked to the top border
propertyWindow.DockManager = dockManager;
//Show ExplorerWindow docked to the right border as default
explorerWindow.DockManager = dockManager;
//Show ListWindow in documents pane
listWindow.DockManager = dockManager;
private DockingLibrary.DockableContent GetContentFromTypeString(string type)
if (type == typeof(PropertyWindow).ToString())
else if (type == typeof(ExplorerWindow).ToString())
else if (type == typeof(ListWindow).ToString())
I suppose you can find same bugs in this version so if you need a more stable release you can wait for version 0.2.