public SerializationContext(IDockControl dockControl) { Debug.Assert(dockControl != null); Debug.Assert(dockControl.DockStrategy != null); DockControl = dockControl; var dockStrategy = dockControl.DockStrategy; DefaultFloatWindow = dockStrategy.CreateFloatWindow(); DefaultDockAnchorPane = dockStrategy.CreateDockAnchorPane(); DefaultDockSplitPane = dockStrategy.CreateDockSplitPane(); DefaultDockTabPane = dockStrategy.CreateDockTabPane(); }