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

Control docking panel

Thread ID:





77889 Nov 20,2008 07:15 AM UTC Nov 21,2008 06:14 AM UTC WinForms 1
Tags: Tools
Hyung-Jin Lee
Asked On November 20, 2008 07:15 AM UTC

I add a panel and dockingMgr in the form1.
I want the panel to hide left side, and
some event is raise, the panel is showed.
So how can I control docking panel without caption buttons.
Please, give me an advice.
Thank you.

Hemaladha K [Syncfusion]
Replied On November 21, 2008 06:14 AM UTC

Hi Chin,

Thank you for your interest in Syncfusion Products.

To display the panel to AutoHide mode when the form is loaded we need to call SetAutoHideMode() method in NewDockStateEndLoad event. Please refer to the below code snippets given:


private void dockingManager1_NewDockStateEndLoad(object sender, EventArgs e)
this.dockingManager1.SetAutoHideMode(this.panel1, true);

private void button1_Click(object sender, EventArgs e)
if (this.dockingManager1.GetAutoHideMode(this.panel1))
this.dockingManager1.SetAutoHideMode(this.panel1, false);
this.dockingManager1.SetAutoHideMode(this.panel1, true);

Please refer to the below sample that demonstrates the same.

Please let me know if this helps you.



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