MDI ToolwindowContainer resizes on application resize

Docking/MDI for WPF Forum

Posted 14 years ago by Arthur Damen
Version: 9.1.0506
I have a window that is resizeable. Inside there is a TabbedMdiHost Which contains a usercontrol. The usercontrol itself contains 2 toolwindows. One of them (A) has a fixed size which i set at start. The other should resize when the main window is resized.

When I resize the main application window, the toolwindows are both adjusted related to the % increase/decrease. But I do not want (A) to resize, only the other part should resize.

Main Window:

<Window x:Class="Window1"

    Title="Window1" Height="300" Width="450">
        <docking:DockSite x:Name="MainDockSite">
            <docking:Workspace  HorizontalAlignment="Stretch" >
                <docking:TabbedMdiHost Name="MDIPresentationsWindow" >
                    <docking:TabbedMdiContainer Name="MDITabContainer" >
                        <docking:DocumentWindow Title="Page1">
                                <loc:UserControl1 x:Name="AA"></loc:UserControl1>


<UserControl x:Class="UserControl1"
    xmlns:x=""  >
    <docking:DockSite CanToolWindowsAttach="False"   >
        <docking:SplitContainer Orientation="Horizontal" >
            <docking:ToolWindowContainer Name="B">
                <docking:ToolWindow Name="C" HasTitleBar="False"></docking:ToolWindow>
            <docking:ToolWindowContainer docking:DockSite.ControlSize="100,100">
                <docking:ToolWindow Name="DD" ></docking:ToolWindow>

Comments (4)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA

Sorry but right now there isn't a way to fix window sizes. It is something on our TODO list though to add for the future. I'll mark down this post with that TODO item.

Actipro Software Support

Posted 14 years ago by Arthur Damen
Is it possible to implement this before march 2010?
We have a deadline then and if this does not work we have a major problem.

I asked for this basic functionality In the spring of 2009.
I cannot imagine that i am the only one who needs this...
Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Arthur,

Unfortunately I'm not sure it would happen before then. we have a number of higher priority TODO items for Docking that need to get done before this, along with updates to our other products as well (such as Ribbon style updates for Office 2010 theme), and starting to get Silverlight products out.

We do offer an option where you can contract us to implement a feature at an hourly rate. This has worked out well for some other customers in the past who have needed a feature that wasn't a high priority for us. When you do that, we make it our top new development priority and get it done very quickly for you. If you are interested in that option and would like to request a quote, please read this page and fill out the form there:

Actipro Software Support

Posted 14 years ago by Bronwen Zande
SizeToContent is an important feature for us aswell
The latest build of this product (v24.1.2) 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.