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

DockingManager with treeview, hide after nodeclick

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

1 Reply

PS Prakash S Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon