Articles in this section
Category / Section

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

1 min read

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)
Please sign in to leave a comment
Access denied
Access denied