Articles in this section
Category / Section

How to display only partial menu items using XPMenus in WinForms XPToolBar?

1 min read

Display partial menu items using XPMenus

It is possible to display partial menus by setting UsePartialMenus property of the MainframebarManager to true and setting the IsRecentlyUsedItem property of the baritems that are to be hidden to false.

C#

this.mainFrameBarManager1.UsePartialMenus = true;
this.barItem4.IsRecentlyUsedItem = false;
this.barItem5.IsRecentlyUsedItem = false;
this.barItem6.IsRecentlyUsedItem = false;

VB

Me.mainFrameBarManager1.UsePartialMenus = True
Me.barItem4.IsRecentlyUsedItem = False
Me.barItem5.IsRecentlyUsedItem = False
Me.barItem6.IsRecentlyUsedItem = False

 

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