Group: Forum Members
Last Active: 7 Years Ago
Posts: 18,
Visits: 2
|
Is it possible to place the NDocManager (and panels) inside of a specific NTab page?
|
Group: Forum Members
Last Active: Last Month
Posts: 139,
Visits: 184
|
Hi Vince, Yes, it is possible. All you need it to put a form into the NTabPage, and set Form property of the NDockManager to this form: Form f = new Form();f.TopLevel = false;f.Dock = DockStyle.Fill;f.FormBorderStyle = FormBorderStyle.None;f.Show(); nTabPage1.Controls.Add(f); NDockManager manager = new NDockManager();manager.Form = f; NDockingPanelHost host = new NDockingPanelHost();manager.RootContainer.RootZone.AddChild(host); NDockingPanel panel = new NDockingPanel();host.AddChild(panel); ... Regards, Angel.
|