Hello Jeff,
For this task you can use nested docking managers.
Please, take a look at the code example below:
NDockManager
mainManager = new NDockManager();NDockingPanelHost mainHost = new NDockingPanelHost();NDockingPanel navPanePanel = new NDockingPanel();mainManager.Form =
this;mainManager.RootContainer.RootZone.Orientation =
Orientation.Horizontal;mainManager.DocumentStyle.DocumentViewStyle =
DocumentViewStyle.SingleDocument;mainManager.RootContainer.RootZone.AddChild(mainHost);
mainHost.AddChild(navPanePanel);
mainHost.Orientation =
Orientation.Horizontal;mainHost.Index = 0;
navPanePanel.Permissions.AllowAutoHide =
false;navPanePanel.Permissions.AllowFloat =
false;navPanePanel.Permissions.AllowHide =
false;navPanePanel.Permissions.AllowedDockAreas =
DockAreaMask.None;navPanePanel.Permissions.ExposedDockAreas =
DockAreaMask.None; NUIDocument doc1 = new NUIDocument();Form form = new Form();form.TopLevel =
false;form.Dock =
DockStyle.Fill;form.FormBorderStyle =
FormBorderStyle.None;form.Show();
doc1.Client = form;
mainManager.DocumentManager.AddDocument(doc1);
NDockManager manager = new NDockManager();manager.Form = form;
NDockingPanel panel = new NDockingPanel();NDockingPanelHost host = new NDockingPanelHost();host.Orientation =
Orientation.Horizontal;host.AddChild(panel);
manager.RootContainer.RootZone.AddChild(host);
//And so on ...You can host your navigation pane in navPanePanel and this way it will always be at the same state and position regardless the panels and documents in the child docking manager.
Regards,
Angel.