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)