Loading and saving a dock layout to a stream?

Docking/MDI for Windows Forms Forum

Posted 13 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 13 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 13 years ago by Henrik Johnson
Avatar
Thanks. It did seem like a strange omission.

/Mauritz
The latest build of this product (v2018.1 build 0341) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.