I have a docksite containing a document with another docsite that contains three docwindows in mdi layout.
On start 2 of the three have IsOpen="False".
I then programmatically open them. That works.
I then programatically close them. That works. xamlDocXmlResults1.Close();
Then the same code tries to open one again:
documentWindow.Title = title;
if (documentWindow.IsOpen == false)
This second time throws an exception "The operation is invalid because the DockingWindow can only be moved to a linked DockSite."