Category / Section
How can I save/load the state of the DockingWindow to isolated storage and Register storage?
1 min read
DockingManager support saving the state to different type of storage devices such as binary format, SOAP format, isolated storage and register storage. The following example shows how to save/load the state of the DockingWindow in isolated storage and register storage.
[C#]
//Save to Register storage BinaryFormatter formatter1 = new BinaryFormatter(); dockingManager.SaveDockState(formatter1); //Load from register storage BinaryFormatter formatter1 = new BinaryFormatter(); dockingManager.LoadDockState(formatter1); //Save to the isolated storage this.dockingManager.SaveDockState(); //Load from the isolated storage. this.dockingManager.LoadDockState();