MenuBar Class |
Namespace: Eto.Forms
The MenuBar type exposes the following members.
Name | Description | |
---|---|---|
![]() | MenuBar |
Initializes a new instance of the MenuBar class.
|
![]() | MenuBar(MenuItem) |
Initializes a new instance of the MenuBar class with the specified items.
|
![]() | MenuBar(IEnumerableMenuItem) |
Initializes a new instance of the MenuBar class with the specified items.
|
Name | Description | |
---|---|---|
![]() | AboutItem |
Gets or sets the item to show an about dialog for the application
|
![]() | ApplicationItems |
Gets the item collection for the ApplicationMenu, to easily add items declaratively/programatically.
|
![]() | ApplicationMenu |
Gets the menu that contains application-level items.
|
![]() | HelpItems |
Gets the item collection for the HelpMenu, to easily add items declaratively/programatically.
|
![]() | HelpMenu |
Gets the help menu for the application for showing help items
|
![]() | IncludeSystemItems |
Gets or sets which system items will be automatically included with the menu.
|
![]() | Items |
Gets the collection of menu items
|
![]() | QuitItem |
Gets or sets the quit item for the application.
|
![]() | SystemCommands |
Gets the system commands for the menu.
|
![]() | Trim |
Gets or sets a value indicating whether this MenuBar will trim the items when set to a form
|
Name | Description | |
---|---|---|
![]() | OnLoad |
Called when the menu is assigned to a control/window
(Overrides MenuOnLoad(EventArgs).) |
![]() | OnPreLoad |
Called before the menu is assigned to a control/window
(Overrides MenuOnPreLoad(EventArgs).) |
![]() | OnUnLoad |
Called when the menu is removed from a control/window
(Overrides MenuOnUnLoad(EventArgs).) |
Name | Description | |
---|---|---|
![]() | GetChildren |
Gets an enumeration of all children of the specified submenu.
(Defined by SubmenuExtensions.) |