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.
Unfortunately, activation email could not send to your email. Please try again.

Dock Control in autohide mode

Thread ID:

Created:

Updated:

Platform:

Replies:

29023 May 13,2005 06:37 PM Feb 19,2013 08:16 AM Windows Forms 2
loading
Tags: Tools
Administrator [Syncfusion]
Asked On May 13, 2005 06:37 PM

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 02:12 PM

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.

muzafal
Replied On February 19, 2013 08:16 AM

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

CONFIRMATION

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.

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.

;