Class MenuBarItem
MenuBarItem is a menu item on an app's MenuBar. MenuBarItems do not support Shortcut.
public class MenuBarItem : MenuItem
- Inheritance
-
MenuBarItem
- Inherited Members
Constructors
- MenuBarItem()
Initializes a new MenuBarItem.
- MenuBarItem(ustring, ustring, Action, Func<bool>, MenuItem)
Initializes a new MenuBarItem as a MenuItem.
- MenuBarItem(ustring, List<MenuItem[]>, MenuItem)
Initializes a new MenuBarItem with separate list of items.
- MenuBarItem(ustring, MenuItem[], MenuItem)
Initializes a new MenuBarItem.
- MenuBarItem(MenuItem[])
Initializes a new MenuBarItem.
Properties
- Children
Gets or sets an array of MenuItem objects that are the children of this MenuBarItem
Methods
- GetChildrenIndex(MenuItem)
Get the index of the MenuItem parameter.
- IsSubMenuOf(MenuItem)
Check if the MenuItem parameter is a child of this.
- SubMenu(MenuItem)
Check if the children parameter is a MenuBarItem.