Nevron Forum

How to add a single DockPanel

https://www.nevron.com/Forum/Topic3001.aspx

By JSW W. - Wednesday, February 3, 2010

This is an odd question but when I could not seem to add a single DockPanel.

m_rootDockZone = m_DockManager.RootContainer.RootZone
Dim first_panel_host As NDockingPanelHost = New NDockingPanelHost
m_rootDockZone.AddChild(first_panel_host)
first_panel_host.AddChild(panel)

following the code I will get two segments of docking pane.

Can i add a single panel without separator?
By Angel Chorbadzhiev - Wednesday, February 3, 2010

Hello JSW W.,

The second "segment" is the area where the NUIDocuments resides.

To make it invisible set the DocumentViewEnabled property of DocumentStyle to False.

Regards,

Angel.

By JSW W. - Thursday, February 4, 2010

Good to know that, thanks.