Table of Contents

Class MenuBarItem

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

MenuBarItem is a menu item on MenuBar. MenuBarItems do not support ShortcutKey.

public class MenuBarItem : MenuItem
Inheritance
MenuBarItem
Inherited Members

Constructors

MenuBarItem()

Initializes a new MenuBarItem.

MenuBarItem(string, List<MenuItem[]>, MenuItem?)

Initializes a new MenuBarItem with separate list of items.

MenuBarItem(string, string, Action, Func<bool>?, MenuItem?)

Initializes a new MenuBarItem as a MenuItem.

MenuBarItem(string, 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

AddMenuBarItem(MenuBar, MenuItem?)

Add a MenuBarItem dynamically into the MenuBar.Menus.

GetChildrenIndex(MenuItem)

Get the index of a child MenuItem.

IsSubMenuOf(MenuItem)

Check if a MenuItem is a submenu of this MenuBar.

RemoveMenuItem()

Removes a MenuItem dynamically from the Parent.

SubMenu(MenuItem?)

Check if a MenuItem is a MenuBarItem.