Articles in this section

How to force the visibility of a toolbar in WinForms Menu(MainFrameBarManager)?

Visibility of toolbar

The toolbars can be accessed from the MainFrameBarManager using the method called GetCommandBarManager. Again, its visibility can be set through the methos called SetBarVisibility. Please refer the below code snippet which illustrates this:

C#

this.mainFrameBarManager1.GetCommandBarManager().SetBarVisibility(this.bar2, true);

VB

Me.MainFrameBarManager1.GetCommandBarManager().SetBarVisibility(this.bar2, True)

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied