Setup a initial size of a SplitContainer in a host

Posted 10 years ago by Avatar Frank
We have a simple test app with a DockControl and a TabMdi and a Toolwindow:
<docking:DockSite Name="dockSite1">

<docking:SplitContainer Orientation="Horizontal">
<docking:ToolWindow Title="Tool Window 2.1" />

<docking:TabbedMdiHost x:Name="tabbedMdiHost" />


1) How can i set the width of the Toolwindow in xaml?

2) the user can resize the the toolbar with the splitter. Hwo can i save the layout and load when the app is closed and restarted?

(i am new with the WPFStudio and did not find this info in samples nor documentation)

Comments (1)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
1) Try setting the attached DockSite.ControlSize property to the tool window container like:
<docking:ToolWindowContainer docking:DockSite.ControlSize="150, 200">

We'll add some documentation on this too.

2) There is a "Layout Serialization" topic in the help that explains it. Also the main features demo has a Layout document tab that shows how to do the layout save/load.

Actipro Software Support
Information The latest build of this product (2017.2 build 0665) was released 1 month ago, which was after the last post in this thread.

Add a Comment

Please log in to a validated account to post comments.