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. Image for the cookie policy date

Programmatically closing controls in the docking manager

I would like to close all the docked controls when clicking on a menu item. Any ideas? Thanks

1 Reply

Prakash S January 23, 2003 12:44 PM UTC

Hi Bruno, The DockingManager.SetDockVisibility(Control, bool) method needs to be invoked on a dockable controls in order to programmatically close it. You can use the DockingManager.Controls property to enumerate through all the dockable controls, and invoke SetDockVisibility() on each. The following Essential Tools Knowledgebase article should provide more help - http://www.syncfusion.com/KB/Tools/Tools_c35c.asp#q541q. Prakash Syncfusion, Inc.
Loader.
Live Chat Icon For mobile
Up arrow icon