Class
MenuOptions
ConsoleMonster.Interactive
How a menu runs.
Inheritance
- object
- MenuOptions
Usage
Explore 37 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.
Returned or exposed by 17
- Extension method MenuOptions.AppName
- Extension method MenuOptions.CommandPalette
- Extension method MenuOptions.ConfirmExit
- Extension method MenuOptions.Interactive
- Extension method MenuOptions.Layout
- Extension method MenuOptions.RememberLastChoices
- Extension method MenuOptions.SidebarMinimumWidth
- Extension method MenuOptions.StorageRoot
- Method MenuOptions.Clone
- Method MenuOptionsFluent.AppName
- Method MenuOptionsFluent.CommandPalette
- Method MenuOptionsFluent.ConfirmExit
- Method MenuOptionsFluent.Interactive
- Method MenuOptionsFluent.Layout
- Method MenuOptionsFluent.RememberLastChoices
- Method MenuOptionsFluent.SidebarMinimumWidth
- Method MenuOptionsFluent.StorageRoot
Accepted by parameters 20
- Method Menu.Run
- Method Menu.Run
- Method Menu.RunAsync
- Method Menu.RunAsync
- Extension method MenuOptions.AppName
- Extension method MenuOptions.CommandPalette
- Extension method MenuOptions.ConfirmExit
- Extension method MenuOptions.Interactive
- Extension method MenuOptions.Layout
- Extension method MenuOptions.RememberLastChoices
- Extension method MenuOptions.SidebarMinimumWidth
- Extension method MenuOptions.StorageRoot
- Method MenuOptionsFluent.AppName
- Method MenuOptionsFluent.CommandPalette
- Method MenuOptionsFluent.ConfirmExit
- Method MenuOptionsFluent.Interactive
- Method MenuOptionsFluent.Layout
- Method MenuOptionsFluent.RememberLastChoices
- Method MenuOptionsFluent.SidebarMinimumWidth
- Method MenuOptionsFluent.StorageRoot
Constructors
public MenuOptions() #Methods
public MenuOptions Clone() #Copies this configuration; explicitly supplied nested devices and callbacks remain shared.
Inherited Methods
Properties
public InteractiveOptions? Interactive { get; set; } #Interaction settings (mode, input, profile, theme, labels).
public string? AppName { get; set; } #The app name presets and remembered choices are stored under; null uses the menu title.
public bool RememberLastChoices { get; set; } #Whether forms and selections remember the last choices (opt-in, stored per user).
public string? StorageRoot { get; set; } #The folder for the app's storage folder; null uses the per-user default.
public bool ConfirmExit { get; set; } #Whether leaving with unsaved changes asks first.
public bool CommandPalette { get; set; } #Whether the command palette is available.
public int SidebarMinimumWidth { get; set; } #The narrowest window that still shows the sidebar.
Extension Methods
Interactive 2 overloads