NDiagramCommandBarsManager


Author
Message
Ashley Davy
Ashley Davy
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
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
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
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


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search