### YamlMime:ManagedReference
items:
- uid: Terminal.Gui.MenuItem
  id: MenuItem
  children:
  - Terminal.Gui.MenuItem.#ctor(NStack.ustring,System.String,System.Action)
  - Terminal.Gui.MenuItem.Action
  - Terminal.Gui.MenuItem.Help
  - Terminal.Gui.MenuItem.HotKey
  - Terminal.Gui.MenuItem.ShortCut
  - Terminal.Gui.MenuItem.Title
  langs:
  - csharp
  name: MenuItem
  nameWithType: MenuItem
  fullName: Terminal.Gui.MenuItem
  type: Class
  assemblies:
  - Terminal.Gui
  namespace: Terminal.Gui
  summary: A menu item has a title, an associated help text, and an action to execute on activation.
  syntax:
    content: public class MenuItem
  inheritance:
  - System.Object
  implements: []
  inheritedMembers: []
- uid: Terminal.Gui.MenuItem.#ctor(NStack.ustring,System.String,System.Action)
  id: '#ctor(NStack.ustring,System.String,System.Action)'
  parent: Terminal.Gui.MenuItem
  langs:
  - csharp
  name: MenuItem(ustring, String, Action)
  nameWithType: MenuItem.MenuItem(ustring, String, Action)
  fullName: MenuItem.MenuItem(ustring, String, Action)
  type: Constructor
  assemblies:
  - Terminal.Gui
  namespace: Terminal.Gui
  summary: Initializes a new <xref href="Terminal.Gui.MenuItem"></xref>.
  syntax:
    content: public MenuItem (NStack.ustring title, string help, Action action);
    parameters:
    - id: title
      type: NStack.ustring
      description: Title for the menu item.
    - id: help
      type: System.String
      description: Help text to display.
    - id: action
      type: System.Action
      description: Action to invoke when the menu item is activated.
  overload: Terminal.Gui.MenuItem.#ctor*
  exceptions: []
- uid: Terminal.Gui.MenuItem.Action
  id: Action
  parent: Terminal.Gui.MenuItem
  langs:
  - csharp
  name: Action
  nameWithType: MenuItem.Action
  fullName: MenuItem.Action
  type: Property
  assemblies:
  - Terminal.Gui
  namespace: Terminal.Gui
  summary: Gets or sets the action to be invoked when the menu is triggered
  syntax:
    content: public Action Action { get; set; }
    return:
      type: System.Action
      description: Method to invoke.
  overload: Terminal.Gui.MenuItem.Action*
  exceptions: []
- uid: Terminal.Gui.MenuItem.Help
  id: Help
  parent: Terminal.Gui.MenuItem
  langs:
  - csharp
  name: Help
  nameWithType: MenuItem.Help
  fullName: MenuItem.Help
  type: Property
  assemblies:
  - Terminal.Gui
  namespace: Terminal.Gui
  summary: Gets or sets the help text for the menu item.
  syntax:
    content: public NStack.ustring Help { get; set; }
    return:
      type: NStack.ustring
      description: The help text.
  overload: Terminal.Gui.MenuItem.Help*
  exceptions: []
- uid: Terminal.Gui.MenuItem.HotKey
  id: HotKey
  parent: Terminal.Gui.MenuItem
  langs:
  - csharp
  name: HotKey
  nameWithType: MenuItem.HotKey
  fullName: MenuItem.HotKey
  type: Field
  assemblies:
  - Terminal.Gui
  namespace: Terminal.Gui
  summary: "The hotkey is used when the menu is active, the shortcut can be triggered when the menu is not active.   \n            For example HotKey would be \"N\" when the File Menu is open (assuming there is a \"_New\" entry\n            if the ShortCut is set to \"Control-N\", this would be a global hotkey that would trigger as well"
  syntax:
    content: public Rune HotKey;
    return:
      type: System.Rune
      description: To be added.
  exceptions: []
- uid: Terminal.Gui.MenuItem.ShortCut
  id: ShortCut
  parent: Terminal.Gui.MenuItem
  langs:
  - csharp
  name: ShortCut
  nameWithType: MenuItem.ShortCut
  fullName: MenuItem.ShortCut
  type: Field
  assemblies:
  - Terminal.Gui
  namespace: Terminal.Gui
  summary: This is the global setting that can be used as a global shortcut to invoke the action on the menu.
  syntax:
    content: public Terminal.Gui.Key ShortCut;
    return:
      type: Terminal.Gui.Key
      description: To be added.
  exceptions: []
- uid: Terminal.Gui.MenuItem.Title
  id: Title
  parent: Terminal.Gui.MenuItem
  langs:
  - csharp
  name: Title
  nameWithType: MenuItem.Title
  fullName: MenuItem.Title
  type: Property
  assemblies:
  - Terminal.Gui
  namespace: Terminal.Gui
  summary: Gets or sets the title.
  syntax:
    content: public NStack.ustring Title { get; set; }
    return:
      type: NStack.ustring
      description: The title.
  overload: Terminal.Gui.MenuItem.Title*
  exceptions: []
references:
- uid: System.Object
  parent: System
  isExternal: true
  name: Object
  nameWithType: Object
  fullName: System.Object
- uid: Terminal.Gui.MenuItem.#ctor(NStack.ustring,System.String,System.Action)
  parent: Terminal.Gui.MenuItem
  isExternal: false
  name: MenuItem(ustring, String, Action)
  nameWithType: MenuItem.MenuItem(ustring, String, Action)
  fullName: MenuItem.MenuItem(ustring, String, Action)
- uid: NStack.ustring
  parent: NStack
  isExternal: true
  name: ustring
  nameWithType: ustring
  fullName: NStack.ustring
- uid: System.String
  parent: System
  isExternal: true
  name: String
  nameWithType: String
  fullName: System.String
- uid: System.Action
  parent: System
  isExternal: true
  name: Action
  nameWithType: Action
  fullName: System.Action
- uid: Terminal.Gui.MenuItem.Action
  parent: Terminal.Gui.MenuItem
  isExternal: false
  name: Action
  nameWithType: MenuItem.Action
  fullName: MenuItem.Action
- uid: Terminal.Gui.MenuItem.Help
  parent: Terminal.Gui.MenuItem
  isExternal: false
  name: Help
  nameWithType: MenuItem.Help
  fullName: MenuItem.Help
- uid: Terminal.Gui.MenuItem.HotKey
  parent: Terminal.Gui.MenuItem
  isExternal: false
  name: HotKey
  nameWithType: MenuItem.HotKey
  fullName: MenuItem.HotKey
- uid: System.Rune
  parent: System
  isExternal: true
  name: Rune
  nameWithType: Rune
  fullName: System.Rune
- uid: Terminal.Gui.MenuItem.ShortCut
  parent: Terminal.Gui.MenuItem
  isExternal: false
  name: ShortCut
  nameWithType: MenuItem.ShortCut
  fullName: MenuItem.ShortCut
- uid: Terminal.Gui.Key
  parent: Terminal.Gui
  isExternal: false
  name: Key
  nameWithType: Key
  fullName: Terminal.Gui.Key
- uid: Terminal.Gui.MenuItem.Title
  parent: Terminal.Gui.MenuItem
  isExternal: false
  name: Title
  nameWithType: MenuItem.Title
  fullName: MenuItem.Title
- uid: Terminal.Gui.MenuItem.#ctor*
  parent: Terminal.Gui.MenuItem
  isExternal: false
  name: MenuItem
  nameWithType: MenuItem.MenuItem
  fullName: MenuItem.MenuItem
- uid: Terminal.Gui.MenuItem.Action*
  parent: Terminal.Gui.MenuItem
  isExternal: false
  name: Action
  nameWithType: MenuItem.Action
  fullName: MenuItem.Action
- uid: Terminal.Gui.MenuItem.Help*
  parent: Terminal.Gui.MenuItem
  isExternal: false
  name: Help
  nameWithType: MenuItem.Help
  fullName: MenuItem.Help
- uid: Terminal.Gui.MenuItem.Title*
  parent: Terminal.Gui.MenuItem
  isExternal: false
  name: Title
  nameWithType: MenuItem.Title
  fullName: MenuItem.Title
