Nevron Forum

NDiagramCommandBarsManager

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

By Ashley Davy - Friday, February 24, 2012

In using the NDiagramCommandBarsManager component how do I programmatically hide the menu bar?  Also how would I hide the various tool bars that are displayed?  I do not need all of them.

Thanks,

Ashley

By Nevron Support - Friday, February 24, 2012

Hi Ashley,

To hide a toolbar from a NDiagramCommandBarsManager you just need to call it Hide method:
For example the menu bar is the first toolbar in NDiagramCommandBarsManager.Toolbars collection, so to hide it you need to do the following:

nDiagramCommandBarsManager1.Toolbars[0].Hide();