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.

set focus on AutoHide DockControl

Thread ID:

Created:

Updated:

Platform:

Replies:

61444 May 25,2007 10:17 AM May 29,2007 03:02 PM Windows Forms 2
loading
Tags: Tools
Chinedu
Asked On May 25, 2007 10:17 AM

Sometimes, an autohide enabled panel controlled by a docking manager hides while the user is using the controls the panel hosts.

1.
Is there a way to stop the panel from autohiding once it the user opens it....or at least set it's focus to true...or something like that.

2.
What event fires when a autohide docked control is opened

Rajesh C [Syncfusion]
Replied On May 25, 2007 08:19 PM

Hi Nedu,

Thank you for using Syncfusion products.

It is possible to stop the panel from autohiding once the user opens it. Please call autohidden control's Focus() method in dockingManager1_AutoHideAnimationStop event handler and refer to the following code snippets which illustrates the same:

[ C# ]

private void dockingManager1_AutoHideAnimationStop(object sender, Syncfusion.Windows.Forms.Tools.AutoHideAnimationEventArgs arg)
{
arg.Control.Focus();
}


The following events are fired when a autohidden control is opened or closed.

-> AutoHideAnimationStart event
-> AutoHideAnimationStop event

Please let me know if you have any other queries.

Regards,
Rajesh C

Chinedu
Replied On May 29, 2007 03:02 PM

Thank you Rajesh, really appreciate your help.

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.

;