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

Dock Control in autohide mode

Thread ID:





29023 May 13,2005 10:37 PM UTC Feb 19,2013 01:16 PM UTC WinForms 2
Tags: Tools
Administrator [Syncfusion]
Asked On May 13, 2005 10:37 PM UTC

I need a quick help. I need to keep my dock control in auto hide mode but when I want control to be visible very first time. Like when you mouse over the control or click the control in docked position? If I use the following code then it is open but not in auto hide mode. It is docked. this.dockingManager.SetAutoHideMode(this.pnlDetailedNavigation, false); Any help would be appreciated. Thanks,

Administrator [Syncfusion]
Replied On May 16, 2005 06:12 PM UTC

Hi VS, You can use ActivateControl to set the auto-hidden control as the active control, which will result in it being displayed. However, due to the way DockingManager loads, you can''t do it until after the Form''s Load event. To get around this, you can use a timer as follows: private void Form1_Load(object sender, System.EventArgs e) { timer1.Start(); } private void timer1_Tick(object sender, System.EventArgs e) { this.dockingManager1.ActivateControl(this.label1); timer1.Stop(); } Hope this helps. Regards, Gregory Austin Syncfusion Inc.

Replied On February 19, 2013 01:16 PM UTC

use the DockController.AutoHide(dockPanel panel) method of the dockmanager


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

This page will automatically be redirected to the 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