Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
830
How to deactivate a pane?
posted

I have a form which sets some configurations where one of them is a path to a file.

To prevent the need for the user to click browse and search for the file in his computer using the OpenFileDialog, I've added a dockable panel on the left side, and inside it I've added an ultraExplorerBar with the list of the recent opened files.

The pane is unpinned by defauled and the user cannot pin, close or make it float.

When the use hover the pane, it opens...

What I want to do is that when the user clicks on one of the items, the pane will be deactivated.

 

Unfortunately, I didn't find any way to do so.... HideAll doesn't work, Pane.Close will close the pane (which is something I don't wanna do).

As long as the mouse is over the pane, it stays activated.

 

Is there any way I can do what I want?

(Maybe using a different control by infragistics?).

 

 

Thanks

Parents
  • 5389
    Verified Answer
    posted

    saragani,

    Is there a reason you want the pane to be deactivated rather than the UltraExplorerBar itself?  You can try handling the UltraExplorerBar's ItemClick event and setting UltraExplorerBar.Enabled to false, which will disable the control.  I'm not sure if this is exactly what you are looking for, but it might be useful.

    ~Kim~

Reply Children