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.

auto maximize an element in docking manager

Thread ID:

Created:

Updated:

Platform:

Replies:

119117 May 12,2015 03:45 AM May 14,2015 07:28 AM WPF 3
loading
Tags: DockingManager
Anat
Asked On May 12, 2015 03:45 AM

Hi,

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 04:32 AM

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.

Regards,
Jessie

Anat
Replied On May 13, 2015 05:15 AM

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 07:28 AM

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.

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.

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.

;