Windows Forms Menu (Menus) Overview

8 Jul 20261 minute to read

MainFrameBarManager control allows a hierarchical menu model of elements that are associated with commands and toolbars. This control contains a collection of BarItem, which can be expanded to display additional BarItem entries or to perform a specific action when clicked.

Key features

  • Bar - Supports Bar, a unique structure that represents a main menu, status bar, or a regular toolbar in the XP Menus Framework.

  • Host form - Provides the option to host into any kind of form.

  • Localization - Provides localization support for all elements into any desired language.

  • BarItem types - Provides a rich set of built-in controls such as ParentBarItem, BarItem, ComboBoxBarItem, TextBoxBarItem, and many more.

  • Serialization - Provides options to save and load the state of the BarItem.

  • Customization - Supports a Customization dialog that lets the end user customize the menu structure at runtime.

  • Visual style - Supports a rich set of visual styles to customize the look and feel of the MainFrameBarManager.

  • MDI layout - Supports MDI layout. Learn more in MDIChildForms.

  • ToolTip - Provides options to set a ToolTip for each BarItem.