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

Document Container - min/max resize buttons ?

Thread ID:





88668 Aug 6,2009 05:04 AM UTC Aug 18,2009 02:28 PM UTC WPF 3
Tags: Tools
Christina Robin
Asked On August 6, 2009 05:04 AM UTC

In the Document Container Demo, when you check 'MDI' and have the mini windows I noticed that when one hits the maximize button, the window maximizes but for some reason the min, max and 'X' button disappear and join the min, max and restore button to the far right (same grid line as 'File' and 'Window'). I find that it's awkward that the controls aren't connected to the windows themselves, is there any way to make it so that the 3 controls appear as part of the newly maximized window, and not on the same grid line as 'File' and 'Window'? (As seen in the attached file that I mocked up)


Prabhu P [Syncfusion]
Replied On August 8, 2009 06:15 PM UTC

Hi Christina,

Thank you for your interest in Syncfusion products.

The typical behavior of MDI Window is that its Maximize, Minimize and Close buttons should be placed in top right corner of the Menu bar in MDI mode. You can check the same behavior in Visual Studio IDE in Multiple Document mode. The top right corner of Menu bar is the correct place to keep these command button since the dock element in right side not constant. We may have one or more dock element in right side. Hence we cannot define these command buttons in specific place.

Please let us know if you have any further queries.


Christina Robin
Replied On August 18, 2009 02:20 AM UTC

Is there any way around this? In my program the right side is constant. It would be great if I could put the three buttons inside of the TabsControlExt because my menu bar is too high (too far above the Document Container) and it would look weird to put the three buttons there. The only problem is that when I place the three buttons in the TabsControl, they disappear. I noticed that if I take the binding off of the min,max,restore button they are visible -- but then they don't work. Any comments, suggestions, idea on how I can achieve this look is greatly appreciated.

Thank you.


Nikhil A [Syncfusion]
Replied On August 18, 2009 02:28 PM UTC

Hi Christina,

This can be achieved by using TabPanelItem attached property of TabControlExt. For instance,

in xaml:

DockPanel.Dock="Right" Margin="4,0,0,0">

Please download the sample from below mentioned location for more information.


Please let us know if you have any questions.

Thanks for choosing Syncfusion products.



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

or the page will be automatically redirected to 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