Persisting layout using AvalonDock is quite simple. Just call the following methods:
It’s simple, but it did not work for me. My fault was also simple. You must define the x:Name=”name” attribute on the DockableContents and everything will work fine.