controlling the width of a toolwindow container

Docking/MDI for WPF Forum

Posted 15 years ago by jeff jarrell
Version: 9.1.0500
Avatar
I am adapting from the WorkspaceContent example, with a docksite, splitcontainer, and then on the right a toolwindow container. How do I control the size of the toolwindow container? Or for that matter, how do I control the position of the split container?

Thanks.

Comments (2)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Jeff,

Split containers basically lay out their child controls in the order they are defined. You can change the SplitContainer.Orientation if you wish.

The initial size of a ToolWindowContainer can be set via the attached DockSite.ControlSize property. I believe some of the examples show this. After display though, there isn't a way right now to prevent a container from being resized by the end user or to restrict its size.


Actipro Software Support

Posted 15 years ago by jeff jarrell
Avatar
The attached property worked great. I don't need to constrain it after startup so I have what I need.

Thanks.
The latest build of this product (v24.1.2) was released 24 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.