This method is obsolete. Use the SaveLayoutToXml method instead.
The following code can be used to read and write the layout of dock panels from and to an XML file.
C# |
string xmlFile = "c:\\XtraBars\\DockStates\\MainState.xml";
dockManager1.SaveLayoutToXml(xmlFile);
dockManager1.RestoreLayoutFromXml(xmlFile);
|
VB |
Dim xmlFile As String = "c:\XtraBars\DockStates\MainState.xml"
DockManager1.SaveLayoutToXml(xmlFile)
DockManager1.RestoreLayoutFromXml(xmlFile)
|