Loading and saving a dock layout to a stream?

Docking/MDI for Windows Forms Forum

Posted 18 years ago by Henrik Johnson
Avatar
Is there any way currently to save and restore the layout of a DockManager to and from a stream?

The function I found only takes a filename in and that wont work for my application.

Comments (2)

Posted 18 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Henrik,

Yes, the DockManager.ToolWindowLayoutData gets/sets an XmlDocument. So you can persist that to a stream and restore it later.


Actipro Software Support

Posted 18 years ago by Henrik Johnson
Avatar
Thanks. It did seem like a strange omission.

/Mauritz
The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.