Hello Ian,
Depending of the document view style you can hide the Close button as follows:
if document view style is:
- MdiStandard; The type of Host property of the NUIDocument should be NMdiChild. In this case you should set CloseButton to false:
nDockManager1.DocumentStyle.DocumentViewStyle =
DocumentViewStyle.MdiStandard;NUIDocument
doc1 = new NUIDocument();NMdiChild
child = doc1.Host as NMdiChild;if (child != null){
child.CloseButton =
false;}
- MdiTabbed; In this case you can set which buttons of the tabbed part to be visible by setting StripButtons property of the DocumentStyle:
nDockManager1.DocumentStyle.DocumentViewStyle =
DocumentViewStyle.MdiTabbed;nDockManager1.DocumentStyle.StripButtons =
DocumentStripButtons.None;
Best Regards,
Nevron Support Team