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.

DockingManager: docking behavior

Thread ID:

Created:

Updated:

Platform:

Replies:

47169 Jul 28,2006 06:29 PM Aug 3,2006 09:42 PM Windows Forms 4
loading
Tags: Tools
Julie Levy
Asked On July 28, 2006 06:29 PM

We have docked controls on the left and the bottom of a form. They can be autohidden via the pin button or using keyboard shortcuts where i''m toggling the autohidemode, but not moved around.

I noticed that depending on the order in which you autohide and then pin the controls, each one can take up the entire "edge" of the host form, reducing the size of the other.

Is there are way to allow one (in our case, the left edge) to always occupy the entire edge when it is pinned, always filling the left docking edge?

This is hard to explain, so i''ve attached screenshots of the what we want to prevent vs. what i''m trying to explain above that we always want, regardless of the order in which the controls where docked.

Thanks,
Julie

DockingBehavior.zip

Joy K George [Syncfusion]
Replied On July 28, 2006 08:35 PM

Hi Julie,

We are trying to create a sample according to your requirement.You will get an update with in 2 days.

Regards,
Joy

Julie Levy
Replied On July 31, 2006 02:18 PM

Thanks!
I also wanted to mention that i get different docking behavior and control sizes depending on whether the user uses the keyboard shortcuts to autohide/pin, or the ui (pin button).
My keyboard shortcut just toggles the autohidemode by calling SetAutoHideMode( Control ctrl, bool bautohide ). Is there a difference between calling this method and the user hitting the pin button?

Murugan [Syncfusion]
Replied On August 3, 2006 08:00 PM

Hi Julie,

Sorry for the delay in responding. With the current implementation of docking architecture the requirement is not possible. So we have created a feature request which will help you to implement the requirement. Here is the link to track progress on that.
Feature Request #1130 - Support to dock a control programatically to entire edge of the host control

Thanks,
Murugan P.S

Julie Levy
Replied On August 3, 2006 09:42 PM

What about my question regarding the difference between the user hitting the pin button and programmatically toggling AutoHideMode.

I notice a difference in the sizing of the control. If the user uses keyboard shortcuts to pin the bottom controls after the page loads with the controls in autohide mode, the control docks with the tabs not visible (the size of the control is only for the control itself, not the tabs). You have to drag the control to resize it for the tabs to appear. If you instead dock the control using the pin button, the tabs appear no problem (the size of the control includes the size of the tabs).


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.

;