Occurs when a panel is removed from the dock manager.
[DXCategory("Docking")] public event DockPanelEventHandler UnregisterDockPanel
<DXCategory("Docking")> Public Event UnregisterDockPanel As DockPanelEventHandler
The UnregisterDockPanel event's data class is DockPanelEventArgs. The following properties provide information specific to this event:
|Panel||Gets the processed dock panel.|
The UnregisterDockPanel event occurs when a panel (a regular panel, a tab container or split container) is removed from the dock manager. For instances when a panel is destroyed or moved to another dock manager.
An end-user is able to dock panels to each other thus forming a tab container or split container. Removing panels from a container may result in this container being destroyed (if it doesn't contain any other panels). In this case, the UnregisterDockPanel event will be fired for this container.
If a panel is moved to another dock manager (via a DockPanel.DockTo overload) the UnregisterDockPanel event is fired as well.
Adding a panel to a dock manager triggers the DockManager.RegisterDockPanel event.