We are experiencing a problem with the paneHidden event. It will fire the first time the X(close button) is clicked but will not fire again after the pane is shown again. We are using Version 2007 release 2. The pane is shown again using the Show method after getting it from the workspace and using the paneFromControl method. Do you have any recommendations? This is a pressing issue for us.
public static void ToggleDockableControlPaneVisible(WorkItem workspaceWorkItem, Control view) { UltraDockWorkspace workspace = workspaceWorkItem.Workspaces[WorkspaceNames.DockMainWorkSpace] as UltraDockWorkspace; if (workspace != null) { DockableControlPane pane = workspace.PaneFromControl(view); if (pane.IsVisible) pane.Close(); else pane.Show(); } }
void DockWorkspace_PaneHidden(object sender, PaneHiddenEventArgs e)
{ if (ActivePaneClosed != null) { if (e.Pane.Closed) ActivePaneClosed(this, new ActivePaneClosedEventArgs(e.Pane.TextTab)); } }
Have you solve the problem?
Seems i have the same one
I could not reproduce the issue with 8.2 and later. Try upgrading to one of these versions if you are not already using them.