public void MoveInto(DockablePane sourcePane, Pane destinationPane) { Remove(sourcePane); while (sourcePane.Contents.Count > 0) { DockableContent content = sourcePane.Contents[0]; sourcePane.Remove(content); destinationPane.Add(content); destinationPane.Show(content); } sourcePane.Close(); }
public override void Remove(DockableContent content) { ReferencedPane.Remove(content); base.Remove(content); }