Profile Picture

NUIdocument vs. NDockingPanel

Posted By JSW W. 14 Years Ago
Author
Message
JSW W.
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 127, Visits: 1
Could you help explain the different between these two tabs?

Currently all my document is NUIDocument, if I want to do nested tabs, can it be done?
Thanks,

Angel Chorbadzhiev
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)

Group: Forum Members
Last Active: Last Month
Posts: 139, Visits: 184

Hello JSW W.,

Basically, the difference between NUIDocument and NDockingPanel is in the layout capabilities.

Please, check the documentation and UI examples related to docking framework.

 

On your second question I can suggest to just put a NTabControl as Client in each NUIDocument you got.

Regards,

Angel.

 



JSW W.
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 127, Visits: 1
I have tried to understand the different between dockingpanel and NUIdocument.

Panels vs Document?

1) It seems they can not be tab together (grouping).
2) NUIdocument cannot maximize nor minimize - cannot be floated and hide.
3) Docking panel can do more tricks as shown in examples.
4) Panels might not have the navigation that documents have like vs2005 navigator.

- So how do you know which one to use for?
- Can DockingPanel be rename by double click?
- Can the title bar in docking panel be disable - so more working space similar to Document?
- Most importantly, with all the wonderful features in the panel that document doesn't have, can I added the same Form in Document into the Panel? e.g.

m_ctlData = New ctlData(Me)
m_ctlData.Dock = DockStyle.Fill
Dim docData As New NUIDocument("DataForm", 1, m_ctlData)
m_DockManager.DocumentManager.AddDocument(docData)
- Can i do the similar to the Panel?



JSW W.
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 127, Visits: 1
NdockManager
Represents the top-level manager of the docking framework.

NDocumentManager
Represents a top-level manager of all the available documents.

I am bit confused between the tab and the document... so I just wanted to straight it out.
Both can do similar things?
Thanks,

JSW W.
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 127, Visits: 1
Can we Float the NUIdocument?

JSW W.
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 127, Visits: 1
So far I have converted Document into Panel successfully.

Angel Chorbadzhiev
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)

Group: Forum Members
Last Active: Last Month
Posts: 139, Visits: 184

Hello JSW W.,

I will try to answer you to the questions that you ask above.

"So how do you know which one to use for?"

Basically this depends on your decision and the functionality of the application that use them. Good example is the Visual Studio IDE.

"Can DockingPanel be rename by double click?"

This functionality was recently added to the NUIDocuments when they are in MdiTabbed view style. However it doesn't apply to NDockingPanel because double clicking on the panel header has different meaning, namely switch the panel state from docked to floated and opposite.

"Can the title bar in docking panel be disable - so more working space similar to Document?"

No, you can't.

"Most importantly, with all the wonderful features in the panel that document doesn't have, can I added the same Form in Document into the Panel?"

In NDockingPanels adding controls is more like adding controls in Form.

nDockingPanel1.Controls.Add(myControl);

 

"Can we Float the NUIdocument?"

No, the NUIDocuments cannot be floating in the same meaning as NDockPanels.

If you set the document managers view style to MdiStandard the documents will be "floating", but only in the area of the document view.

Regards,

Angel.

 





Similar Topics


Reading This Topic