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

Docking Manager and Office2007Demo

Thread ID:





47085 Jul 27,2006 05:44 PM UTC Jul 27,2006 09:10 PM UTC WinForms 1
Tags: Tools
Dmitry Bakuntsev
Asked On July 27, 2006 05:44 PM UTC


I was wondering how to make Office2007Demo work with DockingManager. As all ribbon-related components are Panel-hosted, they remain in the client area of the main window. Therefore, DockingManager does not feel obliged to exclude them from its working area calculation. In other words, DockingManager does not recognize them as non-client controls (e.g. menus).

Are there any suggestions how to approach this problem?


Dmitry Bakuntsev
Replied On July 27, 2006 09:10 PM UTC

The answer turned out to be quite simple. DockingManager asks FormController to adjust the client rectangle where DockingManager can lay out controls. FormController looks up all top-level controls that are docked, and reduces the original window client rectangle by their size. Therefore, the only thing that Office2007Demo really lacked was docking property setting for its panels comprising the Ribbon control components (e.g. main menu and shortcuts toolbar, panel1, etc).



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