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. Image for the cookie policy date
close icon

set focus on AutoHide DockControl

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

2 Replies

RC Rajesh C Syncfusion Team May 26, 2007 12:19 AM UTC

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


CH Chinedu May 29, 2007 07:02 PM UTC

Thank you Rajesh, really appreciate your help.

Loader.
Live Chat Icon For mobile
Up arrow icon