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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Height

Thread ID:

Created:

Updated:

Platform:

Replies:

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

Hi,

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"?

Thanks,
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">

                    <syncfusion:DockingManager.HeaderTemplate>
                        <DataTemplate x:Name="t1">
                            <DockPanel LastChildFill="True" />
                        </DataTemplate>
                    </syncfusion:DockingManager.HeaderTemplate>

                    <!--Left area-->
                    <!--Left area ends-->
                    
                    <!--Middle area: Document. Main grid -->
                    <Grid x:Name="dmMiddle" 
                        syncfusion:DockingManager.State="Document"
syncfusion:DocumentContainer.MDIWindowState="Maximized"
x:Name="gdMasterDatabaseList"
Tag="{Binding}" Margin="0">
                        <ContentControl x:Name="gMainGrid">
                            <DUControls:MainGrid/>
                        </ContentControl>
                    </Grid>

                    <!--Bottom Area-->
                    <Grid x:Name="dmBottom"
                    HorizontalAlignment="Stretch" VerticalAlignment="Stretch" 
                    syncfusion:DockingManager.Header="Database Update Info"
                    syncfusion:DockingManager.NoHeader="True"
    syncfusion:DockingManager.SideInDockedMode="Bottom"
    syncfusion:DockingManager.State="Dock"
    syncfusion:DockingManager.DesiredHeightInDockedMode="240" 
    syncfusion:DockingManager.CanClose="False" 
         syncfusion:DockingManager.IsContextMenuButtonVisible="False"
    syncfusion:DockingManager.CanAutoHide="False">





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

Regards,
Jessie

CONFIRMATION

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.

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

;