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.

Document Container - min/max resize buttons ?

Thread ID:

Created:

Updated:

Platform:

Replies:

88668 Aug 6,2009 01:04 AM Aug 18,2009 10:28 AM WPF 3
loading
Tags: Tools
Christina Robin
Asked On August 6, 2009 01:04 AM

Hi,
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)



temp_9d6de81.jpg

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

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.

Thanks,
Prabu

Christina Robin
Replied On August 17, 2009 10:20 PM

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.
Tina





snapshot_c1948db.jpg

Nikhil A [Syncfusion]
Replied On August 18, 2009 10:28 AM

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.

http://files.syncfusion.com/support/Tools.WPF/7.3.0.20/88668/TabControlForum_88668.zip

Please let us know if you have any questions.

Thanks for choosing Syncfusion products.


Regards,
SudhaC.

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.

;