Once a DockableControlPane with a specified key is created and added either directly to a DockArea, or to a DockableGroupPane, how can you completely remove the DockableControlPane from the UltraDockManager control so that UltraDockManager.PaneFromKey("Key of the removed pane") returns Nothing?I have used Panes.Remove(MyPane), but an instance of the pane still resides within the UltraDockManager. I have also tried MyPane.Dispose() which still leaves an instance of a pane with the specified key in the UltraDockManager.How can a pane be completely destroyed?
I tried this as well and it does not work. The pane is still in the collection forever with an empty key name (it appears that way when I examine the collection. Yet when I try to add a new pane with the name of the one removed (that is now empty) I get the error that the key exists already. I am very confused as to how to do what seems would be a very simple thing - delete, destroy a pane that is hosting a control. Can you help me understand how to remove a pane (not just close the pane)
There is no way through the UI to permanently remove a dockable control pane. All ways through the UI to close a pane will just hide it. To remove a pane, it must be done programmatically by removing the pane from the ControlPanes collection on the dock manager or disposing the control which is docked.
Alright, So will DockablePane be removed when I close it programatically or using UI? what should I do if I want to permanently delete a dockablepane which I created dynamically?
Thanks for the support reference number.
Incident number WTB6077 was connected to development issue BR31293. A fix for this development issue was released in the July 2008 private hot fix.
This change would be included in the release of NetAdvantage Win Client (Windows Forms) 2008 Volume 3.
WTB6077, Resolved by Sam