protected override void RaiseRemoved()
{
// Generate event so the any dockspace customization can be reversed.
KryptonDockingManager dockingManager = DockingManager;
if (dockingManager != null)
{
DockspaceEventArgs args = new DockspaceEventArgs(DockspaceControl, this);
dockingManager.RaiseDockspaceRemoved(args);
}
// Generate event so interested parties know this element and associated control have been removed
Dispose();
}