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

auto maximize an element in docking manager

Thread ID:





119117 May 12,2015 07:45 AM UTC May 14,2015 11:28 AM UTC WPF 3
Tags: DockingManager
Asked On May 12, 2015 07:45 AM UTC


I am using docking manager to show an ItemsControl and a AutoHide element.

the docking manager is defined as MDI , the first element is defined as a Document(the ItemsControl).
I want the Document to auto maximize but instead it is first appears as a small window, not covering all the free space it has.
only when I click on the maximize button, it s maximize. but i want it to be automatically maximize first.

I hope you can solve my problem. 
Thank you!

Victory Jessie Selvam D [Syncfusion]
Replied On May 13, 2015 08:32 AM UTC

Hi Anat,

Thank you for using Syncfusion products.

We have prepared a sample and tried to meet your requirement. In the sample, we have set DocumentContainer.MDIWindowState attached property to Maximized for the ItemsControl and set the ItemsControl as ActiveWindow of DockingManager so that it will be maximized automatically. Kindly download the sample from following link:

Sample: DockingManager_MDI.zip

Please let us know whether the provided sample meets your requirement or not.


Replied On May 13, 2015 09:15 AM UTC

Thank you, that was helpfull and solve my problem!

If I may ask another question, how can I change the background, font size,  etc. (and also the Header Properties) of an object in the DockingPanel? 
for example  how to change these properties in the ContentControl in your example above.

Thank you!

Victory Jessie Selvam D [Syncfusion]
Replied On May 14, 2015 11:28 AM UTC

Hi Anat,

Thank you for your update.

Please download the modified sample that tries to meet your requirement from the following link. In the sample, we have set HeaderBackground, SideTabItemBackground and HeaderTemplate properties to change the Background and FontSize of ContentControl.

Sample: DockingManager_MDI.zip

Please let us know if you need further assistance on this.



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