Class Menu
- Namespace
- MiniTui
- Assembly
- MiniTui.dll
A menu in a MenuBar (1.x spec §15.2).
public sealed class Menu
- Inheritance
-
Menu
- Inherited Members
Constructors
Menu(string, IReadOnlyList<MenuItem>)
A menu with fixed items.
public Menu(string title, IReadOnlyList<MenuItem> items)
Parameters
titlestringitemsIReadOnlyList<MenuItem>
Menu(string, Func<IReadOnlyList<MenuItem>>)
public Menu(string title, Func<IReadOnlyList<MenuItem>> items)
Parameters
titlestringitemsFunc<IReadOnlyList<MenuItem>>
Properties
Title
The title, with an optional & mnemonic: "&File".
public string Title { get; }
Property Value
Methods
Items()
The items, built now.
public IReadOnlyList<MenuItem> Items()