Profile Picture

NDiagramCommandBarsManager

Posted By Ashley Davy 12 Years Ago
Author
Message
Ashley Davy
Posted 12 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 36, Visits: 119

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



Nevron Support
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009
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();

Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic