Skip to content
ConsoleMonster

API Reference

Enum

MenuItemKind

Namespace ConsoleMonster.Interactive
Assembly ConsoleMonster
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

What a menu item does when opened.

Inheritance

  • Enum
  • MenuItemKind

Usage

Explore 11 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Values

public const MenuItemKind Action #

Runs an action.

Value: 0
public const MenuItemKind Submenu #

Opens a submenu.

Value: 1
public const MenuItemKind Form #

Opens a form.

Value: 2
public const MenuItemKind Select #

Picks one value (kept on the item).

Value: 3
public const MenuItemKind MultiSelect #

Picks several values (kept on the item).

Value: 4
public const MenuItemKind Page #

Shows content.

Value: 5
public const MenuItemKind Review #

Shows a review of the app's current choices with the equivalent command, and runs it.

Value: 6
public const MenuItemKind Presets #

Lists the saved presets of the menu (apply, delete).

Value: 7
public const MenuItemKind Separator #

A divider with an optional heading.

Value: 8
public const MenuItemKind Exit #

Leaves the menu.

Value: 9