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
25
Remove DockablePane from UltraDockManager
posted

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?

Parents
No Data
Reply
  • 44743
    Verified Answer
    posted

    You can either remove the pane from the ControlPanes collection of the dock manager. Alternatively, if you will not be using the associated control anymore, you can just dispose the control and its pane will automatically be removed from the dock manager.

Children