Loading and saving a dock layout to a stream?

Docking/MDI for Windows Forms Forum

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

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

Add Comment

Please log in to a validated account to post comments.