we are using the class DockSiteLayoutSerializer to save and restore the docking layout. Additionally we have a default layout that is loaded, when the user clicks on "restore layout". Whenever the layout is loaded all windows are closed. While this is okay for tool windows, I want the document windows to stay open. They just should be ignored in the process.
I already set the property SerializationBehavior to DockSiteSerializationBehavior.ToolWindowsOnly, but that didn't work.
Is there any other way to achieve the behavior?
Best regards, Tobias Lingemann.