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

DockingManager with treeview, hide after nodeclick

Thread ID:





2632 Feb 6,2003 10:09 AM UTC Feb 7,2003 05:22 PM UTC WinForms 1
Tags: Tools
Gunnar Hov
Asked On February 6, 2003 10:09 AM UTC

I have a TreeView control in my DockingManager, and I want to hide the control as soon as a node in the tree is clicked. Now the control isn't hidden until I activate a control on the form (i.e. the DockingManager looses focus). Is there anyway I can achive this? /Gunnar

Prakash S [Syncfusion]
Replied On February 7, 2003 05:22 PM UTC

If the docking window is in the autohidden mode, but is locked due to it having the focus, then it can be forced back into the hidden state by invoking the DockingManager.HideAutoHiddenControl() method. On the other hand, if you want to 'close' the control, then use the DockingManager.SetDockVisibility(Control, FALSE) method. The Essential Tools Class Reference documentation provides more detailed information on these functions. Prakash Syncfusion


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

Live Chat Icon For mobile
Live Chat Icon