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

I want to display an AutoHide window that shows and hides automatically with animation. How do I achieve this behavior?

Platform: WinForms |
Control: DockingManager |
Published Date: April 30, 2011 |
Last Revised Date: July 10, 2014


Essential Tools supports this behavior using ActivateControl and HideAutoHiddenControl methods of DockingManager. For doing this it is necessary to set the DockingManager.AnimationStep to less than 5 to decrease the speed of animation. Please refer the below code snippet which illustrataes this:


this.dockingManager1.SetEnableDocking(this.panel1, true);

this.dockingManager1.DockControl(this.panel1, this, DockingStyle.Top, 700);

//if you set this at initial stage, it will apply for rest of the application.

DockingManager.AnimationStep = 5;

this.dockingManager1.SetAutoHideMode(this.panel1, true);

this.dockingManager1.SetDockLabel(this.panel1, "Dashboard");

this.dockingManager1.SetAutoHideButtonVisibility(this.panel1, false);

this.dockingManager1.SetCloseButtonVisibility(this.panel1, false);

private void Form1_Load(object sender, EventArgs e)


this.WindowState = FormWindowState.Maximized;



private void Form1_Click(object sender, EventArgs e)





Me.DockingManager1.SetEnableDocking(Me.Panel1, True)

Me.DockingManager1.DockControl(Me.Panel1, Me, DockingStyle.Top, 700)

'if you set this at initial stage, it will apply for rest of the application.

DockingManager.AnimationStep = 5

Me.DockingManager1.SetAutoHideMode(Me.Panel1, True)

Me.DockingManager1.SetDockLabel(Me.Panel1, "Dashboard")

Me.DockingManager1.SetAutoHideButtonVisibility(Me.Panel1, False)

Me.DockingManager1.SetCloseButtonVisibility(Me.Panel1, False)

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

Me.WindowState = FormWindowState.Maximized


End Sub

Private Sub Form1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Click


End Sub



2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

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