Пример #1
0
            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();
            }
Пример #2
0
            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();
            }