When the user clicks the close button on a panel, or clicks "Hide" on the panel's menu, the panel disappears and there is no way for the user to get it back. Is there an event I can handle or a property I can check that will tell me if this has happened? I tried the PanelHidden event, but that event also fires when the panel autohides. I need a way to determine if the panel is permanently hidden to the user.
John
Hi
I've the same problem. I used following:
private void ultraDockManager1_PaneHidden(object sender, PaneHiddenEventArgs e) { if(e.Pane.Closed) { // user closed the pane } else { // auto hide }
}
But I'm also interessted if there a way for the user to set the pane visible after hiding.
Hello,
One way to show all of the hidden panes would be using the following code:
ultraDockManager1.ShowAll();
If you are aware of the acutal DockArea that contains the hidden DockableControlPanes would be like:
ultraDockManager1.DockAreas["Index"].ShowChildPanes();
Please let me know if you have any other questions.