MenuExtensions.Item method (1 of 8)
Adds a semantic command item using the command’s normalized text and default access key.
public static Menu Item(this Menu menu, Command command)See Also
Section titled “See Also”- class Menu
- class Command
- class MenuExtensions
- namespace Aprillz.MewUI
MenuExtensions.Item method (2 of 8)
Section titled “MenuExtensions.Item method (2 of 8)”Adds a command item using the command’s normalized text and default access key.
public static MenuBar Item(this MenuBar bar, Command command)See Also
Section titled “See Also”- class MenuBar
- class Command
- class MenuExtensions
- namespace Aprillz.MewUI
MenuExtensions.Item method (3 of 8)
Section titled “MenuExtensions.Item method (3 of 8)”Adds a menu item.
public static MenuBar Item(this MenuBar bar, MenuItem item)| parameter | description |
|---|---|
| bar | Target menu bar. |
| item | Menu item to add. |
Return Value
Section titled “Return Value”The menu bar for chaining.
See Also
Section titled “See Also”- class MenuBar
- class MenuItem
- class MenuExtensions
- namespace Aprillz.MewUI
MenuExtensions.Item method (4 of 8)
Section titled “MenuExtensions.Item method (4 of 8)”Adds a non-executable presentation item.
public static Menu Item(this Menu menu, string text, bool isEnabled = true)See Also
Section titled “See Also”- class Menu
- class MenuExtensions
- namespace Aprillz.MewUI
MenuExtensions.Item method (5 of 8)
Section titled “MenuExtensions.Item method (5 of 8)”Adds a semantic command item with a presentation and access-key override. A single underscore marks the following character as the access key; use a double underscore for a literal underscore.
public static Menu Item(this Menu menu, string text, Command command)See Also
Section titled “See Also”- class Menu
- class Command
- class MenuExtensions
- namespace Aprillz.MewUI
MenuExtensions.Item method (6 of 8)
Section titled “MenuExtensions.Item method (6 of 8)”Adds a command item with a presentation and access-key override. A single underscore marks the following character as the access key; use a double underscore for a literal underscore.
public static MenuBar Item(this MenuBar bar, string text, Command command)See Also
Section titled “See Also”- class MenuBar
- class Command
- class MenuExtensions
- namespace Aprillz.MewUI
MenuExtensions.Item method (7 of 8)
Section titled “MenuExtensions.Item method (7 of 8)”Adds a menu item with text and submenu.
public static MenuBar Item(this MenuBar bar, string text, Menu menu)| parameter | description |
|---|---|
| bar | Target menu bar. |
| text | Menu item text. |
| menu | Submenu. |
Return Value
Section titled “Return Value”The menu bar for chaining.
See Also
Section titled “See Also”- class MenuBar
- class Menu
- class MenuExtensions
- namespace Aprillz.MewUI
MenuExtensions.Item method (8 of 8)
Section titled “MenuExtensions.Item method (8 of 8)”Adds a command item that passes data as the invocation argument, so several items can share one command and differ only in the value they pass.
public static Menu Item(this Menu menu, string text, Command command, object? data)See Also
Section titled “See Also”- class Menu
- class Command
- class MenuExtensions
- namespace Aprillz.MewUI