Posted 20 years ago
by Rene Bechmann

Hi
I have a problem with restoring the tool window positions from a previously saved XML string.
The effect is that all the tool windows are placed in the upper left corner ( above the menu and toolbar )
The menu and toolbar is from DevComponents XtraBars and does implement docking aswell like moving the menu, toolbar and statusbar around the edges.
When used together UIStudio and XtraBars works like a charm but UIStudio is simply unable to restore propperly. My guess is that it gets confused about where its available working area is (bacause its part of a docking scenario itself)
Does anybody know of the problem? Is there any workaround?
Kind regards
René Bechmann
RBC Data
I have a problem with restoring the tool window positions from a previously saved XML string.
// This is how i save the XML
string xml = dockManager.ToolWindowLayoutData.OuterXml;
SaveDockManagerXML( xml );
// This is how i restore the XML
string xml = ReadDockManagerXML();
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.LoadXml( xml );
dockManager.ToolWindowLayoutData = xmlDoc;
The menu and toolbar is from DevComponents XtraBars and does implement docking aswell like moving the menu, toolbar and statusbar around the edges.
When used together UIStudio and XtraBars works like a charm but UIStudio is simply unable to restore propperly. My guess is that it gets confused about where its available working area is (bacause its part of a docking scenario itself)
Does anybody know of the problem? Is there any workaround?
Kind regards
René Bechmann
RBC Data