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

set focus on AutoHide DockControl

Thread ID:

Created:

Updated:

Platform:

Replies:

61444 May 25,2007 02:17 PM UTC May 29,2007 07:02 PM UTC WinForms 2
loading
Tags: Tools
Chinedu
Asked On May 25, 2007 02:17 PM UTC

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 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

Chinedu
Replied On May 29, 2007 07:02 PM UTC

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.

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

;