We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Thread ID:





120747 Oct 10,2015 10:31 PM UTC Oct 12,2015 12:40 PM UTC WPF 1
Tags: DockingManager
Soumyajit Roy
Asked On October 10, 2015 10:31 PM UTC


In the following code, I can set the height of the bottom area of the DockingManager as "syncfusion:DockingManager.DesiredHeightInDockedMode="240" ". Its syncfusion:DockingManager.State="Dock".
How do I set the height of the middle area [dmMiddle] of the DockingManager whose state is syncfusion:DockingManager.State="Document"?

Soumyajit Roy

<syncfusion:DockingManager  x:Name="dmMain" 
ContainerMode="MDI" PersistState="false" 
Loaded="dmMain_Loaded" Margin="0" Background="White" ElementBorderThickness="0" TabItemBorderThickness="0" TabItemsBorderThicknessSelected="0"                           
                                        TabItemsCornerRadius="0" UseDocumentContainer="True">

                        <DataTemplate x:Name="t1">
                            <DockPanel LastChildFill="True" />

                    <!--Left area-->
                    <!--Left area ends-->
                    <!--Middle area: Document. Main grid -->
                    <Grid x:Name="dmMiddle" 
Tag="{Binding}" Margin="0">
                        <ContentControl x:Name="gMainGrid">

                    <!--Bottom Area-->
                    <Grid x:Name="dmBottom"
                    HorizontalAlignment="Stretch" VerticalAlignment="Stretch" 
                    syncfusion:DockingManager.Header="Database Update Info"

Victory Jessie Selvam D [Syncfusion]
Replied On October 12, 2015 12:40 PM UTC

Hi Soumyajit,

Thank you for using Syncfusion products.

The document window will occupy the remaining space after arranging all the other state windows in the container. The height of Document window can be set using MDIBounds attached property. We have prepared a sample using provided code and you can download the same from the following link:

Sample: DockingManager_DocumentBounds



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon