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.

Docking order/priority

Thread ID:

Created:

Updated:

Platform:

Replies:

31265 Jul 4,2005 06:46 PM Jul 17,2005 09:34 AM Windows Forms 5
loading
Tags: Tools
Mike Witt
Asked On July 4, 2005 06:46 PM

Is there a way to specify the priority of the docked panels when they are "pinned"? In my case, I would like the panels that are docked on the left and right borders to always go from the top to the bottom of the parent form and the panels docked on the top and bottom to always fit between the 2 panels on the left and right. I thought at first that the order in which the panels were docked might affect this, but I still see that it depends on the order in which the user "pins" the panels. Thanks for you help, Mike

Administrator [Syncfusion]
Replied On July 5, 2005 06:04 PM

Hi Mike, DockingManager uses a variant of a TabControlAdv internally to create the tabs for the auto-hidden windows. Therefore the windows appear in the order they''re added to the collection. I don''t believe there is any simple way to alter this behavior. Regards, Gregory Austin Syncfusion Inc.

Mike Witt
Replied On July 7, 2005 09:55 AM

Hi Gregory, I had accidentally posted some powerpoint slides as a reply to a different message. I''m trying to do that again this morning, but I am not able to get the attachment page to load (keeps timing out). So, let me refer you to the other posting: Reply   |   Reply with quote
Mike Witt
Replied On July 7, 2005 09:56 AM

Ok, that link didn''t work out very well ... so please look at my post here: http://www.syncfusion.com/Support/forums/message.aspx?MessageID=30885 Thanks again.

Administrator [Syncfusion]
Replied On July 12, 2005 04:52 AM

Hi Mike, I am afraid that it is the intended behaviour of the docking manager. Could you please clarify what you mean by "But, once the pinning takes place (due to the fact that we are not allowing drag and drop of the docked panels), this cannot be changed except by shutting down the application and restarting." If your requirement is to restore the desired state during runtime then, you could save the desired layout and load that state whenever you require. Thanks, Stephen. >Ok, that link didn''t work out very well ... so please look at my post here: > >http://www.syncfusion.com/Support/forums/message.aspx?MessageID=30885 > >Thanks again.

Mike Witt
Replied On July 17, 2005 09:34 AM

Take a simple case, if I have panel A docked to the top and panel B docked to the right and they are both initially hidden, it makes a difference to the layout which one I expand and pin first. If I expand panel A first and pin it, panel A takes the whole width of the form and when panel B is expanded and pinned, its top will start under panel A. However, if I expand and pin panel B first, it will take up the entire height of the form and panel A, when it is expanded and pinned, its right edge will end at panel B''s left edge. Once either of these scenarios takes place, the layout is determined and it cannot be changed. That is the problem, I''d like a way to unambiguosly determine the layout programmatically. Thanks for your help, Mike >Hi Mike, > >I am afraid that it is the intended behaviour of the docking manager. Could you please clarify what you mean by > >"But, once the pinning takes place (due to the fact that we are not allowing drag and drop of the docked panels), this cannot be changed except by shutting down the application and restarting." > >If your requirement is to restore the desired state during runtime then, you could save the desired layout and load that state whenever you require. > >Thanks, > >Stephen. > >>Ok, that link didn''t work out very well ... so please look at my post here: >> >>http://www.syncfusion.com/Support/forums/message.aspx?MessageID=30885 >> >>Thanks again.

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.

;