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

Set a dominant control in docking manager

Thread ID:

Created:

Updated:

Platform:

Replies:

73553 May 9,2008 05:32 PM UTC Jun 5,2008 04:43 PM UTC WinForms 2
loading
Tags: Tools
Patrick Hampton
Asked On May 9, 2008 05:32 PM UTC

Hello

Is there a way to specify a Main or Dominant panel in the DockingManager? What I have is an application that has a central panel with other panels docked around it. Ideally I would like to have it work such that when the user adjusts the widtho on one of the side panels, only the central panel adjusts to fill in the space rather than all of the panels. Is this possible?

Thanks
Patrick


Administrator [Syncfusion]
Replied On May 27, 2008 01:09 PM UTC

Hi Patrick,

Thank you for using Syncfusion products.

This can be achieved by setting the DockToFill property of the DockingManager to true. While using this, if the hosting form has number of Docked controls, if the panels are autohidden or closed one after the other, the other panels will fill the free space that occurs and by the way, when the last but previous control is auto hidden or docked, the last control will fillup the form.

The following Browser sample features this functionality.

\\My Documents\Syncfusion\EssentialStudio\ 6.2.0.40\Windows\Tools.Windows\Samples\2.0\Docking Package\WindowFill\

Please try this and let me know if this helps.

Regards,
Jaya


Patrick Hampton
Replied On June 5, 2008 04:43 PM UTC

Jaya

Thanks for your response. I already have DockToFill set and see the behavior you are describing. The problem is I don't want All of the other panels to grow to fill in the space left by a closed or autohidden control. I want to specify ONE control that grows to fill that space leaving the other controls unchanged.

Thanks
Patrick


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

;