MainMenu
Represents the menu structure of a form.
Last updated
Was this helpful?
Represents the menu structure of a form.
Last updated
Was this helpful?
The Wisej.NET MainMenu
control contains a form's menu structure. It consists of MenuItem
objects representing individual menu commands or submenus. Bind the MainMenu
to a form by assigning it to the form's Menu
property.
For multilingual support, use the RightToLeft
property to display menu text appropriately for languages like Arabic.
Create different MainMenu
objects for varied menu structures. Use CloneMenu
to create reusable copies that can be modified for new menu structures.
For a full list of properties, methods and events see the API documentation.
The AutoOverflow
property automatically displays an overflow icon when menu items exceed available space.
LinkMenuItem
objects provide URL-opening menu items.
Shortcut keys enable quick access to frequent menu items and keyboard navigation for users without pointer devices.
Add menu items in the designer by:
Drag MainMenu
from Toolbox to Form
Expand MenuItems
property to add members
For programmatic menu item addition:
Class name
"wisej.web.menu.MainMenu"
Theme appearance
"mainmenu", inherits from "menubar", see Themes
Source code