Skip to content
ConsoleMonster
Class

InteractiveFluent

ConsoleMonster.Interactive

Namespace
ConsoleMonster.Interactive
Assembly
ConsoleMonster
Modifiers
static

Invariant-preserving overloads alongside generated menu-item property methods.

Inheritance

  • object
  • InteractiveFluent

Methods

public static FormDialogOptions AcceptText(FormDialogOptions formDialogOptions, string value) #

Sets FormDialogOptions.AcceptText: The affirmative button label.

Parameters

formDialogOptions ConsoleMonster.Interactive.FormDialogOptions required
The instance.
value string required
The value.

Returns

FormDialogOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.FormDialogOptions { AcceptText = value };    Ui.Dialog().AcceptText(value);
public static PromptLabels ActionOutput(PromptLabels promptLabels, string value) #

Sets PromptLabels.ActionOutput: The action output pane's title while idle.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { ActionOutput = value };    promptLabels.ActionOutput(value);
public static PromptLabels ActionRunning(PromptLabels promptLabels, string value) #

Sets PromptLabels.ActionRunning: The action output pane's title while an action runs: {0} is the cancel key.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { ActionRunning = value };    promptLabels.ActionRunning(value);
Actions 2 overloads
public static ConsoleAppOptions Actions(ConsoleAppOptions consoleAppOptions, AppActions? value) #

Sets ConsoleAppOptions.Actions: Optional app-thread bridge to the shared action runner for registry and dialog callbacks.

Parameters

consoleAppOptions ConsoleMonster.Interactive.ConsoleAppOptions required
The instance.
value ConsoleMonster.Interactive.AppActions? required
The value.

Returns

ConsoleAppOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.ConsoleAppOptions { Actions = value };    consoleAppOptions.Actions(value);
public static AppHostKeys Actions(AppHostKeys appHostKeys, KeyChord? value) #

Sets AppHostKeys.Actions: Focus the action buttons.

Parameters

appHostKeys ConsoleMonster.Interactive.AppHostKeys required
The instance.
value ConsoleMonster.Input.KeyChord? required
The value.

Returns

AppHostKeys The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::ConsoleMonster.Interactive.AppHostKeys { Actions = value };    appHostKeys.Actions(value);
public static TerminalChildOptions AddArgument(TerminalChildOptions terminalChildOptions, string item) #

Adds an item to TerminalChildOptions.Arguments: Separate arguments, quoted by the existing terminal transport.

Parameters

terminalChildOptions ConsoleMonster.Interactive.TerminalChildOptions required
The instance.
item string required
The item.

Returns

TerminalChildOptions The same instance.
AddArguments 2 overloads
public static TerminalChildOptions AddArguments(TerminalChildOptions terminalChildOptions, params string[] items) #

Adds items to TerminalChildOptions.Arguments: Separate arguments, quoted by the existing terminal transport.

Parameters

terminalChildOptions ConsoleMonster.Interactive.TerminalChildOptions required
The instance.
items string[] required
The items, in order.

Returns

TerminalChildOptions The same instance.
public static TerminalChildOptions AddArguments(TerminalChildOptions terminalChildOptions, IEnumerable<string> items) #

Adds items to TerminalChildOptions.Arguments: Separate arguments, quoted by the existing terminal transport.

Parameters

terminalChildOptions ConsoleMonster.Interactive.TerminalChildOptions required
The instance.
items System.Collections.Generic.IEnumerable<string> required
The items, in order.

Returns

TerminalChildOptions The same instance.
AddChoice 4 overloads
public static MenuItem AddChoice(MenuItem menuItem, Choice item) #

Adds an item to MenuItem.Choices: The choices of a selection item.

Parameters

menuItem ConsoleMonster.Interactive.MenuItem required
The instance.
item ConsoleMonster.Interactive.Choice required
The item.

Returns

MenuItem The same instance.
public static SelectQuestionOptions AddChoice(SelectQuestionOptions selectQuestionOptions, Choice item) #

Adds an item to SelectQuestionOptions.Choices: The prepared choices; their values, enabled state and initial selection are retained.

Parameters

selectQuestionOptions ConsoleMonster.Interactive.SelectQuestionOptions required
The instance.
item ConsoleMonster.Interactive.Choice required
The item.

Returns

SelectQuestionOptions The same instance.
public static SelectInputOptions AddChoice(SelectInputOptions selectInputOptions, Choice item) #

Adds an item to SelectInputOptions.Choices: The prepared choices, retaining original values and enabled/selected metadata.

Parameters

selectInputOptions ConsoleMonster.Interactive.SelectInputOptions required
The instance.
item ConsoleMonster.Interactive.Choice required
The item.

Returns

SelectInputOptions The same instance.
public static ChoiceField AddChoice(ChoiceField choiceField, Choice item) #

Adds an item to ChoiceField.Choices: The choices (replaced by the loader's result when one is set).

Parameters

choiceField ConsoleMonster.Interactive.ChoiceField required
The instance.
item ConsoleMonster.Interactive.Choice required
The item.

Returns

ChoiceField The same instance.
AddChoices 8 overloads
public static MenuItem AddChoices(MenuItem menuItem, params Choice[] items) #

Adds items to MenuItem.Choices: The choices of a selection item.

Parameters

menuItem ConsoleMonster.Interactive.MenuItem required
The instance.
items ConsoleMonster.Interactive.Choice[] required
The items, in order.

Returns

MenuItem The same instance.
public static MenuItem AddChoices(MenuItem menuItem, IEnumerable<Choice> items) #

Adds items to MenuItem.Choices: The choices of a selection item.

Parameters

menuItem ConsoleMonster.Interactive.MenuItem required
The instance.
items System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.Choice> required
The items, in order.

Returns

MenuItem The same instance.
public static SelectQuestionOptions AddChoices(SelectQuestionOptions selectQuestionOptions, params Choice[] items) #

Adds items to SelectQuestionOptions.Choices: The prepared choices; their values, enabled state and initial selection are retained.

Parameters

selectQuestionOptions ConsoleMonster.Interactive.SelectQuestionOptions required
The instance.
items ConsoleMonster.Interactive.Choice[] required
The items, in order.

Returns

SelectQuestionOptions The same instance.
public static SelectQuestionOptions AddChoices(SelectQuestionOptions selectQuestionOptions, IEnumerable<Choice> items) #

Adds items to SelectQuestionOptions.Choices: The prepared choices; their values, enabled state and initial selection are retained.

Parameters

selectQuestionOptions ConsoleMonster.Interactive.SelectQuestionOptions required
The instance.
items System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.Choice> required
The items, in order.

Returns

SelectQuestionOptions The same instance.
public static SelectInputOptions AddChoices(SelectInputOptions selectInputOptions, params Choice[] items) #

Adds items to SelectInputOptions.Choices: The prepared choices, retaining original values and enabled/selected metadata.

Parameters

selectInputOptions ConsoleMonster.Interactive.SelectInputOptions required
The instance.
items ConsoleMonster.Interactive.Choice[] required
The items, in order.

Returns

SelectInputOptions The same instance.
public static SelectInputOptions AddChoices(SelectInputOptions selectInputOptions, IEnumerable<Choice> items) #

Adds items to SelectInputOptions.Choices: The prepared choices, retaining original values and enabled/selected metadata.

Parameters

selectInputOptions ConsoleMonster.Interactive.SelectInputOptions required
The instance.
items System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.Choice> required
The items, in order.

Returns

SelectInputOptions The same instance.
public static ChoiceField AddChoices(ChoiceField choiceField, params Choice[] items) #

Adds items to ChoiceField.Choices: The choices (replaced by the loader's result when one is set).

Parameters

choiceField ConsoleMonster.Interactive.ChoiceField required
The instance.
items ConsoleMonster.Interactive.Choice[] required
The items, in order.

Returns

ChoiceField The same instance.
public static ChoiceField AddChoices(ChoiceField choiceField, IEnumerable<Choice> items) #

Adds items to ChoiceField.Choices: The choices (replaced by the loader's result when one is set).

Parameters

choiceField ConsoleMonster.Interactive.ChoiceField required
The instance.
items System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.Choice> required
The items, in order.

Returns

ChoiceField The same instance.
AddChoices``1 4 overloads
public static MultiSelectPrompt<T?> AddChoices<T>(MultiSelectPrompt<T?> multiSelectPrompt, params Choice[] items) #

Adds items to MultiSelectPrompt<T>.Choices: The choices, in display order.

Type Parameters

T

Parameters

multiSelectPrompt ConsoleMonster.Interactive.MultiSelectPrompt<T?> required
The instance.
items ConsoleMonster.Interactive.Choice[] required
The items, in order.

Returns

MultiSelectPrompt<T?> The same instance.
public static MultiSelectPrompt<T?> AddChoices<T>(MultiSelectPrompt<T?> multiSelectPrompt, IEnumerable<Choice> items) #

Adds items to MultiSelectPrompt<T>.Choices: The choices, in display order.

Type Parameters

T

Parameters

multiSelectPrompt ConsoleMonster.Interactive.MultiSelectPrompt<T?> required
The instance.
items System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.Choice> required
The items, in order.

Returns

MultiSelectPrompt<T?> The same instance.
public static SelectPrompt<T?> AddChoices<T>(SelectPrompt<T?> selectPrompt, params Choice[] items) #

Adds items to SelectPrompt<T>.Choices: The choices, in display order.

Type Parameters

T

Parameters

selectPrompt ConsoleMonster.Interactive.SelectPrompt<T?> required
The instance.
items ConsoleMonster.Interactive.Choice[] required
The items, in order.

Returns

SelectPrompt<T?> The same instance.
public static SelectPrompt<T?> AddChoices<T>(SelectPrompt<T?> selectPrompt, IEnumerable<Choice> items) #

Adds items to SelectPrompt<T>.Choices: The choices, in display order.

Type Parameters

T

Parameters

selectPrompt ConsoleMonster.Interactive.SelectPrompt<T?> required
The instance.
items System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.Choice> required
The items, in order.

Returns

SelectPrompt<T?> The same instance.
AddChoice``1 2 overloads
public static MultiSelectPrompt<T?> AddChoice<T>(MultiSelectPrompt<T?> multiSelectPrompt, Choice item) #

Adds an item to MultiSelectPrompt<T>.Choices: The choices, in display order.

Type Parameters

T

Parameters

multiSelectPrompt ConsoleMonster.Interactive.MultiSelectPrompt<T?> required
The instance.
item ConsoleMonster.Interactive.Choice required
The item.

Returns

MultiSelectPrompt<T?> The same instance.
public static SelectPrompt<T?> AddChoice<T>(SelectPrompt<T?> selectPrompt, Choice item) #

Adds an item to SelectPrompt<T>.Choices: The choices, in display order.

Type Parameters

T

Parameters

selectPrompt ConsoleMonster.Interactive.SelectPrompt<T?> required
The instance.
item ConsoleMonster.Interactive.Choice required
The item.

Returns

SelectPrompt<T?> The same instance.
AddCommand 6 overloads
public static ConsoleAppOptions AddCommand(ConsoleAppOptions consoleAppOptions, AppCommand item) #

Adds an item to ConsoleAppOptions.Command: Passive commands shared by the app's buttons, palette and keyboard shortcuts.

Parameters

consoleAppOptions ConsoleMonster.Interactive.ConsoleAppOptions required
The instance.
item ConsoleMonster.Interactive.AppCommand required
The item.

Returns

ConsoleAppOptions The same instance.
public static ConsoleAppOptions AddCommand(ConsoleAppOptions consoleAppOptions, params AppCommand[] items) #

Adds items to ConsoleAppOptions.Command: Passive commands shared by the app's buttons, palette and keyboard shortcuts.

Parameters

consoleAppOptions ConsoleMonster.Interactive.ConsoleAppOptions required
The instance.
items ConsoleMonster.Interactive.AppCommand[] required
The items, in order.

Returns

ConsoleAppOptions The same instance.
public static ConsoleAppOptions AddCommand(ConsoleAppOptions consoleAppOptions, IEnumerable<AppCommand> items) #

Adds items to ConsoleAppOptions.Command: Passive commands shared by the app's buttons, palette and keyboard shortcuts.

Parameters

consoleAppOptions ConsoleMonster.Interactive.ConsoleAppOptions required
The instance.
items System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.AppCommand> required
The items, in order.

Returns

ConsoleAppOptions The same instance.
public static GridOptions AddCommand(GridOptions gridOptions, AppCommand item) #

Adds an item to GridOptions.Command: Commands available through the action palette and their shortcuts. Actions keep the grid open.

Parameters

gridOptions ConsoleMonster.Interactive.GridOptions required
The instance.
item ConsoleMonster.Interactive.AppCommand required
The item.

Returns

GridOptions The same instance.
public static GridOptions AddCommand(GridOptions gridOptions, params AppCommand[] items) #

Adds items to GridOptions.Command: Commands available through the action palette and their shortcuts. Actions keep the grid open.

Parameters

gridOptions ConsoleMonster.Interactive.GridOptions required
The instance.
items ConsoleMonster.Interactive.AppCommand[] required
The items, in order.

Returns

GridOptions The same instance.
public static GridOptions AddCommand(GridOptions gridOptions, IEnumerable<AppCommand> items) #

Adds items to GridOptions.Command: Commands available through the action palette and their shortcuts. Actions keep the grid open.

Parameters

gridOptions ConsoleMonster.Interactive.GridOptions required
The instance.
items System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.AppCommand> required
The items, in order.

Returns

GridOptions The same instance.
public static Menu AddCommandProvider(Menu menu, ICommandProvider item) #

Adds an item to Menu.CommandProviders: Extra sources for the command palette.

Parameters

menu ConsoleMonster.Interactive.Menu required
The instance.
item ConsoleMonster.Interactive.ICommandProvider required
The item.

Returns

Menu The same instance.
AddCommandProviders 2 overloads
public static Menu AddCommandProviders(Menu menu, params ICommandProvider[] items) #

Adds items to Menu.CommandProviders: Extra sources for the command palette.

Parameters

menu ConsoleMonster.Interactive.Menu required
The instance.
items ConsoleMonster.Interactive.ICommandProvider[] required
The items, in order.

Returns

Menu The same instance.
public static Menu AddCommandProviders(Menu menu, IEnumerable<ICommandProvider> items) #

Adds items to Menu.CommandProviders: Extra sources for the command palette.

Parameters

menu ConsoleMonster.Interactive.Menu required
The instance.
items System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.ICommandProvider> required
The items, in order.

Returns

Menu The same instance.
AddDependsOn 21 overloads
public static ChoiceField AddDependsOn(ChoiceField choiceField, string item) #

Adds an item to Field.DependsOn: Fields whose change resets this field (and reloads its options).

Parameters

choiceField ConsoleMonster.Interactive.ChoiceField required
The instance.
item string required
The item.

Returns

ChoiceField The same instance.
public static ChoiceField AddDependsOn(ChoiceField choiceField, params string[] items) #

Adds items to Field.DependsOn: Fields whose change resets this field (and reloads its options).

Parameters

choiceField ConsoleMonster.Interactive.ChoiceField required
The instance.
items string[] required
The items, in order.

Returns

ChoiceField The same instance.
public static ChoiceField AddDependsOn(ChoiceField choiceField, IEnumerable<string> items) #

Adds items to Field.DependsOn: Fields whose change resets this field (and reloads its options).

Parameters

choiceField ConsoleMonster.Interactive.ChoiceField required
The instance.
items System.Collections.Generic.IEnumerable<string> required
The items, in order.

Returns

ChoiceField The same instance.
public static NumberField AddDependsOn(NumberField numberField, string item) #

Adds an item to Field.DependsOn: Fields whose change resets this field (and reloads its options).

Parameters

numberField ConsoleMonster.Interactive.NumberField required
The instance.
item string required
The item.

Returns

NumberField The same instance.
public static NumberField AddDependsOn(NumberField numberField, params string[] items) #

Adds items to Field.DependsOn: Fields whose change resets this field (and reloads its options).

Parameters

numberField ConsoleMonster.Interactive.NumberField required
The instance.
items string[] required
The items, in order.

Returns

NumberField The same instance.
public static NumberField AddDependsOn(NumberField numberField, IEnumerable<string> items) #

Adds items to Field.DependsOn: Fields whose change resets this field (and reloads its options).

Parameters

numberField ConsoleMonster.Interactive.NumberField required
The instance.
items System.Collections.Generic.IEnumerable<string> required
The items, in order.

Returns

NumberField The same instance.
public static PathField AddDependsOn(PathField pathField, string item) #

Adds an item to Field.DependsOn: Fields whose change resets this field (and reloads its options).

Parameters

pathField ConsoleMonster.Interactive.PathField required
The instance.
item string required
The item.

Returns

PathField The same instance.
public static PathField AddDependsOn(PathField pathField, params string[] items) #

Adds items to Field.DependsOn: Fields whose change resets this field (and reloads its options).

Parameters

pathField ConsoleMonster.Interactive.PathField required
The instance.
items string[] required
The items, in order.

Returns

PathField The same instance.
public static PathField AddDependsOn(PathField pathField, IEnumerable<string> items) #

Adds items to Field.DependsOn: Fields whose change resets this field (and reloads its options).

Parameters

pathField ConsoleMonster.Interactive.PathField required
The instance.
items System.Collections.Generic.IEnumerable<string> required
The items, in order.

Returns

PathField The same instance.
public static SecretField AddDependsOn(SecretField secretField, string item) #

Adds an item to Field.DependsOn: Fields whose change resets this field (and reloads its options).

Parameters

secretField ConsoleMonster.Interactive.SecretField required
The instance.
item string required
The item.

Returns

SecretField The same instance.
public static SecretField AddDependsOn(SecretField secretField, params string[] items) #

Adds items to Field.DependsOn: Fields whose change resets this field (and reloads its options).

Parameters

secretField ConsoleMonster.Interactive.SecretField required
The instance.
items string[] required
The items, in order.

Returns

SecretField The same instance.
public static SecretField AddDependsOn(SecretField secretField, IEnumerable<string> items) #

Adds items to Field.DependsOn: Fields whose change resets this field (and reloads its options).

Parameters

secretField ConsoleMonster.Interactive.SecretField required
The instance.
items System.Collections.Generic.IEnumerable<string> required
The items, in order.

Returns

SecretField The same instance.
public static TextAreaField AddDependsOn(TextAreaField textAreaField, string item) #

Adds an item to Field.DependsOn: Fields whose change resets this field (and reloads its options).

Parameters

textAreaField ConsoleMonster.Interactive.TextAreaField required
The instance.
item string required
The item.

Returns

TextAreaField The same instance.
public static TextAreaField AddDependsOn(TextAreaField textAreaField, params string[] items) #

Adds items to Field.DependsOn: Fields whose change resets this field (and reloads its options).

Parameters

textAreaField ConsoleMonster.Interactive.TextAreaField required
The instance.
items string[] required
The items, in order.

Returns

TextAreaField The same instance.
public static TextAreaField AddDependsOn(TextAreaField textAreaField, IEnumerable<string> items) #

Adds items to Field.DependsOn: Fields whose change resets this field (and reloads its options).

Parameters

textAreaField ConsoleMonster.Interactive.TextAreaField required
The instance.
items System.Collections.Generic.IEnumerable<string> required
The items, in order.

Returns

TextAreaField The same instance.
public static TextField AddDependsOn(TextField textField, string item) #

Adds an item to Field.DependsOn: Fields whose change resets this field (and reloads its options).

Parameters

textField ConsoleMonster.Interactive.TextField required
The instance.
item string required
The item.

Returns

TextField The same instance.
public static TextField AddDependsOn(TextField textField, params string[] items) #

Adds items to Field.DependsOn: Fields whose change resets this field (and reloads its options).

Parameters

textField ConsoleMonster.Interactive.TextField required
The instance.
items string[] required
The items, in order.

Returns

TextField The same instance.
public static TextField AddDependsOn(TextField textField, IEnumerable<string> items) #

Adds items to Field.DependsOn: Fields whose change resets this field (and reloads its options).

Parameters

textField ConsoleMonster.Interactive.TextField required
The instance.
items System.Collections.Generic.IEnumerable<string> required
The items, in order.

Returns

TextField The same instance.
public static ToggleField AddDependsOn(ToggleField toggleField, string item) #

Adds an item to Field.DependsOn: Fields whose change resets this field (and reloads its options).

Parameters

toggleField ConsoleMonster.Interactive.ToggleField required
The instance.
item string required
The item.

Returns

ToggleField The same instance.
public static ToggleField AddDependsOn(ToggleField toggleField, params string[] items) #

Adds items to Field.DependsOn: Fields whose change resets this field (and reloads its options).

Parameters

toggleField ConsoleMonster.Interactive.ToggleField required
The instance.
items string[] required
The items, in order.

Returns

ToggleField The same instance.
public static ToggleField AddDependsOn(ToggleField toggleField, IEnumerable<string> items) #

Adds items to Field.DependsOn: Fields whose change resets this field (and reloads its options).

Parameters

toggleField ConsoleMonster.Interactive.ToggleField required
The instance.
items System.Collections.Generic.IEnumerable<string> required
The items, in order.

Returns

ToggleField The same instance.
AddDependsOn``1 3 overloads
public static TSelf AddDependsOn<TSelf>(TSelf field, string item) #

Adds an item to Field.DependsOn: Fields whose change resets this field (and reloads its options).

Type Parameters

TSelf

Parameters

field TSelf required
The instance.
item string required
The item.

Returns

TSelf The same instance.
public static TSelf AddDependsOn<TSelf>(TSelf field, params string[] items) #

Adds items to Field.DependsOn: Fields whose change resets this field (and reloads its options).

Type Parameters

TSelf

Parameters

field TSelf required
The instance.
items string[] required
The items, in order.

Returns

TSelf The same instance.
public static TSelf AddDependsOn<TSelf>(TSelf field, IEnumerable<string> items) #

Adds items to Field.DependsOn: Fields whose change resets this field (and reloads its options).

Type Parameters

TSelf

Parameters

field TSelf required
The instance.
items System.Collections.Generic.IEnumerable<string> required
The items, in order.

Returns

TSelf The same instance.
AddExtension 2 overloads
public static PathPrompt AddExtension(PathPrompt pathPrompt, string item) #

Adds an item to PathPrompt.Extensions: File extensions offered as suggestions (".csv", ".json"); empty offers every file.

Parameters

pathPrompt ConsoleMonster.Interactive.PathPrompt required
The instance.
item string required
The item.

Returns

PathPrompt The same instance.
public static PathField AddExtension(PathField pathField, string item) #

Adds an item to PathField.Extensions: Extensions offered as suggestions.

Parameters

pathField ConsoleMonster.Interactive.PathField required
The instance.
item string required
The item.

Returns

PathField The same instance.
AddExtensions 4 overloads
public static PathPrompt AddExtensions(PathPrompt pathPrompt, params string[] items) #

Adds items to PathPrompt.Extensions: File extensions offered as suggestions (".csv", ".json"); empty offers every file.

Parameters

pathPrompt ConsoleMonster.Interactive.PathPrompt required
The instance.
items string[] required
The items, in order.

Returns

PathPrompt The same instance.
public static PathPrompt AddExtensions(PathPrompt pathPrompt, IEnumerable<string> items) #

Adds items to PathPrompt.Extensions: File extensions offered as suggestions (".csv", ".json"); empty offers every file.

Parameters

pathPrompt ConsoleMonster.Interactive.PathPrompt required
The instance.
items System.Collections.Generic.IEnumerable<string> required
The items, in order.

Returns

PathPrompt The same instance.
public static PathField AddExtensions(PathField pathField, params string[] items) #

Adds items to PathField.Extensions: Extensions offered as suggestions.

Parameters

pathField ConsoleMonster.Interactive.PathField required
The instance.
items string[] required
The items, in order.

Returns

PathField The same instance.
public static PathField AddExtensions(PathField pathField, IEnumerable<string> items) #

Adds items to PathField.Extensions: Extensions offered as suggestions.

Parameters

pathField ConsoleMonster.Interactive.PathField required
The instance.
items System.Collections.Generic.IEnumerable<string> required
The items, in order.

Returns

PathField The same instance.
public static FormPage AddField(FormPage formPage, Field item) #

Adds an item to FormPage.Fields: The fields.

Parameters

formPage ConsoleMonster.Interactive.FormPage required
The instance.
item ConsoleMonster.Interactive.Field required
The item.

Returns

FormPage The same instance.
AddFields 2 overloads
public static FormPage AddFields(FormPage formPage, params Field[] items) #

Adds items to FormPage.Fields: The fields.

Parameters

formPage ConsoleMonster.Interactive.FormPage required
The instance.
items ConsoleMonster.Interactive.Field[] required
The items, in order.

Returns

FormPage The same instance.
public static FormPage AddFields(FormPage formPage, IEnumerable<Field> items) #

Adds items to FormPage.Fields: The fields.

Parameters

formPage ConsoleMonster.Interactive.FormPage required
The instance.
items System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.Field> required
The items, in order.

Returns

FormPage The same instance.
public static MenuRunResult AddFigure(MenuRunResult menuRunResult, KeyValuePair<string, string> item) #

Adds an item to MenuRunResult.Figures: Key figures shown as label/value pairs ("Passed" = "41").

Parameters

menuRunResult ConsoleMonster.Interactive.MenuRunResult required
The instance.
item System.Collections.Generic.KeyValuePair<string, string> required
The item.

Returns

MenuRunResult The same instance.
AddFigures 2 overloads
public static MenuRunResult AddFigures(MenuRunResult menuRunResult, params KeyValuePair<string, string>[] items) #

Adds items to MenuRunResult.Figures: Key figures shown as label/value pairs ("Passed" = "41").

Parameters

menuRunResult ConsoleMonster.Interactive.MenuRunResult required
The instance.
items System.Collections.Generic.KeyValuePair<string, string>[] required
The items, in order.

Returns

MenuRunResult The same instance.
public static MenuRunResult AddFigures(MenuRunResult menuRunResult, IEnumerable<KeyValuePair<string, string>> items) #

Adds items to MenuRunResult.Figures: Key figures shown as label/value pairs ("Passed" = "41").

Parameters

menuRunResult ConsoleMonster.Interactive.MenuRunResult required
The instance.
items System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, string>> required
The items, in order.

Returns

MenuRunResult The same instance.
public static GridOptions AddHiddenColumn(GridOptions gridOptions, string item) #

Adds an item to GridOptions.HiddenColumns: Columns hidden at the start (by header).

Parameters

gridOptions ConsoleMonster.Interactive.GridOptions required
The instance.
item string required
The item.

Returns

GridOptions The same instance.
AddHiddenColumns 2 overloads
public static GridOptions AddHiddenColumns(GridOptions gridOptions, params string[] items) #

Adds items to GridOptions.HiddenColumns: Columns hidden at the start (by header).

Parameters

gridOptions ConsoleMonster.Interactive.GridOptions required
The instance.
items string[] required
The items, in order.

Returns

GridOptions The same instance.
public static GridOptions AddHiddenColumns(GridOptions gridOptions, IEnumerable<string> items) #

Adds items to GridOptions.HiddenColumns: Columns hidden at the start (by header).

Parameters

gridOptions ConsoleMonster.Interactive.GridOptions required
The instance.
items System.Collections.Generic.IEnumerable<string> required
The items, in order.

Returns

GridOptions The same instance.
AddHistory 6 overloads
public static TextQuestionOptions AddHistory(TextQuestionOptions textQuestionOptions, string item) #

Adds an item to TextQuestionOptions.History: Earlier single-line answers, oldest first; forbidden for secrets.

Parameters

textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions required
The instance.
item string required
The item.

Returns

TextQuestionOptions The same instance.
public static TextQuestionOptions AddHistory(TextQuestionOptions textQuestionOptions, params string[] items) #

Adds items to TextQuestionOptions.History: Earlier single-line answers, oldest first; forbidden for secrets.

Parameters

textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions required
The instance.
items string[] required
The items, in order.

Returns

TextQuestionOptions The same instance.
public static TextQuestionOptions AddHistory(TextQuestionOptions textQuestionOptions, IEnumerable<string> items) #

Adds items to TextQuestionOptions.History: Earlier single-line answers, oldest first; forbidden for secrets.

Parameters

textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions required
The instance.
items System.Collections.Generic.IEnumerable<string> required
The items, in order.

Returns

TextQuestionOptions The same instance.
public static TextPrompt AddHistory(TextPrompt textPrompt, string item) #

Adds an item to TextPrompt.History: Earlier answers offered with Up and Down (oldest first).

Parameters

textPrompt ConsoleMonster.Interactive.TextPrompt required
The instance.
item string required
The item.

Returns

TextPrompt The same instance.
public static TextPrompt AddHistory(TextPrompt textPrompt, params string[] items) #

Adds items to TextPrompt.History: Earlier answers offered with Up and Down (oldest first).

Parameters

textPrompt ConsoleMonster.Interactive.TextPrompt required
The instance.
items string[] required
The items, in order.

Returns

TextPrompt The same instance.
public static TextPrompt AddHistory(TextPrompt textPrompt, IEnumerable<string> items) #

Adds items to TextPrompt.History: Earlier answers offered with Up and Down (oldest first).

Parameters

textPrompt ConsoleMonster.Interactive.TextPrompt required
The instance.
items System.Collections.Generic.IEnumerable<string> required
The items, in order.

Returns

TextPrompt The same instance.
public static Menu AddItem(Menu menu, MenuItem item) #

Adds an item to Menu.Items: The items.

Parameters

menu ConsoleMonster.Interactive.Menu required
The instance.
item ConsoleMonster.Interactive.MenuItem required
The item.

Returns

Menu The same instance.
AddItems 2 overloads
public static Menu AddItems(Menu menu, params MenuItem[] items) #

Adds items to Menu.Items: The items.

Parameters

menu ConsoleMonster.Interactive.Menu required
The instance.
items ConsoleMonster.Interactive.MenuItem[] required
The items, in order.

Returns

Menu The same instance.
public static Menu AddItems(Menu menu, IEnumerable<MenuItem> items) #

Adds items to Menu.Items: The items.

Parameters

menu ConsoleMonster.Interactive.Menu required
The instance.
items System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.MenuItem> required
The items, in order.

Returns

Menu The same instance.
public static Menu AddKeyBinding(Menu menu, KeyBinding item) #

Adds an item to Menu.KeyBindings: App-wide key bindings (shown in the key map and, by priority, in the footer).

Parameters

menu ConsoleMonster.Interactive.Menu required
The instance.
item ConsoleMonster.Interactive.KeyBinding required
The item.

Returns

Menu The same instance.
AddKeyBindings 2 overloads
public static Menu AddKeyBindings(Menu menu, params KeyBinding[] items) #

Adds items to Menu.KeyBindings: App-wide key bindings (shown in the key map and, by priority, in the footer).

Parameters

menu ConsoleMonster.Interactive.Menu required
The instance.
items ConsoleMonster.Interactive.KeyBinding[] required
The items, in order.

Returns

Menu The same instance.
public static Menu AddKeyBindings(Menu menu, IEnumerable<KeyBinding> items) #

Adds items to Menu.KeyBindings: App-wide key bindings (shown in the key map and, by priority, in the footer).

Parameters

menu ConsoleMonster.Interactive.Menu required
The instance.
items System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.KeyBinding> required
The items, in order.

Returns

Menu The same instance.
public static MenuRunResult AddNextAction(MenuRunResult menuRunResult, MenuItem item) #

Adds an item to MenuRunResult.NextActions: Actions offered next ("Open report", "Run failed again", "Export").

Parameters

menuRunResult ConsoleMonster.Interactive.MenuRunResult required
The instance.
item ConsoleMonster.Interactive.MenuItem required
The item.

Returns

MenuRunResult The same instance.
AddNextActions 2 overloads
public static MenuRunResult AddNextActions(MenuRunResult menuRunResult, params MenuItem[] items) #

Adds items to MenuRunResult.NextActions: Actions offered next ("Open report", "Run failed again", "Export").

Parameters

menuRunResult ConsoleMonster.Interactive.MenuRunResult required
The instance.
items ConsoleMonster.Interactive.MenuItem[] required
The items, in order.

Returns

MenuRunResult The same instance.
public static MenuRunResult AddNextActions(MenuRunResult menuRunResult, IEnumerable<MenuItem> items) #

Adds items to MenuRunResult.NextActions: Actions offered next ("Open report", "Run failed again", "Export").

Parameters

menuRunResult ConsoleMonster.Interactive.MenuRunResult required
The instance.
items System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.MenuItem> required
The items, in order.

Returns

MenuRunResult The same instance.
public static Form AddPage(Form form, FormPage item) #

Adds an item to Form.Pages: The pages, in order.

Parameters

form ConsoleMonster.Interactive.Form required
The instance.
item ConsoleMonster.Interactive.FormPage required
The item.

Returns

Form The same instance.
AddPages 2 overloads
public static Form AddPages(Form form, params FormPage[] items) #

Adds items to Form.Pages: The pages, in order.

Parameters

form ConsoleMonster.Interactive.Form required
The instance.
items ConsoleMonster.Interactive.FormPage[] required
The items, in order.

Returns

Form The same instance.
public static Form AddPages(Form form, IEnumerable<FormPage> items) #

Adds items to Form.Pages: The pages, in order.

Parameters

form ConsoleMonster.Interactive.Form required
The instance.
items System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.FormPage> required
The items, in order.

Returns

Form The same instance.
AddPreset 2 overloads
public static Form AddPreset(Form form, FormPreset item) #

Adds an item to Form.Presets: The presets the form comes with: listed before the presets people save, marked as built in, never overwritten or deleted, and applied the same way (by FormOptions.Preset or the menu's command palette). A saved preset whose name matches a built-in one (ignoring case) is hidden.

Parameters

form ConsoleMonster.Interactive.Form required
The instance.
item ConsoleMonster.Interactive.FormPreset required
The item.

Returns

Form The same instance.
public static Menu AddPreset(Menu menu, MenuPreset item) #

Adds an item to Menu.Presets: The presets the app comes with (declared on the root menu): a MenuItem.Presets item lists them before the presets people save, marked as built in; they cannot be overwritten or deleted. A saved preset whose name matches a built-in one (ignoring case) is hidden.

Parameters

menu ConsoleMonster.Interactive.Menu required
The instance.
item ConsoleMonster.Interactive.MenuPreset required
The item.

Returns

Menu The same instance.
AddPresets 4 overloads
public static Form AddPresets(Form form, params FormPreset[] items) #

Adds items to Form.Presets: The presets the form comes with: listed before the presets people save, marked as built in, never overwritten or deleted, and applied the same way (by FormOptions.Preset or the menu's command palette). A saved preset whose name matches a built-in one (ignoring case) is hidden.

Parameters

form ConsoleMonster.Interactive.Form required
The instance.
items ConsoleMonster.Interactive.FormPreset[] required
The items, in order.

Returns

Form The same instance.
public static Form AddPresets(Form form, IEnumerable<FormPreset> items) #

Adds items to Form.Presets: The presets the form comes with: listed before the presets people save, marked as built in, never overwritten or deleted, and applied the same way (by FormOptions.Preset or the menu's command palette). A saved preset whose name matches a built-in one (ignoring case) is hidden.

Parameters

form ConsoleMonster.Interactive.Form required
The instance.
items System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.FormPreset> required
The items, in order.

Returns

Form The same instance.
public static Menu AddPresets(Menu menu, params MenuPreset[] items) #

Adds items to Menu.Presets: The presets the app comes with (declared on the root menu): a MenuItem.Presets item lists them before the presets people save, marked as built in; they cannot be overwritten or deleted. A saved preset whose name matches a built-in one (ignoring case) is hidden.

Parameters

menu ConsoleMonster.Interactive.Menu required
The instance.
items ConsoleMonster.Interactive.MenuPreset[] required
The items, in order.

Returns

Menu The same instance.
public static Menu AddPresets(Menu menu, IEnumerable<MenuPreset> items) #

Adds items to Menu.Presets: The presets the app comes with (declared on the root menu): a MenuItem.Presets item lists them before the presets people save, marked as built in; they cannot be overwritten or deleted. A saved preset whose name matches a built-in one (ignoring case) is hidden.

Parameters

menu ConsoleMonster.Interactive.Menu required
The instance.
items System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.MenuPreset> required
The items, in order.

Returns

Menu The same instance.
public static ReviewModel AddProblem(ReviewModel reviewModel, string item) #

Adds an item to ReviewModel.Problems: Problems that block running ("Pick at least one target").

Parameters

reviewModel ConsoleMonster.Interactive.ReviewModel required
The instance.
item string required
The item.

Returns

ReviewModel The same instance.
AddProblems 2 overloads
public static ReviewModel AddProblems(ReviewModel reviewModel, params string[] items) #

Adds items to ReviewModel.Problems: Problems that block running ("Pick at least one target").

Parameters

reviewModel ConsoleMonster.Interactive.ReviewModel required
The instance.
items string[] required
The items, in order.

Returns

ReviewModel The same instance.
public static ReviewModel AddProblems(ReviewModel reviewModel, IEnumerable<string> items) #

Adds items to ReviewModel.Problems: Problems that block running ("Pick at least one target").

Parameters

reviewModel ConsoleMonster.Interactive.ReviewModel required
The instance.
items System.Collections.Generic.IEnumerable<string> required
The items, in order.

Returns

ReviewModel The same instance.
public static ReviewModel AddRow(ReviewModel reviewModel, KeyValuePair<string, string> item) #

Adds an item to ReviewModel.Rows: The choices as label/value rows.

Parameters

reviewModel ConsoleMonster.Interactive.ReviewModel required
The instance.
item System.Collections.Generic.KeyValuePair<string, string> required
The item.

Returns

ReviewModel The same instance.
AddRows 2 overloads
public static ReviewModel AddRows(ReviewModel reviewModel, params KeyValuePair<string, string>[] items) #

Adds items to ReviewModel.Rows: The choices as label/value rows.

Parameters

reviewModel ConsoleMonster.Interactive.ReviewModel required
The instance.
items System.Collections.Generic.KeyValuePair<string, string>[] required
The items, in order.

Returns

ReviewModel The same instance.
public static ReviewModel AddRows(ReviewModel reviewModel, IEnumerable<KeyValuePair<string, string>> items) #

Adds items to ReviewModel.Rows: The choices as label/value rows.

Parameters

reviewModel ConsoleMonster.Interactive.ReviewModel required
The instance.
items System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, string>> required
The items, in order.

Returns

ReviewModel The same instance.
AllowEmpty 2 overloads
public static TextQuestionOptions AllowEmpty(TextQuestionOptions textQuestionOptions, bool value) #

Sets TextQuestionOptions.AllowEmpty: Allows an empty secret; secrets are required by default.

Parameters

textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions required
The instance.
value bool required
The value.

Returns

TextQuestionOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::ConsoleMonster.Interactive.TextQuestionOptions { AllowEmpty = value };    Ui.TextQuestion().AllowEmpty(value);
public static TextQuestionOptions AllowEmpty(TextQuestionOptions textQuestionOptions) #

Sets TextQuestionOptions.AllowEmpty to true.

Parameters

textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions required
The instance to configure.

Returns

TextQuestionOptions The same instance.
AllowReveal 2 overloads
public static SecretPrompt AllowReveal(SecretPrompt secretPrompt, bool value) #

Sets SecretPrompt.AllowReveal: Whether Ctrl+R can reveal the typed text.

Parameters

secretPrompt ConsoleMonster.Interactive.SecretPrompt required
The instance.
value bool required
The value.

Returns

SecretPrompt The same instance.

Examples

// C# initializer or property        // C# fluent
secretPrompt.AllowReveal = value;    secretPrompt.AllowReveal(value);
public static SecretPrompt AllowReveal(SecretPrompt secretPrompt) #

Sets SecretPrompt.AllowReveal to true.

Parameters

secretPrompt ConsoleMonster.Interactive.SecretPrompt required
The instance to configure.

Returns

SecretPrompt The same instance.
public static PromptLabels AnswerYesNo(PromptLabels promptLabels, string value) #

Sets PromptLabels.AnswerYesNo: A yes/no answer was neither: {0} the yes key, {1} the no key.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { AnswerYesNo = value };    promptLabels.AnswerYesNo(value);
public static PromptLabels AnyKeyCloses(PromptLabels promptLabels, string value) #

Sets PromptLabels.AnyKeyCloses: The hint on dialogs that close on any key (the key map, action output).

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { AnyKeyCloses = value };    promptLabels.AnyKeyCloses(value);
public static PromptLabels AppCommands(PromptLabels promptLabels, string value) #

Sets PromptLabels.AppCommands: The palette group of app commands (home, keys, exit).

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { AppCommands = value };    promptLabels.AppCommands(value);
AppName 2 overloads
public static FormOptions AppName(FormOptions formOptions, string? value) #

Sets FormOptions.AppName: The app name presets and remembered choices are stored under; null disables both.

Parameters

formOptions ConsoleMonster.Interactive.FormOptions required
The instance.
value string? required
The value.

Returns

FormOptions The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::ConsoleMonster.Interactive.FormOptions { AppName = value };    formOptions.AppName(value);
public static MenuOptions AppName(MenuOptions menuOptions, string? value) #

Sets MenuOptions.AppName: The app name presets and remembered choices are stored under; null uses the menu title.

Parameters

menuOptions ConsoleMonster.Interactive.MenuOptions required
The instance.
value string? required
The value.

Returns

MenuOptions The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::ConsoleMonster.Interactive.MenuOptions { AppName = value };    menuOptions.AppName(value);
AsSecret 2 overloads
public static TextQuestionOptions AsSecret(TextQuestionOptions textQuestionOptions, bool value) #

Sets TextQuestionOptions.AsSecret: Uses the secret editor, without history or defaults.

Parameters

textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions required
The instance.
value bool required
The value.

Returns

TextQuestionOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.TextQuestionOptions { AsSecret = value };    Ui.TextQuestion().AsSecret(value);
public static TextQuestionOptions AsSecret(TextQuestionOptions textQuestionOptions) #

Sets TextQuestionOptions.AsSecret to true.

Parameters

textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions required
The instance to configure.

Returns

TextQuestionOptions The same instance.
public static PromptLabels Back(PromptLabels promptLabels, string value) #

Sets PromptLabels.Back: The back button.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Back = value };    promptLabels.Back(value);
Badge 2 overloads
public static Choice Badge(Choice choice, RichText? value) #

Sets Choice.Badge: Short right-aligned text: a count, a state, a tag ("new", "24 tasks").

Parameters

choice ConsoleMonster.Interactive.Choice required
The instance.
value ConsoleMonster.Text.RichText? required
The value.

Returns

Choice The same instance.

Examples

// C# initializer or property    // C# fluent
choice.Badge = value;            choice.Badge(value);
public static Choice Badge(Choice choice, Action<RichText> configure) #

Configures Choice.Badge in place: Short right-aligned text: a count, a state, a tag ("new", "24 tasks").

Parameters

choice ConsoleMonster.Interactive.Choice required
The instance.
configure System.Action<ConsoleMonster.Text.RichText> required
Configures the value.

Returns

Choice The same instance.
public static PathPrompt BasePath(PathPrompt pathPrompt, string? value) #

Sets PathPrompt.BasePath: The folder relative paths start from; null uses the current directory.

Parameters

pathPrompt ConsoleMonster.Interactive.PathPrompt required
The instance.
value string? required
The value.

Returns

PathPrompt The same instance.

Examples

// C# initializer or property    // C# fluent
pathPrompt.BasePath = value;     Ui.PathPrompt().BasePath(value);
public static PromptLabels BuiltIn(PromptLabels promptLabels, string value) #

Sets PromptLabels.BuiltIn: The mark of a preset the app comes with.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { BuiltIn = value };    promptLabels.BuiltIn(value);
public static AppHostKeys CancelAction(AppHostKeys appHostKeys, KeyChord? value) #

Sets AppHostKeys.CancelAction: Cancel the active operation before ordinary routing. Null uses Ctrl+C alone.

Parameters

appHostKeys ConsoleMonster.Interactive.AppHostKeys required
The instance.
value ConsoleMonster.Input.KeyChord? required
The value.

Returns

AppHostKeys The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ConsoleMonster.Interactive.AppHostKeys { CancelAction = value };    appHostKeys.CancelAction(value);
public static PromptLabels Canceled(PromptLabels promptLabels, string value) #

Sets PromptLabels.Canceled: A prompt was cancelled.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Canceled = value };    promptLabels.Canceled(value);
public static FormDialogOptions CancelText(FormDialogOptions formDialogOptions, string value) #

Sets FormDialogOptions.CancelText: The cancellation button label.

Parameters

formDialogOptions ConsoleMonster.Interactive.FormDialogOptions required
The instance.
value string required
The value.

Returns

FormDialogOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.FormDialogOptions { CancelText = value };    Ui.Dialog().CancelText(value);
public static LogViewport Capacity(LogViewport logViewport, int value) #

Sets LogViewport.Capacity: Maximum retained entries.

Parameters

logViewport ConsoleMonster.Interactive.LogViewport required
The instance.
value int required
The value.

Returns

LogViewport The same instance.

Examples

// C# initializer or property    // C# fluent
logViewport.Capacity = value;    logViewport.Capacity(value);
public static InteractiveOptions Capture(InteractiveOptions interactiveOptions, ScreenCapture? value) #

Sets InteractiveOptions.Capture: Where prompts draw in InteractionMode.Rich mode (tests use a recording surface). Null picks the right one: inline below the cursor, or an overlay over a running live dashboard.

Parameters

interactiveOptions ConsoleMonster.Interactive.InteractiveOptions required
The instance.
value ConsoleMonster.Interactive.ScreenCapture? required
The value.

Returns

InteractiveOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.InteractiveOptions { Capture = value };    interactiveOptions.Capture(value);
CaseSensitive 2 overloads
public static TypedConfirmPrompt CaseSensitive(TypedConfirmPrompt typedConfirmPrompt, bool value) #

Sets TypedConfirmPrompt.CaseSensitive: Whether case must match too.

Parameters

typedConfirmPrompt ConsoleMonster.Interactive.TypedConfirmPrompt required
The instance.
value bool required
The value.

Returns

TypedConfirmPrompt The same instance.

Examples

// C# initializer or property                // C# fluent
typedConfirmPrompt.CaseSensitive = value;    Ui.TypedConfirmPrompt().CaseSensitive(value);
public static TypedConfirmPrompt CaseSensitive(TypedConfirmPrompt typedConfirmPrompt) #

Sets TypedConfirmPrompt.CaseSensitive to true.

Parameters

typedConfirmPrompt ConsoleMonster.Interactive.TypedConfirmPrompt required
The instance to configure.

Returns

TypedConfirmPrompt The same instance.
Collapsed 2 overloads
public static SelectQuestionOptions Collapsed(SelectQuestionOptions selectQuestionOptions, bool value) #

Sets SelectQuestionOptions.Collapsed: Whether groups start collapsed; valid only with Multiple.

Parameters

selectQuestionOptions ConsoleMonster.Interactive.SelectQuestionOptions required
The instance.
value bool required
The value.

Returns

SelectQuestionOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::ConsoleMonster.Interactive.SelectQuestionOptions { Collapsed = value };    Ui.SelectQuestion().Collapsed(value);
public static SelectQuestionOptions Collapsed(SelectQuestionOptions selectQuestionOptions) #

Sets SelectQuestionOptions.Collapsed to true.

Parameters

selectQuestionOptions ConsoleMonster.Interactive.SelectQuestionOptions required
The instance to configure.

Returns

SelectQuestionOptions The same instance.
Collapsed``1 2 overloads
public static MultiSelectPrompt<T?> Collapsed<T>(MultiSelectPrompt<T?> multiSelectPrompt, bool value) #

Sets MultiSelectPrompt<T>.Collapsed: Starts with every group collapsed (long grouped lists).

Type Parameters

T

Parameters

multiSelectPrompt ConsoleMonster.Interactive.MultiSelectPrompt<T?> required
The instance.
value bool required
The value.

Returns

MultiSelectPrompt<T?> The same instance.

Examples

// C# initializer or property           // C# fluent
multiSelectPrompt.Collapsed = value;    multiSelectPrompt.Collapsed(value);
public static MultiSelectPrompt<T?> Collapsed<T>(MultiSelectPrompt<T?> multiSelectPrompt) #

Sets MultiSelectPrompt<T>.Collapsed to true.

Type Parameters

T

Parameters

multiSelectPrompt ConsoleMonster.Interactive.MultiSelectPrompt<T?> required
The instance to configure.

Returns

MultiSelectPrompt<T?> The same instance.
public static PromptLabels Columns(PromptLabels promptLabels, string value) #

Sets PromptLabels.Columns: The column chooser's title.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Columns = value };    promptLabels.Columns(value);
Command 5 overloads
public static Button Command(Button button, Action<AppCommand> configure) #

Configures Button.Command in place: The command invoked by the containing app, when this button was constructed from a command.

Parameters

button ConsoleMonster.Interactive.Button required
The instance.
configure System.Action<ConsoleMonster.Interactive.AppCommand> required
Configures the value.

Returns

Button The same instance.
public static ReviewModel Command(ReviewModel reviewModel, string? value) #

Sets ReviewModel.Command: The equivalent command line, or null.

Parameters

reviewModel ConsoleMonster.Interactive.ReviewModel required
The instance.
value string? required
The value.

Returns

ReviewModel The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::ConsoleMonster.Interactive.ReviewModel { Command = value };    Ui.Review().Command(value);
public static ButtonInputOptions Command(ButtonInputOptions buttonInputOptions, AppCommand? value) #

Sets ButtonInputOptions.Command: An in-app command shared with shortcuts and the palette. Mutually exclusive with OnClick.

Parameters

buttonInputOptions ConsoleMonster.Interactive.ButtonInputOptions required
The instance.
value ConsoleMonster.Interactive.AppCommand? required
The value.

Returns

ButtonInputOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.ButtonInputOptions { Command = value };    Ui.Button().Command(value);
public static ButtonInputOptions Command(ButtonInputOptions buttonInputOptions, Action<AppCommand> configure) #

Configures ButtonInputOptions.Command in place: An in-app command shared with shortcuts and the palette. Mutually exclusive with OnClick.

Parameters

buttonInputOptions ConsoleMonster.Interactive.ButtonInputOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.AppCommand> required
Configures the value.

Returns

ButtonInputOptions The same instance.
public static Form Command(Form form, string? value) #

Sets Form.Command: The command the equivalent command line starts with (Install-Toolbox, toolbox install).

Parameters

form ConsoleMonster.Interactive.Form required
The instance.
value string? required
The value.

Returns

Form The same instance.

Examples

// C# initializer or property    // C# fluent
form.Command = value;            Ui.Form().Command(value);
public static PromptLabels CommandCopied(PromptLabels promptLabels, string value) #

Sets PromptLabels.CommandCopied: The command was copied.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { CommandCopied = value };    promptLabels.CommandCopied(value);
CommandPalette 2 overloads
public static MenuOptions CommandPalette(MenuOptions menuOptions, bool value) #

Sets MenuOptions.CommandPalette: Whether the command palette is available.

Parameters

menuOptions ConsoleMonster.Interactive.MenuOptions required
The instance.
value bool required
The value.

Returns

MenuOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.MenuOptions { CommandPalette = value };    menuOptions.CommandPalette(value);
public static MenuOptions CommandPalette(MenuOptions menuOptions) #

Sets MenuOptions.CommandPalette to true.

Parameters

menuOptions ConsoleMonster.Interactive.MenuOptions required
The instance to configure.

Returns

MenuOptions The same instance.
public static SecretField CommandPlaceholder(SecretField secretField, string value) #

Sets SecretField.CommandPlaceholder: What stands in for the secret in the equivalent command (PowerShell: (Read-Host -AsSecureString)).

Parameters

secretField ConsoleMonster.Interactive.SecretField required
The instance.
value string required
The value.

Returns

SecretField The same instance.

Examples

// C# initializer or property              // C# fluent
secretField.CommandPlaceholder = value;    secretField.CommandPlaceholder(value);
public static PromptLabels Commands(PromptLabels promptLabels, string value) #

Sets PromptLabels.Commands: The command palette heading.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Commands = value };    promptLabels.Commands(value);
public static Form CommandStyle(Form form, CommandStyle value) #

Sets Form.CommandStyle: How the equivalent command line is written.

Parameters

form ConsoleMonster.Interactive.Form required
The instance.
value ConsoleMonster.Interactive.CommandStyle required
The value.

Returns

Form The same instance.

Examples

// C# initializer or property    // C# fluent
form.CommandStyle = value;       Ui.Form().CommandStyle(value);
Configure 23 overloads
public static DatePicker Configure(DatePicker datePicker, Action<DatePicker> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

datePicker ConsoleMonster.Interactive.DatePicker required
The instance.
configure System.Action<ConsoleMonster.Interactive.DatePicker> required
Assignments applied in order.

Returns

DatePicker The same instance.

Examples

// C# initializer or property      // C# fluent
datePicker.Unavailable = value;    datePicker.Configure(configured => configured.Unavailable = value);
public static MenuItem Configure(MenuItem menuItem, Action<MenuItem> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

menuItem ConsoleMonster.Interactive.MenuItem required
The instance.
configure System.Action<ConsoleMonster.Interactive.MenuItem> required
Assignments applied in order.

Returns

MenuItem The same instance.

Examples

// C# initializer or property    // C# fluent
menuItem.Badge = value;          Ui.MenuItem().Configure(configured => configured.Badge = value);
// C# initializer or property    // C# fluent
menuItem.Detail = value;         Ui.MenuItem().Configure(configured => configured.Detail = value);
// C# initializer or property       // C# fluent
menuItem.DisabledReason = value;    Ui.MenuItem().Configure(configured => configured.DisabledReason = value);
// C# initializer or property    // C# fluent
menuItem.Action = value;         Ui.MenuItem().Configure(configured => configured.Action = value);
// C# initializer or property    // C# fluent
menuItem.ActionAsync = value;    Ui.MenuItem().Configure(configured => configured.ActionAsync = value);
// C# initializer or property    // C# fluent
menuItem.OnSubmit = value;       Ui.MenuItem().Configure(configured => configured.OnSubmit = value);
// C# initializer or property    // C# fluent
menuItem.Page = value;           Ui.MenuItem().Configure(configured => configured.Page = value);
// C# initializer or property    // C# fluent
menuItem.Preview = value;        Ui.MenuItem().Configure(configured => configured.Preview = value);
// C# initializer or property    // C# fluent
menuItem.LoadChoices = value;    Ui.MenuItem().Configure(configured => configured.LoadChoices = value);
// C# initializer or property    // C# fluent
menuItem.Review = value;         Ui.MenuItem().Configure(configured => configured.Review = value);
// C# initializer or property    // C# fluent
menuItem.OnChange = value;       Ui.MenuItem().Configure(configured => configured.OnChange = value);
public static ReviewModel Configure(ReviewModel reviewModel, Action<ReviewModel> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

reviewModel ConsoleMonster.Interactive.ReviewModel required
The instance.
configure System.Action<ConsoleMonster.Interactive.ReviewModel> required
Assignments applied in order.

Returns

ReviewModel The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::ConsoleMonster.Interactive.ReviewModel { Run = value };    Ui.Review().Configure(configured => configured.Run = value);
public static SelectQuestionOptions Configure(SelectQuestionOptions selectQuestionOptions, Action<SelectQuestionOptions> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

selectQuestionOptions ConsoleMonster.Interactive.SelectQuestionOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.SelectQuestionOptions> required
Assignments applied in order.

Returns

SelectQuestionOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::ConsoleMonster.Interactive.SelectQuestionOptions { Preview = value };    Ui.SelectQuestion().Configure(configured => configured.Preview = value);
public static SelectInputOptions Configure(SelectInputOptions selectInputOptions, Action<SelectInputOptions> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

selectInputOptions ConsoleMonster.Interactive.SelectInputOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.SelectInputOptions> required
Assignments applied in order.

Returns

SelectInputOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ConsoleMonster.Interactive.SelectInputOptions { OnChange = value };    Ui.Select().Configure(configured => configured.OnChange = value);
public static TextInputOptions Configure(TextInputOptions textInputOptions, Action<TextInputOptions> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

textInputOptions ConsoleMonster.Interactive.TextInputOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.TextInputOptions> required
Assignments applied in order.

Returns

TextInputOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.TextInputOptions { OnChange = value };    Ui.TextInput().Configure(configured => configured.OnChange = value);
public static TextQuestionOptions Configure(TextQuestionOptions textQuestionOptions, Action<TextQuestionOptions> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.TextQuestionOptions> required
Assignments applied in order.

Returns

TextQuestionOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::ConsoleMonster.Interactive.TextQuestionOptions { Validator = value };    Ui.TextQuestion().Configure(configured => configured.Validator = value);
public static ConsoleAppOptions Configure(ConsoleAppOptions consoleAppOptions, Action<ConsoleAppOptions> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

consoleAppOptions ConsoleMonster.Interactive.ConsoleAppOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.ConsoleAppOptions> required
Assignments applied in order.

Returns

ConsoleAppOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::ConsoleMonster.Interactive.ConsoleAppOptions { HandleInput = value };    consoleAppOptions.Configure(configured => configured.HandleInput = value);
// C# initializer or property                                                      // C# fluent
new global::ConsoleMonster.Interactive.ConsoleAppOptions { Selection = value };    consoleAppOptions.Configure(configured => configured.Selection = value);
// C# initializer or property                                                          // C# fluent
new global::ConsoleMonster.Interactive.ConsoleAppOptions { ProcessEvents = value };    consoleAppOptions.Configure(configured => configured.ProcessEvents = value);
public static BindingOptions Configure(BindingOptions bindingOptions, Action<BindingOptions> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

bindingOptions ConsoleMonster.Interactive.BindingOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.BindingOptions> required
Assignments applied in order.

Returns

BindingOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ConsoleMonster.Interactive.BindingOptions { Content = value };    Ui.Binding().Configure(configured => configured.Content = value);
public static ButtonInputOptions Configure(ButtonInputOptions buttonInputOptions, Action<ButtonInputOptions> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

buttonInputOptions ConsoleMonster.Interactive.ButtonInputOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.ButtonInputOptions> required
Assignments applied in order.

Returns

ButtonInputOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.ButtonInputOptions { OnClick = value };    Ui.Button().Configure(configured => configured.OnClick = value);
// C# initializer or property                                                      // C# fluent
new global::ConsoleMonster.Interactive.ButtonInputOptions { OnChange = value };    Ui.Button().Configure(configured => configured.OnChange = value);
public static CommandOptions Configure(CommandOptions commandOptions, Action<CommandOptions> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

commandOptions ConsoleMonster.Interactive.CommandOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.CommandOptions> required
Assignments applied in order.

Returns

CommandOptions The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::ConsoleMonster.Interactive.CommandOptions { Action = value };    Ui.Command().Configure(configured => configured.Action = value);
public static DataGridInputOptions Configure(DataGridInputOptions dataGridInputOptions, Action<DataGridInputOptions> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

dataGridInputOptions ConsoleMonster.Interactive.DataGridInputOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.DataGridInputOptions> required
Assignments applied in order.

Returns

DataGridInputOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::ConsoleMonster.Interactive.DataGridInputOptions { OnChange = value };    Ui.DataGrid().Configure(configured => configured.OnChange = value);
public static DatePickerInputOptions Configure(DatePickerInputOptions datePickerInputOptions, Action<DatePickerInputOptions> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

datePickerInputOptions ConsoleMonster.Interactive.DatePickerInputOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.DatePickerInputOptions> required
Assignments applied in order.

Returns

DatePickerInputOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::ConsoleMonster.Interactive.DatePickerInputOptions { OnChange = value };    Ui.DatePicker().Configure(configured => configured.OnChange = value);
public static DateSelectionOptions Configure(DateSelectionOptions dateSelectionOptions, Action<DateSelectionOptions> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

dateSelectionOptions ConsoleMonster.Interactive.DateSelectionOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.DateSelectionOptions> required
Assignments applied in order.

Returns

DateSelectionOptions The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::ConsoleMonster.Interactive.DateSelectionOptions { Unavailable = value };    dateSelectionOptions.Configure(configured => configured.Unavailable = value);
public static FormDialogOptions Configure(FormDialogOptions formDialogOptions, Action<FormDialogOptions> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

formDialogOptions ConsoleMonster.Interactive.FormDialogOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.FormDialogOptions> required
Assignments applied in order.

Returns

FormDialogOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.FormDialogOptions { Validate = value };    Ui.Dialog().Configure(configured => configured.Validate = value);
public static ToggleInputOptions Configure(ToggleInputOptions toggleInputOptions, Action<ToggleInputOptions> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

toggleInputOptions ConsoleMonster.Interactive.ToggleInputOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.ToggleInputOptions> required
Assignments applied in order.

Returns

ToggleInputOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ConsoleMonster.Interactive.ToggleInputOptions { OnChange = value };    Ui.Toggle().Configure(configured => configured.OnChange = value);
public static TreeSelectInputOptions Configure(TreeSelectInputOptions treeSelectInputOptions, Action<TreeSelectInputOptions> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

treeSelectInputOptions ConsoleMonster.Interactive.TreeSelectInputOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.TreeSelectInputOptions> required
Assignments applied in order.

Returns

TreeSelectInputOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::ConsoleMonster.Interactive.TreeSelectInputOptions { OnChange = value };    Ui.TreeSelect().Configure(configured => configured.OnChange = value);
public static FormOptions Configure(FormOptions formOptions, Action<FormOptions> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

formOptions ConsoleMonster.Interactive.FormOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.FormOptions> required
Assignments applied in order.

Returns

FormOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.FormOptions { AfterSubmit = value };    formOptions.Configure(configured => configured.AfterSubmit = value);
public static GridOptions Configure(GridOptions gridOptions, Action<GridOptions> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

gridOptions ConsoleMonster.Interactive.GridOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.GridOptions> required
Assignments applied in order.

Returns

GridOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ConsoleMonster.Interactive.GridOptions { RefreshRow = value };    gridOptions.Configure(configured => configured.RefreshRow = value);
public static InteractiveOptions Configure(InteractiveOptions interactiveOptions, Action<InteractiveOptions> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

interactiveOptions ConsoleMonster.Interactive.InteractiveOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.InteractiveOptions> required
Assignments applied in order.

Returns

InteractiveOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::ConsoleMonster.Interactive.InteractiveOptions { ActionClock = value };    interactiveOptions.Configure(configured => configured.ActionClock = value);
public static NumberPrompt Configure(NumberPrompt numberPrompt, Action<NumberPrompt> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

numberPrompt ConsoleMonster.Interactive.NumberPrompt required
The instance.
configure System.Action<ConsoleMonster.Interactive.NumberPrompt> required
Assignments applied in order.

Returns

NumberPrompt The same instance.

Examples

// C# initializer or property      // C# fluent
numberPrompt.Validator = value;    Ui.NumberPrompt().Configure(configured => configured.Validator = value);
public static SecretPrompt Configure(SecretPrompt secretPrompt, Action<SecretPrompt> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

secretPrompt ConsoleMonster.Interactive.SecretPrompt required
The instance.
configure System.Action<ConsoleMonster.Interactive.SecretPrompt> required
Assignments applied in order.

Returns

SecretPrompt The same instance.

Examples

// C# initializer or property      // C# fluent
secretPrompt.Validator = value;    secretPrompt.Configure(configured => configured.Validator = value);
public static TextPrompt Configure(TextPrompt textPrompt, Action<TextPrompt> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

textPrompt ConsoleMonster.Interactive.TextPrompt required
The instance.
configure System.Action<ConsoleMonster.Interactive.TextPrompt> required
Assignments applied in order.

Returns

TextPrompt The same instance.

Examples

// C# initializer or property    // C# fluent
textPrompt.Validator = value;    textPrompt.Configure(configured => configured.Validator = value);
Configure``1 3 overloads
public static MultiSelectPrompt<T?> Configure<T>(MultiSelectPrompt<T?> multiSelectPrompt, Action<MultiSelectPrompt<T?>> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Type Parameters

T

Parameters

multiSelectPrompt ConsoleMonster.Interactive.MultiSelectPrompt<T?> required
The instance.
configure System.Action<ConsoleMonster.Interactive.MultiSelectPrompt<T?>> required
Assignments applied in order.

Returns

MultiSelectPrompt<T?> The same instance.

Examples

// C# initializer or property         // C# fluent
multiSelectPrompt.Preview = value;    multiSelectPrompt.Configure(configured => configured.Preview = value);
// C# initializer or property             // C# fluent
multiSelectPrompt.PreviewText = value;    multiSelectPrompt.Configure(configured => configured.PreviewText = value);
public static SelectPrompt<T?> Configure<T>(SelectPrompt<T?> selectPrompt, Action<SelectPrompt<T?>> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Type Parameters

T

Parameters

selectPrompt ConsoleMonster.Interactive.SelectPrompt<T?> required
The instance.
configure System.Action<ConsoleMonster.Interactive.SelectPrompt<T?>> required
Assignments applied in order.

Returns

SelectPrompt<T?> The same instance.

Examples

// C# initializer or property    // C# fluent
selectPrompt.Preview = value;    selectPrompt.Configure(configured => configured.Preview = value);
// C# initializer or property        // C# fluent
selectPrompt.PreviewText = value;    selectPrompt.Configure(configured => configured.PreviewText = value);
public static TSelf Configure<TSelf>(TSelf field, Action<TSelf> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Type Parameters

TSelf

Parameters

field TSelf required
The instance.
configure System.Action<TSelf> required
Assignments applied in order.

Returns

TSelf The same instance.

Examples

// C# initializer or property    // C# fluent
@field.VisibleWhen = value;      @field.Configure(configured => configured.VisibleWhen = value);
// C# initializer or property    // C# fluent
@field.Validator = value;        @field.Configure(configured => configured.Validator = value);
ConfirmExit 2 overloads
public static MenuOptions ConfirmExit(MenuOptions menuOptions, bool value) #

Sets MenuOptions.ConfirmExit: Whether leaving with unsaved changes asks first.

Parameters

menuOptions ConsoleMonster.Interactive.MenuOptions required
The instance.
value bool required
The value.

Returns

MenuOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.MenuOptions { ConfirmExit = value };    menuOptions.ConfirmExit(value);
public static MenuOptions ConfirmExit(MenuOptions menuOptions) #

Sets MenuOptions.ConfirmExit to true.

Parameters

menuOptions ConsoleMonster.Interactive.MenuOptions required
The instance to configure.

Returns

MenuOptions The same instance.
ConfirmPrompt 2 overloads
public static CommandOptions ConfirmPrompt(CommandOptions commandOptions, string? value) #

Sets CommandOptions.ConfirmPrompt: The optional confirmation prompt.

Parameters

commandOptions ConsoleMonster.Interactive.CommandOptions required
The instance.
value string? required
The value.

Returns

CommandOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.CommandOptions { ConfirmPrompt = value };    Ui.Command().ConfirmPrompt(value);
public static AppCommand ConfirmPrompt(AppCommand appCommand, string? value) #

Sets AppCommand.ConfirmPrompt: Optional modal confirmation text. {Selection} expands to the captured row label or row count. Its default answer is No.

Parameters

appCommand ConsoleMonster.Interactive.AppCommand required
The instance.
value string? required
The value.

Returns

AppCommand The same instance.

Examples

// C# initializer or property        // C# fluent
appCommand.ConfirmPrompt = value;    appCommand.ConfirmPrompt(value);
Content 4 overloads
public static FormDialogOptions Content(FormDialogOptions formDialogOptions, IWidget content) #

Configures this container's content before session ownership.

Parameters

formDialogOptions ConsoleMonster.Interactive.FormDialogOptions required
The instance.
content ConsoleMonster.Layout.IWidget required
The widget or nested content builder.

Returns

FormDialogOptions The same instance.
public static FormDialogOptions Content(FormDialogOptions formDialogOptions, Action<ContentBuilder> content) #

Configures this container's content before session ownership.

Parameters

formDialogOptions ConsoleMonster.Interactive.FormDialogOptions required
The instance.
content System.Action<ConsoleMonster.Layout.ContentBuilder> required
The widget or nested content builder.

Returns

FormDialogOptions The same instance.
public static TabOptions Content(TabOptions tabOptions, IWidget content) #

Configures this container's content before session ownership.

Parameters

tabOptions ConsoleMonster.Interactive.TabOptions required
The instance.
content ConsoleMonster.Layout.IWidget required
The widget or nested content builder.

Returns

TabOptions The same instance.
public static TabOptions Content(TabOptions tabOptions, Action<ContentBuilder> content) #

Configures this container's content before session ownership.

Parameters

tabOptions ConsoleMonster.Interactive.TabOptions required
The instance.
content System.Action<ConsoleMonster.Layout.ContentBuilder> required
The widget or nested content builder.

Returns

TabOptions The same instance.
public static PromptLabels CopyCommand(PromptLabels promptLabels, string value) #

Sets PromptLabels.CopyCommand: The copy-command button.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { CopyCommand = value };    promptLabels.CopyCommand(value);
public static PromptLabels CopyFailed(PromptLabels promptLabels, string value) #

Sets PromptLabels.CopyFailed: The clipboard could not be reached.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { CopyFailed = value };    promptLabels.CopyFailed(value);
Culture 3 overloads
public static DatePicker Culture(DatePicker datePicker, CultureInfo? value) #

Sets DatePicker.Culture: The display culture; arithmetic remains Gregorian.

Parameters

datePicker ConsoleMonster.Interactive.DatePicker required
The instance.
value System.Globalization.CultureInfo? required
The value.

Returns

DatePicker The same instance.

Examples

// C# initializer or property    // C# fluent
datePicker.Culture = value;      datePicker.Culture(value);
public static DateSelectionOptions Culture(DateSelectionOptions dateSelectionOptions, CultureInfo? value) #

Sets DateSelectionOptions.Culture: Display and line-entry culture.

Parameters

dateSelectionOptions ConsoleMonster.Interactive.DateSelectionOptions required
The instance.
value System.Globalization.CultureInfo? required
The value.

Returns

DateSelectionOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.DateSelectionOptions { Culture = value };    dateSelectionOptions.Culture(value);
public static NumberPrompt Culture(NumberPrompt numberPrompt, CultureInfo? value) #

Sets NumberPrompt.Culture: The culture that parses and formats the number; null uses the current culture.

Parameters

numberPrompt ConsoleMonster.Interactive.NumberPrompt required
The instance.
value System.Globalization.CultureInfo? required
The value.

Returns

NumberPrompt The same instance.

Examples

// C# initializer or property    // C# fluent
numberPrompt.Culture = value;    Ui.NumberPrompt().Culture(value);
public static MenuItem CurrentBadge(MenuItem menuItem, Action<RichText> configure) #

Configures MenuItem.CurrentBadge in place: The badge now.

Parameters

menuItem ConsoleMonster.Interactive.MenuItem required
The instance.
configure System.Action<ConsoleMonster.Text.RichText> required
Configures the value.

Returns

MenuItem The same instance.
public static DataGrid CurrentRow(DataGrid dataGrid, Action<GridRow> configure) #

Configures DataGrid.CurrentRow in place: The focused source row, or null for an empty view.

Parameters

dataGrid ConsoleMonster.Interactive.DataGrid required
The instance.
configure System.Action<ConsoleMonster.Interactive.GridRow> required
Configures the value.

Returns

DataGrid The same instance.
public static DataGrid Cursor(DataGrid dataGrid, int value) #

Sets DataGrid.Cursor: The focused visible row index.

Parameters

dataGrid ConsoleMonster.Interactive.DataGrid required
The instance.
value int required
The value.

Returns

DataGrid The same instance.

Examples

// C# initializer or property    // C# fluent
dataGrid.Cursor = value;         dataGrid.Cursor(value);
Data 2 overloads
public static DatePicker Data(DatePicker datePicker, CalendarData value) #

Sets DatePicker.Data: The shared immutable status/label model.

Parameters

datePicker ConsoleMonster.Interactive.DatePicker required
The instance.
value ConsoleMonster.Dates.CalendarData required
The value.

Returns

DatePicker The same instance.

Examples

// C# initializer or property    // C# fluent
datePicker.Data = value;         datePicker.Data(value);
public static DateSelectionOptions Data(DateSelectionOptions dateSelectionOptions, CalendarData value) #

Sets DateSelectionOptions.Data: Grouped status marks and labels.

Parameters

dateSelectionOptions ConsoleMonster.Interactive.DateSelectionOptions required
The instance.
value ConsoleMonster.Dates.CalendarData required
The value.

Returns

DateSelectionOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.DateSelectionOptions { Data = value };    dateSelectionOptions.Data(value);
Default 18 overloads
public static SelectQuestionOptions Default(SelectQuestionOptions selectQuestionOptions, object? value) #

Sets SelectQuestionOptions.Default: The default scalar or collection. Omission differs from an explicitly empty selection.

Parameters

selectQuestionOptions ConsoleMonster.Interactive.SelectQuestionOptions required
The instance.
value object? required
The value.

Returns

SelectQuestionOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::ConsoleMonster.Interactive.SelectQuestionOptions { Default = value };    Ui.SelectQuestion().Default(value);
public static TextQuestionOptions Default(TextQuestionOptions textQuestionOptions, string? value) #

Sets TextQuestionOptions.Default: The default answer; setting null still explicitly supplies a default.

Parameters

textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions required
The instance.
value string? required
The value.

Returns

TextQuestionOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ConsoleMonster.Interactive.TextQuestionOptions { Default = value };    Ui.TextQuestion().Default(value);
public static ConfirmPrompt Default(ConfirmPrompt confirmPrompt, bool value) #

Sets Prompt<bool>.Default: The default answer: pre-selected, accepted with Enter, and returned in non-interactive sessions.

Parameters

confirmPrompt ConsoleMonster.Interactive.ConfirmPrompt required
The instance.
value bool required
The value.

Returns

ConfirmPrompt The same instance.

Examples

// C# initializer or property     // C# fluent
confirmPrompt.Default = value;    Ui.ConfirmPrompt().Default(value);
public static ConfirmPrompt Default(ConfirmPrompt confirmPrompt) #

Sets Prompt<bool>.Default to true.

Parameters

confirmPrompt ConsoleMonster.Interactive.ConfirmPrompt required
The instance to configure.

Returns

ConfirmPrompt The same instance.
public static DatePrompt Default(DatePrompt datePrompt, object value) #

Sets Prompt<object>.Default: The default answer: pre-selected, accepted with Enter, and returned in non-interactive sessions.

Parameters

datePrompt ConsoleMonster.Interactive.DatePrompt required
The instance.
value object required
The value.

Returns

DatePrompt The same instance.

Examples

// C# initializer or property    // C# fluent
datePrompt.Default = value;      Ui.DatePrompt().Default(value);
public static NumberPrompt Default(NumberPrompt numberPrompt, decimal value) #

Sets Prompt<decimal>.Default: The default answer: pre-selected, accepted with Enter, and returned in non-interactive sessions.

Parameters

numberPrompt ConsoleMonster.Interactive.NumberPrompt required
The instance.
value decimal required
The value.

Returns

NumberPrompt The same instance.

Examples

// C# initializer or property    // C# fluent
numberPrompt.Default = value;    Ui.NumberPrompt().Default(value);
public static PathPrompt Default(PathPrompt pathPrompt, string value) #

Sets Prompt<string>.Default: The default answer: pre-selected, accepted with Enter, and returned in non-interactive sessions.

Parameters

pathPrompt ConsoleMonster.Interactive.PathPrompt required
The instance.
value string required
The value.

Returns

PathPrompt The same instance.

Examples

// C# initializer or property    // C# fluent
pathPrompt.Default = value;      Ui.PathPrompt().Default(value);
public static SecretPrompt Default(SecretPrompt secretPrompt, string value) #

Sets Prompt<string>.Default: The default answer: pre-selected, accepted with Enter, and returned in non-interactive sessions.

Parameters

secretPrompt ConsoleMonster.Interactive.SecretPrompt required
The instance.
value string required
The value.

Returns

SecretPrompt The same instance.

Examples

// C# initializer or property    // C# fluent
secretPrompt.Default = value;    secretPrompt.Default(value);
public static TextPrompt Default(TextPrompt textPrompt, string value) #

Sets Prompt<string>.Default: The default answer: pre-selected, accepted with Enter, and returned in non-interactive sessions.

Parameters

textPrompt ConsoleMonster.Interactive.TextPrompt required
The instance.
value string required
The value.

Returns

TextPrompt The same instance.

Examples

// C# initializer or property    // C# fluent
textPrompt.Default = value;      textPrompt.Default(value);
public static TypedConfirmPrompt Default(TypedConfirmPrompt typedConfirmPrompt, bool value) #

Sets Prompt<bool>.Default: The default answer: pre-selected, accepted with Enter, and returned in non-interactive sessions.

Parameters

typedConfirmPrompt ConsoleMonster.Interactive.TypedConfirmPrompt required
The instance.
value bool required
The value.

Returns

TypedConfirmPrompt The same instance.

Examples

// C# initializer or property          // C# fluent
typedConfirmPrompt.Default = value;    Ui.TypedConfirmPrompt().Default(value);
public static TypedConfirmPrompt Default(TypedConfirmPrompt typedConfirmPrompt) #

Sets Prompt<bool>.Default to true.

Parameters

typedConfirmPrompt ConsoleMonster.Interactive.TypedConfirmPrompt required
The instance to configure.

Returns

TypedConfirmPrompt The same instance.
public static ChoiceField Default(ChoiceField choiceField, object? value) #

Sets Field.Default: The declared default: the starting value until a value is set, and values equal to it are left out of the equivalent command.

Parameters

choiceField ConsoleMonster.Interactive.ChoiceField required
The instance.
value object? required
The value.

Returns

ChoiceField The same instance.

Examples

// C# initializer or property    // C# fluent
choiceField.Default = value;     choiceField.Default(value);
public static NumberField Default(NumberField numberField, object? value) #

Sets Field.Default: The declared default: the starting value until a value is set, and values equal to it are left out of the equivalent command.

Parameters

numberField ConsoleMonster.Interactive.NumberField required
The instance.
value object? required
The value.

Returns

NumberField The same instance.

Examples

// C# initializer or property    // C# fluent
numberField.Default = value;     numberField.Default(value);
public static PathField Default(PathField pathField, object? value) #

Sets Field.Default: The declared default: the starting value until a value is set, and values equal to it are left out of the equivalent command.

Parameters

pathField ConsoleMonster.Interactive.PathField required
The instance.
value object? required
The value.

Returns

PathField The same instance.

Examples

// C# initializer or property    // C# fluent
pathField.Default = value;       pathField.Default(value);
public static SecretField Default(SecretField secretField, object? value) #

Sets Field.Default: The declared default: the starting value until a value is set, and values equal to it are left out of the equivalent command.

Parameters

secretField ConsoleMonster.Interactive.SecretField required
The instance.
value object? required
The value.

Returns

SecretField The same instance.

Examples

// C# initializer or property    // C# fluent
secretField.Default = value;     secretField.Default(value);
public static TextAreaField Default(TextAreaField textAreaField, object? value) #

Sets Field.Default: The declared default: the starting value until a value is set, and values equal to it are left out of the equivalent command.

Parameters

textAreaField ConsoleMonster.Interactive.TextAreaField required
The instance.
value object? required
The value.

Returns

TextAreaField The same instance.

Examples

// C# initializer or property     // C# fluent
textAreaField.Default = value;    textAreaField.Default(value);
public static TextField Default(TextField textField, object? value) #

Sets Field.Default: The declared default: the starting value until a value is set, and values equal to it are left out of the equivalent command.

Parameters

textField ConsoleMonster.Interactive.TextField required
The instance.
value object? required
The value.

Returns

TextField The same instance.

Examples

// C# initializer or property    // C# fluent
textField.Default = value;       textField.Default(value);
public static ToggleField Default(ToggleField toggleField, object? value) #

Sets Field.Default: The declared default: the starting value until a value is set, and values equal to it are left out of the equivalent command.

Parameters

toggleField ConsoleMonster.Interactive.ToggleField required
The instance.
value object? required
The value.

Returns

ToggleField The same instance.

Examples

// C# initializer or property    // C# fluent
toggleField.Default = value;     toggleField.Default(value);
DefaultAccept 2 overloads
public static FormDialogOptions DefaultAccept(FormDialogOptions formDialogOptions, bool value) #

Sets FormDialogOptions.DefaultAccept: Whether the affirmative button is initially focused. The default is Cancel.

Parameters

formDialogOptions ConsoleMonster.Interactive.FormDialogOptions required
The instance.
value bool required
The value.

Returns

FormDialogOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::ConsoleMonster.Interactive.FormDialogOptions { DefaultAccept = value };    Ui.Dialog().DefaultAccept(value);
public static FormDialogOptions DefaultAccept(FormDialogOptions formDialogOptions) #

Sets FormDialogOptions.DefaultAccept to true.

Parameters

formDialogOptions ConsoleMonster.Interactive.FormDialogOptions required
The instance to configure.

Returns

FormDialogOptions The same instance.
public static PromptLabels DefaultHint(PromptLabels promptLabels, string value) #

Sets PromptLabels.DefaultHint: Accessible mode: default value hint: {0}.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { DefaultHint = value };    promptLabels.DefaultHint(value);
Default``1 3 overloads
public static MultiSelectPrompt<T?> Default<T>(MultiSelectPrompt<T?> multiSelectPrompt, IReadOnlyList<T?> value) #

Sets Prompt<IReadOnlyList<`0>>.Default: The default answer: pre-selected, accepted with Enter, and returned in non-interactive sessions.

Type Parameters

T

Parameters

multiSelectPrompt ConsoleMonster.Interactive.MultiSelectPrompt<T?> required
The instance.
value System.Collections.Generic.IReadOnlyList<T?> required
The value.

Returns

MultiSelectPrompt<T?> The same instance.

Examples

// C# initializer or property         // C# fluent
multiSelectPrompt.Default = value;    multiSelectPrompt.Default(value);
public static SelectPrompt<T?> Default<T>(SelectPrompt<T?> selectPrompt, T? value) #

Sets Prompt<`0>.Default: The default answer: pre-selected, accepted with Enter, and returned in non-interactive sessions.

Type Parameters

T

Parameters

selectPrompt ConsoleMonster.Interactive.SelectPrompt<T?> required
The instance.
value T? required
The value.

Returns

SelectPrompt<T?> The same instance.

Examples

// C# initializer or property    // C# fluent
selectPrompt.Default = value;    selectPrompt.Default(value);
public static TSelf Default<TSelf>(TSelf field, object? value) #

Sets Field.Default: The declared default: the starting value until a value is set, and values equal to it are left out of the equivalent command.

Type Parameters

TSelf

Parameters

field TSelf required
The instance.
value object? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property    // C# fluent
@field.Default = value;          @field.Default(value);
Description 17 overloads
public static MenuItem Description(MenuItem menuItem, string? value) #

Sets MenuItem.Description: A sentence shown with the item.

Parameters

menuItem ConsoleMonster.Interactive.MenuItem required
The instance.
value string? required
The value.

Returns

MenuItem The same instance.

Examples

// C# initializer or property    // C# fluent
menuItem.Description = value;    Ui.MenuItem().Description(value);
public static ReviewModel Description(ReviewModel reviewModel, string? value) #

Sets ReviewModel.Description: A sentence under the heading.

Parameters

reviewModel ConsoleMonster.Interactive.ReviewModel required
The instance.
value string? required
The value.

Returns

ReviewModel The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.ReviewModel { Description = value };    Ui.Review().Description(value);
public static FormPreset Description(FormPreset formPreset, string? value) #

Sets FormPreset.Description: A sentence about the preset, shown with it, or null.

Parameters

formPreset ConsoleMonster.Interactive.FormPreset required
The instance.
value string? required
The value.

Returns

FormPreset The same instance.

Examples

// C# initializer or property      // C# fluent
formPreset.Description = value;    formPreset.Description(value);
public static MenuPreset Description(MenuPreset menuPreset, string? value) #

Sets MenuPreset.Description: A sentence about the preset, shown while it has focus in the list, or null.

Parameters

menuPreset ConsoleMonster.Interactive.MenuPreset required
The instance.
value string? required
The value.

Returns

MenuPreset The same instance.

Examples

// C# initializer or property      // C# fluent
menuPreset.Description = value;    menuPreset.Description(value);
public static SelectQuestionOptions Description(SelectQuestionOptions selectQuestionOptions, string? value) #

Sets SelectQuestionOptions.Description: Help text below the question.

Parameters

selectQuestionOptions ConsoleMonster.Interactive.SelectQuestionOptions required
The instance.
value string? required
The value.

Returns

SelectQuestionOptions The same instance.

Examples

// C# initializer or property                                                            // C# fluent
new global::ConsoleMonster.Interactive.SelectQuestionOptions { Description = value };    Ui.SelectQuestion().Description(value);
public static TextQuestionOptions Description(TextQuestionOptions textQuestionOptions, string? value) #

Sets TextQuestionOptions.Description: Help text below the question.

Parameters

textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions required
The instance.
value string? required
The value.

Returns

TextQuestionOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::ConsoleMonster.Interactive.TextQuestionOptions { Description = value };    Ui.TextQuestion().Description(value);
public static ConfirmPrompt Description(ConfirmPrompt confirmPrompt, string? value) #

Sets Prompt<bool>.Description: Help text under the question.

Parameters

confirmPrompt ConsoleMonster.Interactive.ConfirmPrompt required
The instance.
value string? required
The value.

Returns

ConfirmPrompt The same instance.

Examples

// C# initializer or property         // C# fluent
confirmPrompt.Description = value;    Ui.ConfirmPrompt().Description(value);
public static DatePrompt Description(DatePrompt datePrompt, string? value) #

Sets Prompt<object>.Description: Help text under the question.

Parameters

datePrompt ConsoleMonster.Interactive.DatePrompt required
The instance.
value string? required
The value.

Returns

DatePrompt The same instance.

Examples

// C# initializer or property      // C# fluent
datePrompt.Description = value;    Ui.DatePrompt().Description(value);
public static NumberPrompt Description(NumberPrompt numberPrompt, string? value) #

Sets Prompt<decimal>.Description: Help text under the question.

Parameters

numberPrompt ConsoleMonster.Interactive.NumberPrompt required
The instance.
value string? required
The value.

Returns

NumberPrompt The same instance.

Examples

// C# initializer or property        // C# fluent
numberPrompt.Description = value;    Ui.NumberPrompt().Description(value);
public static PathPrompt Description(PathPrompt pathPrompt, string? value) #

Sets Prompt<string>.Description: Help text under the question.

Parameters

pathPrompt ConsoleMonster.Interactive.PathPrompt required
The instance.
value string? required
The value.

Returns

PathPrompt The same instance.

Examples

// C# initializer or property      // C# fluent
pathPrompt.Description = value;    Ui.PathPrompt().Description(value);
public static SecretPrompt Description(SecretPrompt secretPrompt, string? value) #

Sets Prompt<string>.Description: Help text under the question.

Parameters

secretPrompt ConsoleMonster.Interactive.SecretPrompt required
The instance.
value string? required
The value.

Returns

SecretPrompt The same instance.

Examples

// C# initializer or property        // C# fluent
secretPrompt.Description = value;    secretPrompt.Description(value);
public static TextPrompt Description(TextPrompt textPrompt, string? value) #

Sets Prompt<string>.Description: Help text under the question.

Parameters

textPrompt ConsoleMonster.Interactive.TextPrompt required
The instance.
value string? required
The value.

Returns

TextPrompt The same instance.

Examples

// C# initializer or property      // C# fluent
textPrompt.Description = value;    textPrompt.Description(value);
public static TypedConfirmPrompt Description(TypedConfirmPrompt typedConfirmPrompt, string? value) #

Sets Prompt<bool>.Description: Help text under the question.

Parameters

typedConfirmPrompt ConsoleMonster.Interactive.TypedConfirmPrompt required
The instance.
value string? required
The value.

Returns

TypedConfirmPrompt The same instance.

Examples

// C# initializer or property              // C# fluent
typedConfirmPrompt.Description = value;    Ui.TypedConfirmPrompt().Description(value);
public static Choice Description(Choice choice, string? value) #

Sets Choice.Description: A sentence shown under the list while the choice has focus.

Parameters

choice ConsoleMonster.Interactive.Choice required
The instance.
value string? required
The value.

Returns

Choice The same instance.

Examples

// C# initializer or property    // C# fluent
choice.Description = value;      choice.Description(value);
public static Form Description(Form form, string? value) #

Sets Form.Description: A sentence under the title.

Parameters

form ConsoleMonster.Interactive.Form required
The instance.
value string? required
The value.

Returns

Form The same instance.

Examples

// C# initializer or property    // C# fluent
form.Description = value;        Ui.Form().Description(value);
public static Menu Description(Menu menu, string? value) #

Sets Menu.Description: A sentence shown above the items.

Parameters

menu ConsoleMonster.Interactive.Menu required
The instance.
value string? required
The value.

Returns

Menu The same instance.

Examples

// C# initializer or property    // C# fluent
menu.Description = value;        Ui.Menu().Description(value);
public static FormPage Description(FormPage formPage, string? value) #

Sets FormPage.Description: A sentence under the title.

Parameters

formPage ConsoleMonster.Interactive.FormPage required
The instance.
value string? required
The value.

Returns

FormPage The same instance.

Examples

// C# initializer or property    // C# fluent
formPage.Description = value;    formPage.Description(value);
Description``1 2 overloads
public static MultiSelectPrompt<T?> Description<T>(MultiSelectPrompt<T?> multiSelectPrompt, string? value) #

Sets Prompt<IReadOnlyList<`0>>.Description: Help text under the question.

Type Parameters

T

Parameters

multiSelectPrompt ConsoleMonster.Interactive.MultiSelectPrompt<T?> required
The instance.
value string? required
The value.

Returns

MultiSelectPrompt<T?> The same instance.

Examples

// C# initializer or property             // C# fluent
multiSelectPrompt.Description = value;    multiSelectPrompt.Description(value);
public static SelectPrompt<T?> Description<T>(SelectPrompt<T?> selectPrompt, string? value) #

Sets Prompt<`0>.Description: Help text under the question.

Type Parameters

T

Parameters

selectPrompt ConsoleMonster.Interactive.SelectPrompt<T?> required
The instance.
value string? required
The value.

Returns

SelectPrompt<T?> The same instance.

Examples

// C# initializer or property        // C# fluent
selectPrompt.Description = value;    selectPrompt.Description(value);
Destructive 2 overloads
public static ConfirmPrompt Destructive(ConfirmPrompt confirmPrompt, bool value) #

Sets ConfirmPrompt.Destructive: Marks the question as destructive: a warning mark, and No is focused unless the default says otherwise.

Parameters

confirmPrompt ConsoleMonster.Interactive.ConfirmPrompt required
The instance.
value bool required
The value.

Returns

ConfirmPrompt The same instance.

Examples

// C# initializer or property         // C# fluent
confirmPrompt.Destructive = value;    Ui.ConfirmPrompt().Destructive(value);
public static ConfirmPrompt Destructive(ConfirmPrompt confirmPrompt) #

Sets ConfirmPrompt.Destructive to true.

Parameters

confirmPrompt ConsoleMonster.Interactive.ConfirmPrompt required
The instance to configure.

Returns

ConfirmPrompt The same instance.
public static MenuRunResult Details(MenuRunResult menuRunResult, IWidget? value) #

Sets MenuRunResult.Details: Detail content under the figures (a table, a list).

Parameters

menuRunResult ConsoleMonster.Interactive.MenuRunResult required
The instance.
value ConsoleMonster.Layout.IWidget? required
The value.

Returns

MenuRunResult The same instance.

Examples

// C# initializer or property     // C# fluent
menuRunResult.Details = value;    Ui.MenuRunResult().Details(value);
public static ConsoleAppOptions Dialogs(ConsoleAppOptions consoleAppOptions, AppDialogs? value) #

Sets ConsoleAppOptions.Dialogs: Optional typed modal form service for this run.

Parameters

consoleAppOptions ConsoleMonster.Interactive.ConsoleAppOptions required
The instance.
value ConsoleMonster.Interactive.AppDialogs? required
The value.

Returns

ConsoleAppOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.ConsoleAppOptions { Dialogs = value };    consoleAppOptions.Dialogs(value);
Disabled 31 overloads
public static Button Disabled(Button button, bool value) #

Sets InputControl.Disabled: Whether this control is excluded from input and focus traversal.

Parameters

button ConsoleMonster.Interactive.Button required
The instance.
value bool required
The value.

Returns

Button The same instance.

Examples

// C# initializer or property    // C# fluent
button.Disabled = value;         button.Disabled(value);
public static Button Disabled(Button button) #

Sets InputControl.Disabled to true.

Parameters

button ConsoleMonster.Interactive.Button required
The instance to configure.

Returns

Button The same instance.
public static DataGrid Disabled(DataGrid dataGrid, bool value) #

Sets InputControl.Disabled: Whether this control is excluded from input and focus traversal.

Parameters

dataGrid ConsoleMonster.Interactive.DataGrid required
The instance.
value bool required
The value.

Returns

DataGrid The same instance.

Examples

// C# initializer or property    // C# fluent
dataGrid.Disabled = value;       dataGrid.Disabled(value);
public static DataGrid Disabled(DataGrid dataGrid) #

Sets InputControl.Disabled to true.

Parameters

dataGrid ConsoleMonster.Interactive.DataGrid required
The instance to configure.

Returns

DataGrid The same instance.
public static DatePicker Disabled(DatePicker datePicker, bool value) #

Sets InputControl.Disabled: Whether this control is excluded from input and focus traversal.

Parameters

datePicker ConsoleMonster.Interactive.DatePicker required
The instance.
value bool required
The value.

Returns

DatePicker The same instance.

Examples

// C# initializer or property    // C# fluent
datePicker.Disabled = value;     datePicker.Disabled(value);
public static DatePicker Disabled(DatePicker datePicker) #

Sets InputControl.Disabled to true.

Parameters

datePicker ConsoleMonster.Interactive.DatePicker required
The instance to configure.

Returns

DatePicker The same instance.
public static LogViewport Disabled(LogViewport logViewport, bool value) #

Sets InputControl.Disabled: Whether this control is excluded from input and focus traversal.

Parameters

logViewport ConsoleMonster.Interactive.LogViewport required
The instance.
value bool required
The value.

Returns

LogViewport The same instance.

Examples

// C# initializer or property    // C# fluent
logViewport.Disabled = value;    logViewport.Disabled(value);
public static LogViewport Disabled(LogViewport logViewport) #

Sets InputControl.Disabled to true.

Parameters

logViewport ConsoleMonster.Interactive.LogViewport required
The instance to configure.

Returns

LogViewport The same instance.
public static Select Disabled(Select select, bool value) #

Sets InputControl.Disabled: Whether this control is excluded from input and focus traversal.

Parameters

select ConsoleMonster.Interactive.Select required
The instance.
value bool required
The value.

Returns

Select The same instance.

Examples

// C# initializer or property    // C# fluent
@select.Disabled = value;        @select.Disabled(value);
public static Select Disabled(Select select) #

Sets InputControl.Disabled to true.

Parameters

select ConsoleMonster.Interactive.Select required
The instance to configure.

Returns

Select The same instance.
public static TextInput Disabled(TextInput textInput, bool value) #

Sets InputControl.Disabled: Whether this control is excluded from input and focus traversal.

Parameters

textInput ConsoleMonster.Interactive.TextInput required
The instance.
value bool required
The value.

Returns

TextInput The same instance.

Examples

// C# initializer or property    // C# fluent
textInput.Disabled = value;      textInput.Disabled(value);
public static TextInput Disabled(TextInput textInput) #

Sets InputControl.Disabled to true.

Parameters

textInput ConsoleMonster.Interactive.TextInput required
The instance to configure.

Returns

TextInput The same instance.
public static Toggle Disabled(Toggle toggle, bool value) #

Sets InputControl.Disabled: Whether this control is excluded from input and focus traversal.

Parameters

toggle ConsoleMonster.Interactive.Toggle required
The instance.
value bool required
The value.

Returns

Toggle The same instance.

Examples

// C# initializer or property    // C# fluent
toggle.Disabled = value;         toggle.Disabled(value);
public static Toggle Disabled(Toggle toggle) #

Sets InputControl.Disabled to true.

Parameters

toggle ConsoleMonster.Interactive.Toggle required
The instance to configure.

Returns

Toggle The same instance.
public static TreeSelect Disabled(TreeSelect treeSelect, bool value) #

Sets InputControl.Disabled: Whether this control is excluded from input and focus traversal.

Parameters

treeSelect ConsoleMonster.Interactive.TreeSelect required
The instance.
value bool required
The value.

Returns

TreeSelect The same instance.

Examples

// C# initializer or property    // C# fluent
treeSelect.Disabled = value;     treeSelect.Disabled(value);
public static TreeSelect Disabled(TreeSelect treeSelect) #

Sets InputControl.Disabled to true.

Parameters

treeSelect ConsoleMonster.Interactive.TreeSelect required
The instance to configure.

Returns

TreeSelect The same instance.
public static SelectInputOptions Disabled(SelectInputOptions selectInputOptions, bool value) #

Sets AppInputOptions.Disabled: Disables editing and keyboard focus.

Parameters

selectInputOptions ConsoleMonster.Interactive.SelectInputOptions required
The instance.
value bool required
The value.

Returns

SelectInputOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ConsoleMonster.Interactive.SelectInputOptions { Disabled = value };    Ui.Select().Disabled(value);
public static SelectInputOptions Disabled(SelectInputOptions selectInputOptions) #

Sets AppInputOptions.Disabled to true.

Parameters

selectInputOptions ConsoleMonster.Interactive.SelectInputOptions required
The instance to configure.

Returns

SelectInputOptions The same instance.
public static TextInputOptions Disabled(TextInputOptions textInputOptions, bool value) #

Sets AppInputOptions.Disabled: Disables editing and keyboard focus.

Parameters

textInputOptions ConsoleMonster.Interactive.TextInputOptions required
The instance.
value bool required
The value.

Returns

TextInputOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.TextInputOptions { Disabled = value };    Ui.TextInput().Disabled(value);
public static TextInputOptions Disabled(TextInputOptions textInputOptions) #

Sets AppInputOptions.Disabled to true.

Parameters

textInputOptions ConsoleMonster.Interactive.TextInputOptions required
The instance to configure.

Returns

TextInputOptions The same instance.
public static ButtonInputOptions Disabled(ButtonInputOptions buttonInputOptions, bool value) #

Sets AppInputOptions.Disabled: Disables editing and keyboard focus.

Parameters

buttonInputOptions ConsoleMonster.Interactive.ButtonInputOptions required
The instance.
value bool required
The value.

Returns

ButtonInputOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ConsoleMonster.Interactive.ButtonInputOptions { Disabled = value };    Ui.Button().Disabled(value);
public static ButtonInputOptions Disabled(ButtonInputOptions buttonInputOptions) #

Sets AppInputOptions.Disabled to true.

Parameters

buttonInputOptions ConsoleMonster.Interactive.ButtonInputOptions required
The instance to configure.

Returns

ButtonInputOptions The same instance.
public static DataGridInputOptions Disabled(DataGridInputOptions dataGridInputOptions, bool value) #

Sets AppInputOptions.Disabled: Disables editing and keyboard focus.

Parameters

dataGridInputOptions ConsoleMonster.Interactive.DataGridInputOptions required
The instance.
value bool required
The value.

Returns

DataGridInputOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::ConsoleMonster.Interactive.DataGridInputOptions { Disabled = value };    Ui.DataGrid().Disabled(value);
public static DataGridInputOptions Disabled(DataGridInputOptions dataGridInputOptions) #

Sets AppInputOptions.Disabled to true.

Parameters

dataGridInputOptions ConsoleMonster.Interactive.DataGridInputOptions required
The instance to configure.

Returns

DataGridInputOptions The same instance.
public static DatePickerInputOptions Disabled(DatePickerInputOptions datePickerInputOptions, bool value) #

Sets AppInputOptions.Disabled: Disables editing and keyboard focus.

Parameters

datePickerInputOptions ConsoleMonster.Interactive.DatePickerInputOptions required
The instance.
value bool required
The value.

Returns

DatePickerInputOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::ConsoleMonster.Interactive.DatePickerInputOptions { Disabled = value };    Ui.DatePicker().Disabled(value);
public static DatePickerInputOptions Disabled(DatePickerInputOptions datePickerInputOptions) #

Sets AppInputOptions.Disabled to true.

Parameters

datePickerInputOptions ConsoleMonster.Interactive.DatePickerInputOptions required
The instance to configure.

Returns

DatePickerInputOptions The same instance.
public static ToggleInputOptions Disabled(ToggleInputOptions toggleInputOptions, bool value) #

Sets AppInputOptions.Disabled: Disables editing and keyboard focus.

Parameters

toggleInputOptions ConsoleMonster.Interactive.ToggleInputOptions required
The instance.
value bool required
The value.

Returns

ToggleInputOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ConsoleMonster.Interactive.ToggleInputOptions { Disabled = value };    Ui.Toggle().Disabled(value);
public static ToggleInputOptions Disabled(ToggleInputOptions toggleInputOptions) #

Sets AppInputOptions.Disabled to true.

Parameters

toggleInputOptions ConsoleMonster.Interactive.ToggleInputOptions required
The instance to configure.

Returns

ToggleInputOptions The same instance.
public static TreeSelectInputOptions Disabled(TreeSelectInputOptions treeSelectInputOptions, bool value) #

Sets AppInputOptions.Disabled: Disables editing and keyboard focus.

Parameters

treeSelectInputOptions ConsoleMonster.Interactive.TreeSelectInputOptions required
The instance.
value bool required
The value.

Returns

TreeSelectInputOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::ConsoleMonster.Interactive.TreeSelectInputOptions { Disabled = value };    Ui.TreeSelect().Disabled(value);
public static TreeSelectInputOptions Disabled(TreeSelectInputOptions treeSelectInputOptions) #

Sets AppInputOptions.Disabled to true.

Parameters

treeSelectInputOptions ConsoleMonster.Interactive.TreeSelectInputOptions required
The instance to configure.

Returns

TreeSelectInputOptions The same instance.
public static PromptLabels Disabled(PromptLabels promptLabels, string value) #

Sets PromptLabels.Disabled: The focused item is disabled: {0} is the reason.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Disabled = value };    promptLabels.Disabled(value);
public static Choice DisabledReason(Choice choice, string? value) #

Sets Choice.DisabledReason: Why the choice cannot be picked; null when it can. Disabled choices are dimmed and show the reason on focus.

Parameters

choice ConsoleMonster.Interactive.Choice required
The instance.
value string? required
The value.

Returns

Choice The same instance.

Examples

// C# initializer or property     // C# fluent
choice.DisabledReason = value;    choice.DisabledReason(value);
public static PromptLabels Discard(PromptLabels promptLabels, string value) #

Sets PromptLabels.Discard: The button that discards unsaved form changes.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Discard = value };    promptLabels.Discard(value);
public static PromptLabels DiscardChanges(PromptLabels promptLabels, string value) #

Sets PromptLabels.DiscardChanges: The question before leaving with unsaved changes.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { DiscardChanges = value };    promptLabels.DiscardChanges(value);
public static PromptLabels DiscardFormChanges(PromptLabels promptLabels, string value) #

Sets PromptLabels.DiscardFormChanges: The question when leaving a form opened from a menu with changes that were not saved.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { DiscardFormChanges = value };    promptLabels.DiscardFormChanges(value);
Dispatcher 2 overloads
public static ConsoleAppOptions Dispatcher(ConsoleAppOptions consoleAppOptions, AppDispatcher? value) #

Sets ConsoleAppOptions.Dispatcher: Optional mailbox for this run. The host drains it on the input thread and closes it on exit; create a new dispatcher for another run.

Parameters

consoleAppOptions ConsoleMonster.Interactive.ConsoleAppOptions required
The instance.
value ConsoleMonster.Interactive.AppDispatcher? required
The value.

Returns

ConsoleAppOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.ConsoleAppOptions { Dispatcher = value };    consoleAppOptions.Dispatcher(value);
public static GridOptions Dispatcher(GridOptions gridOptions, AppDispatcher? value) #

Sets GridOptions.Dispatcher: Optional per-run mailbox, drained on the input thread and closed when the grid exits.

Parameters

gridOptions ConsoleMonster.Interactive.GridOptions required
The instance.
value ConsoleMonster.Interactive.AppDispatcher? required
The value.

Returns

GridOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ConsoleMonster.Interactive.GridOptions { Dispatcher = value };    gridOptions.Dispatcher(value);
public static SecretPrompt Display(SecretPrompt secretPrompt, SecretDisplay value) #

Sets SecretPrompt.Display: How the secret is shown while typed.

Parameters

secretPrompt ConsoleMonster.Interactive.SecretPrompt required
The instance.
value ConsoleMonster.Interactive.SecretDisplay required
The value.

Returns

SecretPrompt The same instance.

Examples

// C# initializer or property    // C# fluent
secretPrompt.Display = value;    secretPrompt.Display(value);
public static PromptLabels Done(PromptLabels promptLabels, string value) #

Sets PromptLabels.Done: The finish button of a form without a review page.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Done = value };    promptLabels.Done(value);
public static PromptLabels EarlierLines(PromptLabels promptLabels, string value) #

Sets PromptLabels.EarlierLines: The line above action output when older lines are not shown: {0} is how many.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { EarlierLines = value };    promptLabels.EarlierLines(value);
public static MenuRunResult Elapsed(MenuRunResult menuRunResult, TimeSpan value) #

Sets MenuRunResult.Elapsed: How long the run took; left at zero, a run started with MenuContext.Run fills it in from the session clock (LiveSessionOptions.Clock), so a SimulatedClock gives its time.

Parameters

menuRunResult ConsoleMonster.Interactive.MenuRunResult required
The instance.
value System.TimeSpan required
The value.

Returns

MenuRunResult The same instance.

Examples

// C# initializer or property     // C# fluent
menuRunResult.Elapsed = value;    Ui.MenuRunResult().Elapsed(value);
public static PromptLabels EndWithEmptyLine(PromptLabels promptLabels, string value) #

Sets PromptLabels.EndWithEmptyLine: The line-mode hint of a multi-line answer.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { EndWithEmptyLine = value };    promptLabels.EndWithEmptyLine(value);
public static PromptLabels EnterNumber(PromptLabels promptLabels, string value) #

Sets PromptLabels.EnterNumber: Accessible mode: the question for a numbered choice.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { EnterNumber = value };    promptLabels.EnterNumber(value);
public static PromptLabels EnterNumbers(PromptLabels promptLabels, string value) #

Sets PromptLabels.EnterNumbers: Accessible mode: the question for several numbered choices.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { EnterNumbers = value };    promptLabels.EnterNumbers(value);
public static PromptLabels EquivalentCommand(PromptLabels promptLabels, string value) #

Sets PromptLabels.EquivalentCommand: The equivalent command heading.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { EquivalentCommand = value };    promptLabels.EquivalentCommand(value);
public static MenuRunResult Error(MenuRunResult menuRunResult, Exception? value) #

Sets MenuRunResult.Error: The exception that ended the run, if any.

Parameters

menuRunResult ConsoleMonster.Interactive.MenuRunResult required
The instance.
value System.Exception? required
The value.

Returns

MenuRunResult The same instance.

Examples

// C# initializer or property    // C# fluent
menuRunResult.Error = value;     Ui.MenuRunResult().Error(value);
Exit 2 overloads
public static AppHostKeys Exit(AppHostKeys appHostKeys, KeyChord? value) #

Sets AppHostKeys.Exit: Leave the app when the focused input does not consume this key.

Parameters

appHostKeys ConsoleMonster.Interactive.AppHostKeys required
The instance.
value ConsoleMonster.Input.KeyChord? required
The value.

Returns

AppHostKeys The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::ConsoleMonster.Interactive.AppHostKeys { Exit = value };    appHostKeys.Exit(value);
public static PromptLabels Exit(PromptLabels promptLabels, string value) #

Sets PromptLabels.Exit: The exit item.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Exit = value };    promptLabels.Exit(value);
public static TypedConfirmPrompt Expected(TypedConfirmPrompt typedConfirmPrompt, string value) #

Sets TypedConfirmPrompt.Expected: The text to type.

Parameters

typedConfirmPrompt ConsoleMonster.Interactive.TypedConfirmPrompt required
The instance.
value string required
The value.

Returns

TypedConfirmPrompt The same instance.

Examples

// C# initializer or property           // C# fluent
typedConfirmPrompt.Expected = value;    Ui.TypedConfirmPrompt().Expected(value);
Explorer 2 overloads
public static TreeSelectInputOptions Explorer(TreeSelectInputOptions treeSelectInputOptions, ObjectExplorer? value) #

Sets TreeSelectInputOptions.Explorer: The explorer model with member adapters and expansion limits.

Parameters

treeSelectInputOptions ConsoleMonster.Interactive.TreeSelectInputOptions required
The instance.
value ConsoleMonster.Interactive.ObjectExplorer? required
The value.

Returns

TreeSelectInputOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::ConsoleMonster.Interactive.TreeSelectInputOptions { Explorer = value };    Ui.TreeSelect().Explorer(value);
public static TreeSelectInputOptions Explorer(TreeSelectInputOptions treeSelectInputOptions, Action<ObjectExplorer> configure) #

Configures TreeSelectInputOptions.Explorer in place: The explorer model with member adapters and expansion limits.

Parameters

treeSelectInputOptions ConsoleMonster.Interactive.TreeSelectInputOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.ObjectExplorer> required
Configures the value.

Returns

TreeSelectInputOptions The same instance.
public static PromptLabels FileExpected(PromptLabels promptLabels, string value) #

Sets PromptLabels.FileExpected: A folder was chosen where a file is expected.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { FileExpected = value };    promptLabels.FileExpected(value);
public static TerminalChildOptions FileName(TerminalChildOptions terminalChildOptions, string? value) #

Sets TerminalChildOptions.FileName: Executable to launch, or null for the platform shell.

Parameters

terminalChildOptions ConsoleMonster.Interactive.TerminalChildOptions required
The instance.
value string? required
The value.

Returns

TerminalChildOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::ConsoleMonster.Interactive.TerminalChildOptions { FileName = value };    terminalChildOptions.FileName(value);
Filter 3 overloads
public static DataGrid Filter(DataGrid dataGrid, string value) #

Sets DataGrid.Filter: The active substring filter; words must match displayed columns.

Parameters

dataGrid ConsoleMonster.Interactive.DataGrid required
The instance.
value string required
The value.

Returns

DataGrid The same instance.

Examples

// C# initializer or property    // C# fluent
dataGrid.Filter = value;         dataGrid.Filter(value);
public static TreeSelect Filter(TreeSelect treeSelect, string value) #

Sets TreeSelect.Filter: The substring search over node names and bounded display values.

Parameters

treeSelect ConsoleMonster.Interactive.TreeSelect required
The instance.
value string required
The value.

Returns

TreeSelect The same instance.

Examples

// C# initializer or property    // C# fluent
treeSelect.Filter = value;       treeSelect.Filter(value);
public static GridOptions Filter(GridOptions gridOptions, string? value) #

Sets GridOptions.Filter: The filter to start with.

Parameters

gridOptions ConsoleMonster.Interactive.GridOptions required
The instance.
value string? required
The value.

Returns

GridOptions The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::ConsoleMonster.Interactive.GridOptions { Filter = value };    gridOptions.Filter(value);
FirstDayOfWeek 2 overloads
public static DatePicker FirstDayOfWeek(DatePicker datePicker, DayOfWeek? value) #

Sets DatePicker.FirstDayOfWeek: Overrides the culture's first weekday.

Parameters

datePicker ConsoleMonster.Interactive.DatePicker required
The instance.
value System.DayOfWeek? required
The value.

Returns

DatePicker The same instance.

Examples

// C# initializer or property         // C# fluent
datePicker.FirstDayOfWeek = value;    datePicker.FirstDayOfWeek(value);
public static DateSelectionOptions FirstDayOfWeek(DateSelectionOptions dateSelectionOptions, DayOfWeek? value) #

Sets DateSelectionOptions.FirstDayOfWeek: First weekday; null follows Culture.

Parameters

dateSelectionOptions ConsoleMonster.Interactive.DateSelectionOptions required
The instance.
value System.DayOfWeek? required
The value.

Returns

DateSelectionOptions The same instance.

Examples

// C# initializer or property                                                              // C# fluent
new global::ConsoleMonster.Interactive.DateSelectionOptions { FirstDayOfWeek = value };    dateSelectionOptions.FirstDayOfWeek(value);
public static PromptLabels FolderExpected(PromptLabels promptLabels, string value) #

Sets PromptLabels.FolderExpected: A file was chosen where a folder is expected.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { FolderExpected = value };    promptLabels.FolderExpected(value);
Form 3 overloads
public static MenuItem Form(MenuItem item, Form form, Action<MenuContext, FormResult>? submitted = null) #

Makes the item open a form.

Parameters

item ConsoleMonster.Interactive.MenuItem required
The menu item.
form ConsoleMonster.Interactive.Form required
The form.
submitted System.Action<ConsoleMonster.Interactive.MenuContext, ConsoleMonster.Interactive.FormResult>? = null optional
Called when it is submitted.

Returns

MenuItem The item.
public static MenuItem Form(MenuItem menuItem, Form? value) #

Sets MenuItem.Form: The form of a form item.

Parameters

menuItem ConsoleMonster.Interactive.MenuItem required
The instance.
value ConsoleMonster.Interactive.Form? required
The value.

Returns

MenuItem The same instance.

Examples

// C# initializer or property    // C# fluent
menuItem.Form = value;           Ui.MenuItem().Form(value);
public static MenuItem Form(MenuItem menuItem, Action<Form> configure) #

Configures MenuItem.Form in place: The form of a form item.

Parameters

menuItem ConsoleMonster.Interactive.MenuItem required
The instance.
configure System.Action<ConsoleMonster.Interactive.Form> required
Configures the value.

Returns

MenuItem The same instance.
public static PromptLabels GoTo(PromptLabels promptLabels, string value) #

Sets PromptLabels.GoTo: The palette group of menu items.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { GoTo = value };    promptLabels.GoTo(value);
Grid 3 overloads
public static DataGrid Grid(DataGrid dataGrid, Action<Grid> configure) #

Configures DataGrid.Grid in place: The listing and column definitions. Call RefreshRows after changing them.

Parameters

dataGrid ConsoleMonster.Interactive.DataGrid required
The instance.
configure System.Action<ConsoleMonster.Interactive.Grid> required
Configures the value.

Returns

DataGrid The same instance.
public static DataGridInputOptions Grid(DataGridInputOptions dataGridInputOptions, Grid? value) #

Sets DataGridInputOptions.Grid: Rows and columns, including original objects and stable identities.

Parameters

dataGridInputOptions ConsoleMonster.Interactive.DataGridInputOptions required
The instance.
value ConsoleMonster.Interactive.Grid? required
The value.

Returns

DataGridInputOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.DataGridInputOptions { Grid = value };    Ui.DataGrid().Grid(value);
public static DataGridInputOptions Grid(DataGridInputOptions dataGridInputOptions, Action<Grid> configure) #

Configures DataGridInputOptions.Grid in place: Rows and columns, including original objects and stable identities.

Parameters

dataGridInputOptions ConsoleMonster.Interactive.DataGridInputOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.Grid> required
Configures the value.

Returns

DataGridInputOptions The same instance.
public static PromptLabels GridRows(PromptLabels promptLabels, string value) #

Sets PromptLabels.GridRows: The grid's row count: {0} shown of {1}.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { GridRows = value };    promptLabels.GridRows(value);
public static PromptLabels GridSelected(PromptLabels promptLabels, string value) #

Sets PromptLabels.GridSelected: The grid's selection count.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { GridSelected = value };    promptLabels.GridSelected(value);
public static PromptLabels GridSelectedRow(PromptLabels promptLabels, string value) #

Sets PromptLabels.GridSelectedRow: The title of the grid's focused-row pane when it has actions.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { GridSelectedRow = value };    promptLabels.GridSelectedRow(value);
Group 2 overloads
public static Choice Group(Choice choice, string? value) #

Sets Choice.Group: The group heading the choice is listed under.

Parameters

choice ConsoleMonster.Interactive.Choice required
The instance.
value string? required
The value.

Returns

Choice The same instance.

Examples

// C# initializer or property    // C# fluent
choice.Group = value;            choice.Group(value);
public static KeyBinding Group(KeyBinding keyBinding, string value) #

Sets KeyBinding.Group: The heading the binding is listed under in the key map.

Parameters

keyBinding ConsoleMonster.Interactive.KeyBinding required
The instance.
value string required
The value.

Returns

KeyBinding The same instance.

Examples

// C# initializer or property    // C# fluent
keyBinding.Group = value;        keyBinding.Group(value);
public static PromptLabels GroupHeading(PromptLabels promptLabels, string value) #

Sets PromptLabels.GroupHeading: Group headings in accessible mode: {0}.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { GroupHeading = value };    promptLabels.GroupHeading(value);
Height 8 overloads
public static DataGrid Height(DataGrid dataGrid, int value) #

Sets DataGrid.Height: The maximum natural content height; constrained further by the host viewport.

Parameters

dataGrid ConsoleMonster.Interactive.DataGrid required
The instance.
value int required
The value.

Returns

DataGrid The same instance.

Examples

// C# initializer or property    // C# fluent
dataGrid.Height = value;         dataGrid.Height(value);
public static LogViewport Height(LogViewport logViewport, int value) #

Sets LogViewport.Height: Preferred visible content rows.

Parameters

logViewport ConsoleMonster.Interactive.LogViewport required
The instance.
value int required
The value.

Returns

LogViewport The same instance.

Examples

// C# initializer or property    // C# fluent
logViewport.Height = value;      logViewport.Height(value);
public static TreeSelect Height(TreeSelect treeSelect, int value) #

Sets TreeSelect.Height: Natural viewport rows.

Parameters

treeSelect ConsoleMonster.Interactive.TreeSelect required
The instance.
value int required
The value.

Returns

TreeSelect The same instance.

Examples

// C# initializer or property    // C# fluent
treeSelect.Height = value;       treeSelect.Height(value);
public static TextInputOptions Height(TextInputOptions textInputOptions, int value) #

Sets TextInputOptions.Height: Visible rows; valid only with Multiline.

Parameters

textInputOptions ConsoleMonster.Interactive.TextInputOptions required
The instance.
value int required
The value.

Returns

TextInputOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.TextInputOptions { Height = value };    Ui.TextInput().Height(value);
public static TextQuestionOptions Height(TextQuestionOptions textQuestionOptions, int value) #

Sets TextQuestionOptions.Height: Visible multiline rows.

Parameters

textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions required
The instance.
value int required
The value.

Returns

TextQuestionOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.TextQuestionOptions { Height = value };    Ui.TextQuestion().Height(value);
public static DataGridInputOptions Height(DataGridInputOptions dataGridInputOptions, int value) #

Sets DataGridInputOptions.Height: Natural visible content height.

Parameters

dataGridInputOptions ConsoleMonster.Interactive.DataGridInputOptions required
The instance.
value int required
The value.

Returns

DataGridInputOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ConsoleMonster.Interactive.DataGridInputOptions { Height = value };    Ui.DataGrid().Height(value);
public static TreeSelectInputOptions Height(TreeSelectInputOptions treeSelectInputOptions, int value) #

Sets TreeSelectInputOptions.Height: Natural visible content rows.

Parameters

treeSelectInputOptions ConsoleMonster.Interactive.TreeSelectInputOptions required
The instance.
value int required
The value.

Returns

TreeSelectInputOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::ConsoleMonster.Interactive.TreeSelectInputOptions { Height = value };    Ui.TreeSelect().Height(value);
public static TextAreaField Height(TextAreaField textAreaField, int value) #

Sets TextAreaField.Height: The visible rows of the editor (default 8).

Parameters

textAreaField ConsoleMonster.Interactive.TextAreaField required
The instance.
value int required
The value.

Returns

TextAreaField The same instance.

Examples

// C# initializer or property    // C# fluent
textAreaField.Height = value;    textAreaField.Height(value);
Help 7 overloads
public static ChoiceField Help(ChoiceField choiceField, string? value) #

Sets Field.Help: Help shown while the field has focus.

Parameters

choiceField ConsoleMonster.Interactive.ChoiceField required
The instance.
value string? required
The value.

Returns

ChoiceField The same instance.

Examples

// C# initializer or property    // C# fluent
choiceField.Help = value;        choiceField.Help(value);
public static NumberField Help(NumberField numberField, string? value) #

Sets Field.Help: Help shown while the field has focus.

Parameters

numberField ConsoleMonster.Interactive.NumberField required
The instance.
value string? required
The value.

Returns

NumberField The same instance.

Examples

// C# initializer or property    // C# fluent
numberField.Help = value;        numberField.Help(value);
public static PathField Help(PathField pathField, string? value) #

Sets Field.Help: Help shown while the field has focus.

Parameters

pathField ConsoleMonster.Interactive.PathField required
The instance.
value string? required
The value.

Returns

PathField The same instance.

Examples

// C# initializer or property    // C# fluent
pathField.Help = value;          pathField.Help(value);
public static SecretField Help(SecretField secretField, string? value) #

Sets Field.Help: Help shown while the field has focus.

Parameters

secretField ConsoleMonster.Interactive.SecretField required
The instance.
value string? required
The value.

Returns

SecretField The same instance.

Examples

// C# initializer or property    // C# fluent
secretField.Help = value;        secretField.Help(value);
public static TextAreaField Help(TextAreaField textAreaField, string? value) #

Sets Field.Help: Help shown while the field has focus.

Parameters

textAreaField ConsoleMonster.Interactive.TextAreaField required
The instance.
value string? required
The value.

Returns

TextAreaField The same instance.

Examples

// C# initializer or property    // C# fluent
textAreaField.Help = value;      textAreaField.Help(value);
public static TextField Help(TextField textField, string? value) #

Sets Field.Help: Help shown while the field has focus.

Parameters

textField ConsoleMonster.Interactive.TextField required
The instance.
value string? required
The value.

Returns

TextField The same instance.

Examples

// C# initializer or property    // C# fluent
textField.Help = value;          textField.Help(value);
public static ToggleField Help(ToggleField toggleField, string? value) #

Sets Field.Help: Help shown while the field has focus.

Parameters

toggleField ConsoleMonster.Interactive.ToggleField required
The instance.
value string? required
The value.

Returns

ToggleField The same instance.

Examples

// C# initializer or property    // C# fluent
toggleField.Help = value;        toggleField.Help(value);
public static TSelf Help<TSelf>(TSelf field, string? value) #

Sets Field.Help: Help shown while the field has focus.

Type Parameters

TSelf

Parameters

field TSelf required
The instance.
value string? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property    // C# fluent
@field.Help = value;             @field.Help(value);
Hidden 2 overloads
public static TextQuestionOptions Hidden(TextQuestionOptions textQuestionOptions, bool value) #

Sets TextQuestionOptions.Hidden: Hides even the secret length.

Parameters

textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions required
The instance.
value bool required
The value.

Returns

TextQuestionOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.TextQuestionOptions { Hidden = value };    Ui.TextQuestion().Hidden(value);
public static TextQuestionOptions Hidden(TextQuestionOptions textQuestionOptions) #

Sets TextQuestionOptions.Hidden to true.

Parameters

textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions required
The instance to configure.

Returns

TextQuestionOptions The same instance.
public static PromptLabels Home(PromptLabels promptLabels, string value) #

Sets PromptLabels.Home: The home breadcrumb.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Home = value };    promptLabels.Home(value);
public static LogViewport HorizontalOffset(LogViewport logViewport, int value) #

Sets LogViewport.HorizontalOffset: Horizontal scroll in display cells, bounded by the maximum retained message length.

Parameters

logViewport ConsoleMonster.Interactive.LogViewport required
The instance.
value int required
The value.

Returns

LogViewport The same instance.

Examples

// C# initializer or property            // C# fluent
logViewport.HorizontalOffset = value;    logViewport.HorizontalOffset(value);
Hotkey 2 overloads
public static MenuItem Hotkey(MenuItem menuItem, char? value) #

Sets MenuItem.Hotkey: The key that opens the item directly.

Parameters

menuItem ConsoleMonster.Interactive.MenuItem required
The instance.
value char? required
The value.

Returns

MenuItem The same instance.

Examples

// C# initializer or property    // C# fluent
menuItem.Hotkey = value;         Ui.MenuItem().Hotkey(value);
public static Choice Hotkey(Choice choice, char? value) #

Sets Choice.Hotkey: A key that picks the choice directly (letters and digits).

Parameters

choice ConsoleMonster.Interactive.Choice required
The instance.
value char? required
The value.

Returns

Choice The same instance.

Examples

// C# initializer or property    // C# fluent
choice.Hotkey = value;           choice.Hotkey(value);
public static MenuItem Icon(MenuItem menuItem, string? value) #

Sets MenuItem.Icon: A short mark before the title (one or two cells), as free text. Setting it clears a preceding semantic IconName.

Parameters

menuItem ConsoleMonster.Interactive.MenuItem required
The instance.
value string? required
The value.

Returns

MenuItem The same instance.

Examples

// C# initializer or property    // C# fluent
menuItem.Icon = value;           Ui.MenuItem().Icon(value);
public static MenuItem IconName(MenuItem menuItem, GlyphIcon? value) #

Sets MenuItem.IconName: A semantic icon resolved for the glyph tier (shapes in Full, WGL4 in Basic, ASCII in Ascii), or null.

Parameters

menuItem ConsoleMonster.Interactive.MenuItem required
The instance.
value ConsoleMonster.Glyphs.GlyphIcon? required
The value.

Returns

MenuItem The same instance.

Examples

// C# initializer or property    // C# fluent
menuItem.IconName = value;       Ui.MenuItem().IconName(value);
public static GridRow Id(GridRow gridRow, object value) #

Sets GridRow.Id: Stable row identity, independent of the original object and display position. Defaults to a unique identity; set it before binding a refreshable listing.

Parameters

gridRow ConsoleMonster.Interactive.GridRow required
The instance.
value object required
The value.

Returns

GridRow The same instance.

Examples

// C# initializer or property    // C# fluent
gridRow.Id = value;              gridRow.Id(value);
InFooter 2 overloads
public static KeyBinding InFooter(KeyBinding keyBinding, bool value) #

Sets KeyBinding.InFooter: Whether the footer shows the binding (the key map always lists it).

Parameters

keyBinding ConsoleMonster.Interactive.KeyBinding required
The instance.
value bool required
The value.

Returns

KeyBinding The same instance.

Examples

// C# initializer or property    // C# fluent
keyBinding.InFooter = value;     keyBinding.InFooter(value);
public static KeyBinding InFooter(KeyBinding keyBinding) #

Sets KeyBinding.InFooter to true.

Parameters

keyBinding ConsoleMonster.Interactive.KeyBinding required
The instance to configure.

Returns

KeyBinding The same instance.
public static FormDialogOptions InitialFocus(FormDialogOptions formDialogOptions, string? value) #

Sets FormDialogOptions.InitialFocus: A field key to focus instead of the default button.

Parameters

formDialogOptions ConsoleMonster.Interactive.FormDialogOptions required
The instance.
value string? required
The value.

Returns

FormDialogOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::ConsoleMonster.Interactive.FormDialogOptions { InitialFocus = value };    Ui.Dialog().InitialFocus(value);
Inline 2 overloads
public static FormOptions Inline(FormOptions formOptions, bool value) #

Sets FormOptions.Inline: Draws the form in the scrollback instead of on the alternate screen.

Parameters

formOptions ConsoleMonster.Interactive.FormOptions required
The instance.
value bool required
The value.

Returns

FormOptions The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::ConsoleMonster.Interactive.FormOptions { Inline = value };    formOptions.Inline(value);
public static FormOptions Inline(FormOptions formOptions) #

Sets FormOptions.Inline to true.

Parameters

formOptions ConsoleMonster.Interactive.FormOptions required
The instance to configure.

Returns

FormOptions The same instance.
public static InteractiveOptions Input(InteractiveOptions interactiveOptions, IInputSource? value) #

Sets InteractiveOptions.Input: An input source instead of the console (a script in tests and demos).

Parameters

interactiveOptions ConsoleMonster.Interactive.InteractiveOptions required
The instance.
value ConsoleMonster.Input.IInputSource? required
The value.

Returns

InteractiveOptions The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ConsoleMonster.Interactive.InteractiveOptions { Input = value };    interactiveOptions.Input(value);
Integer 4 overloads
public static NumberPrompt Integer(NumberPrompt numberPrompt, bool value) #

Sets NumberPrompt.Integer: Whether only whole numbers are accepted.

Parameters

numberPrompt ConsoleMonster.Interactive.NumberPrompt required
The instance.
value bool required
The value.

Returns

NumberPrompt The same instance.

Examples

// C# initializer or property    // C# fluent
numberPrompt.Integer = value;    Ui.NumberPrompt().Integer(value);
public static NumberPrompt Integer(NumberPrompt numberPrompt) #

Sets NumberPrompt.Integer to true.

Parameters

numberPrompt ConsoleMonster.Interactive.NumberPrompt required
The instance to configure.

Returns

NumberPrompt The same instance.
public static NumberField Integer(NumberField numberField, bool value) #

Sets NumberField.Integer: Whether only whole numbers are accepted.

Parameters

numberField ConsoleMonster.Interactive.NumberField required
The instance.
value bool required
The value.

Returns

NumberField The same instance.

Examples

// C# initializer or property    // C# fluent
numberField.Integer = value;     numberField.Integer(value);
public static NumberField Integer(NumberField numberField) #

Sets NumberField.Integer to true.

Parameters

numberField ConsoleMonster.Interactive.NumberField required
The instance to configure.

Returns

NumberField The same instance.
Interactive 8 overloads
public static ConsoleAppOptions Interactive(ConsoleAppOptions consoleAppOptions, InteractiveOptions? value) #

Sets ConsoleAppOptions.Interactive: Shared prompt input, capture, capability, theme and language settings.

Parameters

consoleAppOptions ConsoleMonster.Interactive.ConsoleAppOptions required
The instance.
value ConsoleMonster.Interactive.InteractiveOptions? required
The value.

Returns

ConsoleAppOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::ConsoleMonster.Interactive.ConsoleAppOptions { Interactive = value };    consoleAppOptions.Interactive(value);
public static ConsoleAppOptions Interactive(ConsoleAppOptions consoleAppOptions, Action<InteractiveOptions> configure) #

Configures ConsoleAppOptions.Interactive in place (creating it when not set): Shared prompt input, capture, capability, theme and language settings.

Parameters

consoleAppOptions ConsoleMonster.Interactive.ConsoleAppOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.InteractiveOptions> required
Configures the value.

Returns

ConsoleAppOptions The same instance.
public static FormOptions Interactive(FormOptions formOptions, InteractiveOptions? value) #

Sets FormOptions.Interactive: Interaction settings (mode, input, profile, theme, labels).

Parameters

formOptions ConsoleMonster.Interactive.FormOptions required
The instance.
value ConsoleMonster.Interactive.InteractiveOptions? required
The value.

Returns

FormOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.FormOptions { Interactive = value };    formOptions.Interactive(value);
public static FormOptions Interactive(FormOptions formOptions, Action<InteractiveOptions> configure) #

Configures FormOptions.Interactive in place (creating it when not set): Interaction settings (mode, input, profile, theme, labels).

Parameters

formOptions ConsoleMonster.Interactive.FormOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.InteractiveOptions> required
Configures the value.

Returns

FormOptions The same instance.
public static GridOptions Interactive(GridOptions gridOptions, InteractiveOptions? value) #

Sets GridOptions.Interactive: Prompt options (input, capture, theme, labels); null for the defaults.

Parameters

gridOptions ConsoleMonster.Interactive.GridOptions required
The instance.
value ConsoleMonster.Interactive.InteractiveOptions? required
The value.

Returns

GridOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.GridOptions { Interactive = value };    gridOptions.Interactive(value);
public static GridOptions Interactive(GridOptions gridOptions, Action<InteractiveOptions> configure) #

Configures GridOptions.Interactive in place (creating it when not set): Prompt options (input, capture, theme, labels); null for the defaults.

Parameters

gridOptions ConsoleMonster.Interactive.GridOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.InteractiveOptions> required
Configures the value.

Returns

GridOptions The same instance.
public static MenuOptions Interactive(MenuOptions menuOptions, InteractiveOptions? value) #

Sets MenuOptions.Interactive: Interaction settings (mode, input, profile, theme, labels).

Parameters

menuOptions ConsoleMonster.Interactive.MenuOptions required
The instance.
value ConsoleMonster.Interactive.InteractiveOptions? required
The value.

Returns

MenuOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.MenuOptions { Interactive = value };    menuOptions.Interactive(value);
public static MenuOptions Interactive(MenuOptions menuOptions, Action<InteractiveOptions> configure) #

Configures MenuOptions.Interactive in place (creating it when not set): Interaction settings (mode, input, profile, theme, labels).

Parameters

menuOptions ConsoleMonster.Interactive.MenuOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.InteractiveOptions> required
Configures the value.

Returns

MenuOptions The same instance.
public static PromptLabels InvalidFormat(PromptLabels promptLabels, string value) #

Sets PromptLabels.InvalidFormat: The answer does not match the expected pattern.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { InvalidFormat = value };    promptLabels.InvalidFormat(value);
Key 8 overloads
public static SelectInputOptions Key(SelectInputOptions selectInputOptions, string value) #

Sets AppInputOptions.Key: The unique application-state key.

Parameters

selectInputOptions ConsoleMonster.Interactive.SelectInputOptions required
The instance.
value string required
The value.

Returns

SelectInputOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ConsoleMonster.Interactive.SelectInputOptions { Key = value };    Ui.Select().Key(value);
public static TextInputOptions Key(TextInputOptions textInputOptions, string value) #

Sets AppInputOptions.Key: The unique application-state key.

Parameters

textInputOptions ConsoleMonster.Interactive.TextInputOptions required
The instance.
value string required
The value.

Returns

TextInputOptions The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.TextInputOptions { Key = value };    Ui.TextInput().Key(value);
public static ButtonInputOptions Key(ButtonInputOptions buttonInputOptions, string value) #

Sets AppInputOptions.Key: The unique application-state key.

Parameters

buttonInputOptions ConsoleMonster.Interactive.ButtonInputOptions required
The instance.
value string required
The value.

Returns

ButtonInputOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ConsoleMonster.Interactive.ButtonInputOptions { Key = value };    Ui.Button().Key(value);
public static CommandOptions Key(CommandOptions commandOptions, string value) #

Sets CommandOptions.Key: The stable command key.

Parameters

commandOptions ConsoleMonster.Interactive.CommandOptions required
The instance.
value string required
The value.

Returns

CommandOptions The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::ConsoleMonster.Interactive.CommandOptions { Key = value };    Ui.Command().Key(value);
public static DataGridInputOptions Key(DataGridInputOptions dataGridInputOptions, string value) #

Sets AppInputOptions.Key: The unique application-state key.

Parameters

dataGridInputOptions ConsoleMonster.Interactive.DataGridInputOptions required
The instance.
value string required
The value.

Returns

DataGridInputOptions The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ConsoleMonster.Interactive.DataGridInputOptions { Key = value };    Ui.DataGrid().Key(value);
public static DatePickerInputOptions Key(DatePickerInputOptions datePickerInputOptions, string value) #

Sets AppInputOptions.Key: The unique application-state key.

Parameters

datePickerInputOptions ConsoleMonster.Interactive.DatePickerInputOptions required
The instance.
value string required
The value.

Returns

DatePickerInputOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.DatePickerInputOptions { Key = value };    Ui.DatePicker().Key(value);
public static ToggleInputOptions Key(ToggleInputOptions toggleInputOptions, string value) #

Sets AppInputOptions.Key: The unique application-state key.

Parameters

toggleInputOptions ConsoleMonster.Interactive.ToggleInputOptions required
The instance.
value string required
The value.

Returns

ToggleInputOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ConsoleMonster.Interactive.ToggleInputOptions { Key = value };    Ui.Toggle().Key(value);
public static TreeSelectInputOptions Key(TreeSelectInputOptions treeSelectInputOptions, string value) #

Sets AppInputOptions.Key: The unique application-state key.

Parameters

treeSelectInputOptions ConsoleMonster.Interactive.TreeSelectInputOptions required
The instance.
value string required
The value.

Returns

TreeSelectInputOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.TreeSelectInputOptions { Key = value };    Ui.TreeSelect().Key(value);
public static PromptLabels KeyActions(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyActions: Key hint: focus the action bar.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyActions = value };    promptLabels.KeyActions(value);
public static PromptLabels KeyAll(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyAll: Key hint: select all.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyAll = value };    promptLabels.KeyAll(value);
public static PromptLabels KeyBack(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyBack: Key hint: go back.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyBack = value };    promptLabels.KeyBack(value);
public static PromptLabels KeyCancel(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyCancel: Key hint: cancel the prompt.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyCancel = value };    promptLabels.KeyCancel(value);
public static PromptLabels KeyCancelAction(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyCancelAction: Key hint: cancel the running action.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyCancelAction = value };    promptLabels.KeyCancelAction(value);
public static PromptLabels KeyClearFilter(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyClearFilter: Key hint: clear the filter.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyClearFilter = value };    promptLabels.KeyClearFilter(value);
public static PromptLabels KeyClose(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyClose: Footer label for closing a dialog.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyClose = value };    promptLabels.KeyClose(value);
public static PromptLabels KeyColumns(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyColumns: Key hint: choose a grid's columns.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyColumns = value };    promptLabels.KeyColumns(value);
public static PromptLabels KeyComplete(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyComplete: Key hint: complete a path.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyComplete = value };    promptLabels.KeyComplete(value);
public static PromptLabels KeyConfirm(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyConfirm: Key hint: accept the answer.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyConfirm = value };    promptLabels.KeyConfirm(value);
public static PromptLabels KeyDetails(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyDetails: Key hint: the focused row's details.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyDetails = value };    promptLabels.KeyDetails(value);
public static PromptLabels KeyDone(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyDone: Key hint: finish and return the selection.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyDone = value };    promptLabels.KeyDone(value);
public static PromptLabels KeyEdit(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyEdit: Key hint: change the focused value.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyEdit = value };    promptLabels.KeyEdit(value);
public static PromptLabels KeyExpand(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyExpand: Key hint: expand or collapse a group.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyExpand = value };    promptLabels.KeyExpand(value);
public static PromptLabels KeyFailure(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyFailure: Replay player key hint: jump to the next or previous failure.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyFailure = value };    promptLabels.KeyFailure(value);
public static PromptLabels KeyFilter(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyFilter: Key hint: start filtering.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyFilter = value };    promptLabels.KeyFilter(value);
public static PromptLabels KeyFix(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyFix: Footer label for Enter on a blocked Run button (it opens the item that fixes the first problem).

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyFix = value };    promptLabels.KeyFix(value);
public static PromptLabels KeyFrame(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyFrame: Replay player key hint: step one frame.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyFrame = value };    promptLabels.KeyFrame(value);
public static PromptLabels KeyHelp(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyHelp: Key hint: show every key.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyHelp = value };    promptLabels.KeyHelp(value);
public static PromptLabels KeyHide(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyHide: Key hint: mask the value again.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyHide = value };    promptLabels.KeyHide(value);
public static PromptLabels KeyHistory(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyHistory: Key hint: earlier answers.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyHistory = value };    promptLabels.KeyHistory(value);
public static PromptLabels KeyHome(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyHome: Key hint: go to the first page of the app.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyHome = value };    promptLabels.KeyHome(value);
public static PromptLabels KeyInvert(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyInvert: Key hint: invert the selection.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyInvert = value };    promptLabels.KeyInvert(value);
public static PromptLabels KeyLogEntry(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyLogEntry: Replay player key hint: jump to the next or previous log entry.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyLogEntry = value };    promptLabels.KeyLogEntry(value);
public static PromptLabels KeyMarker(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyMarker: Replay player key hint: jump to the next or previous marker.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyMarker = value };    promptLabels.KeyMarker(value);
public static PromptLabels KeyMove(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyMove: Key hint: move the focus.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyMove = value };    promptLabels.KeyMove(value);
public static PromptLabels KeyNewLine(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyNewLine: Key hint: a new line in a multi-line text box.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyNewLine = value };    promptLabels.KeyNewLine(value);
public static PromptLabels KeyNext(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyNext: Key hint: next field or page.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyNext = value };    promptLabels.KeyNext(value);
public static PromptLabels KeyNone(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyNone: Key hint: select none.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyNone = value };    promptLabels.KeyNone(value);
public static PromptLabels KeyOpen(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyOpen: Key hint: open the focused item.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyOpen = value };    promptLabels.KeyOpen(value);
public static PromptLabels KeyOrder(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyOrder: Key hint: reverse a grid's sort order.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyOrder = value };    promptLabels.KeyOrder(value);
public static PromptLabels KeyPage(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyPage: Key hint: page through the list.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyPage = value };    promptLabels.KeyPage(value);
public static PromptLabels KeyPalette(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyPalette: Key hint: open the command palette.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyPalette = value };    promptLabels.KeyPalette(value);
public static PromptLabels KeyPane(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyPane: Key hint: move between panes.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyPane = value };    promptLabels.KeyPane(value);
public static PromptLabels KeyPlay(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyPlay: Replay player key hint: play or pause.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyPlay = value };    promptLabels.KeyPlay(value);
public static PromptLabels KeyPrevious(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyPrevious: Key hint: previous field or page.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyPrevious = value };    promptLabels.KeyPrevious(value);
public static PromptLabels KeyQuit(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyQuit: Key hint: leave the app.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyQuit = value };    promptLabels.KeyQuit(value);
public static PromptLabels KeyReveal(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyReveal: Key hint: show a masked value.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyReveal = value };    promptLabels.KeyReveal(value);
public static PromptLabels KeyRun(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyRun: Key hint: run the action.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyRun = value };    promptLabels.KeyRun(value);
Keys 3 overloads
public static ConsoleAppOptions Keys(ConsoleAppOptions consoleAppOptions, AppHostKeys value) #

Sets ConsoleAppOptions.Keys: Host navigation, cancellation and palette gestures. Set individual gestures to null to release them to the app registry.

Parameters

consoleAppOptions ConsoleMonster.Interactive.ConsoleAppOptions required
The instance.
value ConsoleMonster.Interactive.AppHostKeys required
The value.

Returns

ConsoleAppOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ConsoleMonster.Interactive.ConsoleAppOptions { Keys = value };    consoleAppOptions.Keys(value);
public static ConsoleAppOptions Keys(ConsoleAppOptions consoleAppOptions, Action<AppHostKeys> configure) #

Configures ConsoleAppOptions.Keys in place (creating it when not set): Host navigation, cancellation and palette gestures. Set individual gestures to null to release them to the app registry.

Parameters

consoleAppOptions ConsoleMonster.Interactive.ConsoleAppOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.AppHostKeys> required
Configures the value.

Returns

ConsoleAppOptions The same instance.
public static PromptLabels Keys(PromptLabels promptLabels, string value) #

Sets PromptLabels.Keys: The key map heading.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Keys = value };    promptLabels.Keys(value);
public static PromptLabels KeySave(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeySave: Key hint: save a multi-line text.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeySave = value };    promptLabels.KeySave(value);
public static PromptLabels KeySearch(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeySearch: Replay player key hint: search the log.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeySearch = value };    promptLabels.KeySearch(value);
public static PromptLabels KeySelect(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeySelect: Key hint: choose the focused item.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeySelect = value };    promptLabels.KeySelect(value);
public static PromptLabels KeySelectedOnly(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeySelectedOnly: Key hint: show only selected items.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeySelectedOnly = value };    promptLabels.KeySelectedOnly(value);
public static PromptLabels KeySort(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeySort: Key hint: sort a grid by the next column.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeySort = value };    promptLabels.KeySort(value);
public static PromptLabels KeySpeed(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeySpeed: Replay player key hint: change the speed.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeySpeed = value };    promptLabels.KeySpeed(value);
public static PromptLabels KeyStep(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyStep: Key hint: step a number up or down.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyStep = value };    promptLabels.KeyStep(value);
public static PromptLabels KeyStop(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyStop: Footer label for ctrl+c during a run.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyStop = value };    promptLabels.KeyStop(value);
public static KeyBinding KeyText(KeyBinding keyBinding, string? value) #

Sets KeyBinding.KeyText: How the keys are shown (for example โ†‘โ†“); null shows the first chord.

Parameters

keyBinding ConsoleMonster.Interactive.KeyBinding required
The instance.
value string? required
The value.

Returns

KeyBinding The same instance.

Examples

// C# initializer or property    // C# fluent
keyBinding.KeyText = value;      keyBinding.KeyText(value);
public static PromptLabels KeyToggle(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyToggle: Key hint: toggle the focused item.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyToggle = value };    promptLabels.KeyToggle(value);
public static PromptLabels KeyWarning(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyWarning: Replay player key hint: jump to the next or previous warning.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyWarning = value };    promptLabels.KeyWarning(value);
public static PromptLabels KeyYesNo(PromptLabels promptLabels, string value) #

Sets PromptLabels.KeyYesNo: Key hint: answer yes or no.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyYesNo = value };    promptLabels.KeyYesNo(value);
Kind 2 overloads
public static MenuItem Kind(MenuItem menuItem, MenuItemKind value) #

Sets MenuItem.Kind: What the item does.

Parameters

menuItem ConsoleMonster.Interactive.MenuItem required
The instance.
value ConsoleMonster.Interactive.MenuItemKind required
The value.

Returns

MenuItem The same instance.

Examples

// C# initializer or property    // C# fluent
menuItem.Kind = value;           Ui.MenuItem().Kind(value);
public static PathPrompt Kind(PathPrompt pathPrompt, PathKind value) #

Sets PathPrompt.Kind: What is accepted.

Parameters

pathPrompt ConsoleMonster.Interactive.PathPrompt required
The instance.
value ConsoleMonster.Interactive.PathKind required
The value.

Returns

PathPrompt The same instance.

Examples

// C# initializer or property    // C# fluent
pathPrompt.Kind = value;         Ui.PathPrompt().Kind(value);
Label 25 overloads
public static Button Label(Button button, string? value) #

Sets InputControl.Label: The visible label, or null to use the name.

Parameters

button ConsoleMonster.Interactive.Button required
The instance.
value string? required
The value.

Returns

Button The same instance.

Examples

// C# initializer or property    // C# fluent
button.Label = value;            button.Label(value);
public static DataGrid Label(DataGrid dataGrid, string? value) #

Sets InputControl.Label: The visible label, or null to use the name.

Parameters

dataGrid ConsoleMonster.Interactive.DataGrid required
The instance.
value string? required
The value.

Returns

DataGrid The same instance.

Examples

// C# initializer or property    // C# fluent
dataGrid.Label = value;          dataGrid.Label(value);
public static DatePicker Label(DatePicker datePicker, string? value) #

Sets InputControl.Label: The visible label, or null to use the name.

Parameters

datePicker ConsoleMonster.Interactive.DatePicker required
The instance.
value string? required
The value.

Returns

DatePicker The same instance.

Examples

// C# initializer or property    // C# fluent
datePicker.Label = value;        datePicker.Label(value);
public static LogViewport Label(LogViewport logViewport, string? value) #

Sets InputControl.Label: The visible label, or null to use the name.

Parameters

logViewport ConsoleMonster.Interactive.LogViewport required
The instance.
value string? required
The value.

Returns

LogViewport The same instance.

Examples

// C# initializer or property    // C# fluent
logViewport.Label = value;       logViewport.Label(value);
public static Select Label(Select select, string? value) #

Sets InputControl.Label: The visible label, or null to use the name.

Parameters

select ConsoleMonster.Interactive.Select required
The instance.
value string? required
The value.

Returns

Select The same instance.

Examples

// C# initializer or property    // C# fluent
@select.Label = value;           @select.Label(value);
public static TextInput Label(TextInput textInput, string? value) #

Sets InputControl.Label: The visible label, or null to use the name.

Parameters

textInput ConsoleMonster.Interactive.TextInput required
The instance.
value string? required
The value.

Returns

TextInput The same instance.

Examples

// C# initializer or property    // C# fluent
textInput.Label = value;         textInput.Label(value);
public static Toggle Label(Toggle toggle, string? value) #

Sets InputControl.Label: The visible label, or null to use the name.

Parameters

toggle ConsoleMonster.Interactive.Toggle required
The instance.
value string? required
The value.

Returns

Toggle The same instance.

Examples

// C# initializer or property    // C# fluent
toggle.Label = value;            toggle.Label(value);
public static TreeSelect Label(TreeSelect treeSelect, string? value) #

Sets InputControl.Label: The visible label, or null to use the name.

Parameters

treeSelect ConsoleMonster.Interactive.TreeSelect required
The instance.
value string? required
The value.

Returns

TreeSelect The same instance.

Examples

// C# initializer or property    // C# fluent
treeSelect.Label = value;        treeSelect.Label(value);
public static MenuItem Label(MenuItem menuItem, string value) #

Sets MenuItem.Label: The title.

Parameters

menuItem ConsoleMonster.Interactive.MenuItem required
The instance.
value string required
The value.

Returns

MenuItem The same instance.

Examples

// C# initializer or property    // C# fluent
menuItem.Label = value;          Ui.MenuItem().Label(value);
public static SelectInputOptions Label(SelectInputOptions selectInputOptions, string? value) #

Sets AppInputOptions.Label: The visible label; null uses the key.

Parameters

selectInputOptions ConsoleMonster.Interactive.SelectInputOptions required
The instance.
value string? required
The value.

Returns

SelectInputOptions The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ConsoleMonster.Interactive.SelectInputOptions { Label = value };    Ui.Select().Label(value);
public static TextInputOptions Label(TextInputOptions textInputOptions, string? value) #

Sets AppInputOptions.Label: The visible label; null uses the key.

Parameters

textInputOptions ConsoleMonster.Interactive.TextInputOptions required
The instance.
value string? required
The value.

Returns

TextInputOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ConsoleMonster.Interactive.TextInputOptions { Label = value };    Ui.TextInput().Label(value);
public static ButtonInputOptions Label(ButtonInputOptions buttonInputOptions, string? value) #

Sets AppInputOptions.Label: The visible label; null uses the key.

Parameters

buttonInputOptions ConsoleMonster.Interactive.ButtonInputOptions required
The instance.
value string? required
The value.

Returns

ButtonInputOptions The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ConsoleMonster.Interactive.ButtonInputOptions { Label = value };    Ui.Button().Label(value);
public static CommandOptions Label(CommandOptions commandOptions, string? value) #

Sets CommandOptions.Label: The visible label; null uses Key.

Parameters

commandOptions ConsoleMonster.Interactive.CommandOptions required
The instance.
value string? required
The value.

Returns

CommandOptions The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.CommandOptions { Label = value };    Ui.Command().Label(value);
public static DataGridInputOptions Label(DataGridInputOptions dataGridInputOptions, string? value) #

Sets AppInputOptions.Label: The visible label; null uses the key.

Parameters

dataGridInputOptions ConsoleMonster.Interactive.DataGridInputOptions required
The instance.
value string? required
The value.

Returns

DataGridInputOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.DataGridInputOptions { Label = value };    Ui.DataGrid().Label(value);
public static DatePickerInputOptions Label(DatePickerInputOptions datePickerInputOptions, string? value) #

Sets AppInputOptions.Label: The visible label; null uses the key.

Parameters

datePickerInputOptions ConsoleMonster.Interactive.DatePickerInputOptions required
The instance.
value string? required
The value.

Returns

DatePickerInputOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.DatePickerInputOptions { Label = value };    Ui.DatePicker().Label(value);
public static ToggleInputOptions Label(ToggleInputOptions toggleInputOptions, string? value) #

Sets AppInputOptions.Label: The visible label; null uses the key.

Parameters

toggleInputOptions ConsoleMonster.Interactive.ToggleInputOptions required
The instance.
value string? required
The value.

Returns

ToggleInputOptions The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ConsoleMonster.Interactive.ToggleInputOptions { Label = value };    Ui.Toggle().Label(value);
public static TreeSelectInputOptions Label(TreeSelectInputOptions treeSelectInputOptions, string? value) #

Sets AppInputOptions.Label: The visible label; null uses the key.

Parameters

treeSelectInputOptions ConsoleMonster.Interactive.TreeSelectInputOptions required
The instance.
value string? required
The value.

Returns

TreeSelectInputOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.TreeSelectInputOptions { Label = value };    Ui.TreeSelect().Label(value);
public static Choice Label(Choice choice, string value) #

Sets Choice.Label: The title, also what the filter matches.

Parameters

choice ConsoleMonster.Interactive.Choice required
The instance.
value string required
The value.

Returns

Choice The same instance.

Examples

// C# initializer or property    // C# fluent
choice.Label = value;            choice.Label(value);
public static ChoiceField Label(ChoiceField choiceField, string value) #

Sets Field.Label: The label.

Parameters

choiceField ConsoleMonster.Interactive.ChoiceField required
The instance.
value string required
The value.

Returns

ChoiceField The same instance.

Examples

// C# initializer or property    // C# fluent
choiceField.Label = value;       choiceField.Label(value);
public static NumberField Label(NumberField numberField, string value) #

Sets Field.Label: The label.

Parameters

numberField ConsoleMonster.Interactive.NumberField required
The instance.
value string required
The value.

Returns

NumberField The same instance.

Examples

// C# initializer or property    // C# fluent
numberField.Label = value;       numberField.Label(value);
public static PathField Label(PathField pathField, string value) #

Sets Field.Label: The label.

Parameters

pathField ConsoleMonster.Interactive.PathField required
The instance.
value string required
The value.

Returns

PathField The same instance.

Examples

// C# initializer or property    // C# fluent
pathField.Label = value;         pathField.Label(value);
public static SecretField Label(SecretField secretField, string value) #

Sets Field.Label: The label.

Parameters

secretField ConsoleMonster.Interactive.SecretField required
The instance.
value string required
The value.

Returns

SecretField The same instance.

Examples

// C# initializer or property    // C# fluent
secretField.Label = value;       secretField.Label(value);
public static TextAreaField Label(TextAreaField textAreaField, string value) #

Sets Field.Label: The label.

Parameters

textAreaField ConsoleMonster.Interactive.TextAreaField required
The instance.
value string required
The value.

Returns

TextAreaField The same instance.

Examples

// C# initializer or property    // C# fluent
textAreaField.Label = value;     textAreaField.Label(value);
public static TextField Label(TextField textField, string value) #

Sets Field.Label: The label.

Parameters

textField ConsoleMonster.Interactive.TextField required
The instance.
value string required
The value.

Returns

TextField The same instance.

Examples

// C# initializer or property    // C# fluent
textField.Label = value;         textField.Label(value);
public static ToggleField Label(ToggleField toggleField, string value) #

Sets Field.Label: The label.

Parameters

toggleField ConsoleMonster.Interactive.ToggleField required
The instance.
value string required
The value.

Returns

ToggleField The same instance.

Examples

// C# initializer or property    // C# fluent
toggleField.Label = value;       toggleField.Label(value);
Labels 2 overloads
public static InteractiveOptions Labels(InteractiveOptions interactiveOptions, PromptLabels? value) #

Sets InteractiveOptions.Labels: The built-in words; null uses PromptLabels.Default.

Parameters

interactiveOptions ConsoleMonster.Interactive.InteractiveOptions required
The instance.
value ConsoleMonster.Interactive.PromptLabels? required
The value.

Returns

InteractiveOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.InteractiveOptions { Labels = value };    interactiveOptions.Labels(value);
public static InteractiveOptions Labels(InteractiveOptions interactiveOptions, Action<PromptLabels> configure) #

Configures InteractiveOptions.Labels in place (creating it when not set): The built-in words; null uses PromptLabels.Default.

Parameters

interactiveOptions ConsoleMonster.Interactive.InteractiveOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.PromptLabels> required
Configures the value.

Returns

InteractiveOptions The same instance.
public static TSelf Label<TSelf>(TSelf field, string value) #

Sets Field.Label: The label.

Type Parameters

TSelf

Parameters

field TSelf required
The instance.
value string required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property    // C# fluent
@field.Label = value;            @field.Label(value);
Layout 2 overloads
public static MenuOptions Layout(MenuOptions menuOptions, MenuLayout value) #

Sets MenuOptions.Layout: The layout.

Parameters

menuOptions ConsoleMonster.Interactive.MenuOptions required
The instance.
value ConsoleMonster.Interactive.MenuLayout required
The value.

Returns

MenuOptions The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::ConsoleMonster.Interactive.MenuOptions { Layout = value };    menuOptions.Layout(value);
public static Menu Layout(Menu menu, MenuLayout value) #

Sets Menu.Layout: The layout this menu prefers when MenuOptions.Layout is Auto.

Parameters

menu ConsoleMonster.Interactive.Menu required
The instance.
value ConsoleMonster.Interactive.MenuLayout required
The value.

Returns

Menu The same instance.

Examples

// C# initializer or property    // C# fluent
menu.Layout = value;             Ui.Menu().Layout(value);
public static InteractiveOptions LineConsole(InteractiveOptions interactiveOptions, ILineConsole? value) #

Sets InteractiveOptions.LineConsole: Line input and output for the line-based and accessible modes; null uses the console.

Parameters

interactiveOptions ConsoleMonster.Interactive.InteractiveOptions required
The instance.
value ConsoleMonster.Interactive.ILineConsole? required
The value.

Returns

InteractiveOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::ConsoleMonster.Interactive.InteractiveOptions { LineConsole = value };    interactiveOptions.LineConsole(value);
Live 2 overloads
public static ConsoleAppOptions Live(ConsoleAppOptions consoleAppOptions, LiveSessionOptions? value) #

Sets ConsoleAppOptions.Live: Optional full-screen live-session configuration, set before the run begins. Inline mode is rejected because its moving origin cannot provide frame-local mouse coordinates.

Parameters

consoleAppOptions ConsoleMonster.Interactive.ConsoleAppOptions required
The instance.
value ConsoleMonster.Live.LiveSessionOptions? required
The value.

Returns

ConsoleAppOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ConsoleMonster.Interactive.ConsoleAppOptions { Live = value };    consoleAppOptions.Live(value);
public static ConsoleAppOptions Live(ConsoleAppOptions consoleAppOptions, Action<LiveSessionOptions> configure) #

Configures ConsoleAppOptions.Live in place (creating it when not set): Optional full-screen live-session configuration, set before the run begins. Inline mode is rejected because its moving origin cannot provide frame-local mouse coordinates.

Parameters

consoleAppOptions ConsoleMonster.Interactive.ConsoleAppOptions required
The instance.
configure System.Action<ConsoleMonster.Live.LiveSessionOptions> required
Configures the value.

Returns

ConsoleAppOptions The same instance.
public static PromptLabels LoadFailed(PromptLabels promptLabels, string value) #

Sets PromptLabels.LoadFailed: Loading failed: {0}.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { LoadFailed = value };    promptLabels.LoadFailed(value);
public static PromptLabels Loading(PromptLabels promptLabels, string value) #

Sets PromptLabels.Loading: Options are loading.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Loading = value };    promptLabels.Loading(value);
public static PromptLabels ManyProblems(PromptLabels promptLabels, string value) #

Sets PromptLabels.ManyProblems: The problem count on a blocked Run button: {0} is the number of problems.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { ManyProblems = value };    promptLabels.ManyProblems(value);
Mask 2 overloads
public static TextInput Mask(TextInput textInput, string? value) #

Sets TextInput.Mask: The mask character for secrets, or null to show the text. An empty string hides the text entirely.

Parameters

textInput ConsoleMonster.Interactive.TextInput required
The instance.
value string? required
The value.

Returns

TextInput The same instance.

Examples

// C# initializer or property    // C# fluent
textInput.Mask = value;          textInput.Mask(value);
public static TextInputOptions Mask(TextInputOptions textInputOptions, string? value) #

Sets TextInputOptions.Mask: Single-line masking; null shows text and an empty string hides it.

Parameters

textInputOptions ConsoleMonster.Interactive.TextInputOptions required
The instance.
value string? required
The value.

Returns

TextInputOptions The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::ConsoleMonster.Interactive.TextInputOptions { Mask = value };    Ui.TextInput().Mask(value);
Maximum 8 overloads
public static DatePicker Maximum(DatePicker datePicker, DateTime? value) #

Sets DatePicker.Maximum: The latest committable date.

Parameters

datePicker ConsoleMonster.Interactive.DatePicker required
The instance.
value System.DateTime? required
The value.

Returns

DatePicker The same instance.

Examples

// C# initializer or property    // C# fluent
datePicker.Maximum = value;      datePicker.Maximum(value);
public static MenuItem Maximum(MenuItem menuItem, int? value) #

Sets MenuItem.Maximum: The most values of a multi-selection item.

Parameters

menuItem ConsoleMonster.Interactive.MenuItem required
The instance.
value int? required
The value.

Returns

MenuItem The same instance.

Examples

// C# initializer or property    // C# fluent
menuItem.Maximum = value;        Ui.MenuItem().Maximum(value);
public static SelectQuestionOptions Maximum(SelectQuestionOptions selectQuestionOptions, int? value) #

Sets SelectQuestionOptions.Maximum: The most answers; valid only with Multiple.

Parameters

selectQuestionOptions ConsoleMonster.Interactive.SelectQuestionOptions required
The instance.
value int? required
The value.

Returns

SelectQuestionOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::ConsoleMonster.Interactive.SelectQuestionOptions { Maximum = value };    Ui.SelectQuestion().Maximum(value);
public static DateSelectionOptions Maximum(DateSelectionOptions dateSelectionOptions, DateTime? value) #

Sets DateSelectionOptions.Maximum: Latest permitted date.

Parameters

dateSelectionOptions ConsoleMonster.Interactive.DateSelectionOptions required
The instance.
value System.DateTime? required
The value.

Returns

DateSelectionOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.DateSelectionOptions { Maximum = value };    dateSelectionOptions.Maximum(value);
public static NumberPrompt Maximum(NumberPrompt numberPrompt, decimal? value) #

Sets NumberPrompt.Maximum: The largest accepted value.

Parameters

numberPrompt ConsoleMonster.Interactive.NumberPrompt required
The instance.
value decimal? required
The value.

Returns

NumberPrompt The same instance.

Examples

// C# initializer or property    // C# fluent
numberPrompt.Maximum = value;    Ui.NumberPrompt().Maximum(value);
public static ChoiceField Maximum(ChoiceField choiceField, int? value) #

Sets ChoiceField.Maximum: The most values (multiple).

Parameters

choiceField ConsoleMonster.Interactive.ChoiceField required
The instance.
value int? required
The value.

Returns

ChoiceField The same instance.

Examples

// C# initializer or property    // C# fluent
choiceField.Maximum = value;     choiceField.Maximum(value);
public static NumberField Maximum(NumberField numberField, decimal? value) #

Sets NumberField.Maximum: The largest value.

Parameters

numberField ConsoleMonster.Interactive.NumberField required
The instance.
value decimal? required
The value.

Returns

NumberField The same instance.

Examples

// C# initializer or property    // C# fluent
numberField.Maximum = value;     numberField.Maximum(value);
public static PromptLabels Maximum(PromptLabels promptLabels, string value) #

Sets PromptLabels.Maximum: The number is too large: {0} is the maximum.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Maximum = value };    promptLabels.Maximum(value);
public static PromptLabels MaximumLength(PromptLabels promptLabels, string value) #

Sets PromptLabels.MaximumLength: Too long: {0} characters at most.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { MaximumLength = value };    promptLabels.MaximumLength(value);
public static PromptLabels MaximumLines(PromptLabels promptLabels, string value) #

Sets PromptLabels.MaximumLines: Too many lines: {0} at most.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { MaximumLines = value };    promptLabels.MaximumLines(value);
public static PromptLabels MaximumSelected(PromptLabels promptLabels, string value) #

Sets PromptLabels.MaximumSelected: Too many items selected: {0}.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { MaximumSelected = value };    promptLabels.MaximumSelected(value);
public static MultiSelectPrompt<T?> Maximum<T>(MultiSelectPrompt<T?> multiSelectPrompt, int? value) #

Sets MultiSelectPrompt<T>.Maximum: The most values accepted.

Type Parameters

T

Parameters

multiSelectPrompt ConsoleMonster.Interactive.MultiSelectPrompt<T?> required
The instance.
value int? required
The value.

Returns

MultiSelectPrompt<T?> The same instance.

Examples

// C# initializer or property         // C# fluent
multiSelectPrompt.Maximum = value;    multiSelectPrompt.Maximum(value);
public static InteractiveOptions MaxInlineHeight(InteractiveOptions interactiveOptions, int? value) #

Sets InteractiveOptions.MaxInlineHeight: The most rows an inline prompt may take (default: the window height minus two, at most 20).

Parameters

interactiveOptions ConsoleMonster.Interactive.InteractiveOptions required
The instance.
value int? required
The value.

Returns

InteractiveOptions The same instance.

Examples

// C# initializer or property                                                             // C# fluent
new global::ConsoleMonster.Interactive.InteractiveOptions { MaxInlineHeight = value };    interactiveOptions.MaxInlineHeight(value);
MaxLength 6 overloads
public static TextInput MaxLength(TextInput textInput, int value) #

Sets TextInput.MaxLength: The maximum text length, in UTF-16 units.

Parameters

textInput ConsoleMonster.Interactive.TextInput required
The instance.
value int required
The value.

Returns

TextInput The same instance.

Examples

// C# initializer or property    // C# fluent
textInput.MaxLength = value;     textInput.MaxLength(value);
public static TextInputOptions MaxLength(TextInputOptions textInputOptions, int value) #

Sets TextInputOptions.MaxLength: The maximum number of UTF-16 units.

Parameters

textInputOptions ConsoleMonster.Interactive.TextInputOptions required
The instance.
value int required
The value.

Returns

TextInputOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.TextInputOptions { MaxLength = value };    Ui.TextInput().MaxLength(value);
public static TextQuestionOptions MaxLength(TextQuestionOptions textQuestionOptions, int value) #

Sets TextQuestionOptions.MaxLength: The maximum character count for ordinary text.

Parameters

textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions required
The instance.
value int required
The value.

Returns

TextQuestionOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::ConsoleMonster.Interactive.TextQuestionOptions { MaxLength = value };    Ui.TextQuestion().MaxLength(value);
public static TextPrompt MaxLength(TextPrompt textPrompt, int value) #

Sets TextPrompt.MaxLength: The most characters the box takes.

Parameters

textPrompt ConsoleMonster.Interactive.TextPrompt required
The instance.
value int required
The value.

Returns

TextPrompt The same instance.

Examples

// C# initializer or property    // C# fluent
textPrompt.MaxLength = value;    textPrompt.MaxLength(value);
public static TextAreaField MaxLength(TextAreaField textAreaField, int value) #

Sets TextAreaField.MaxLength: The most characters.

Parameters

textAreaField ConsoleMonster.Interactive.TextAreaField required
The instance.
value int required
The value.

Returns

TextAreaField The same instance.

Examples

// C# initializer or property       // C# fluent
textAreaField.MaxLength = value;    textAreaField.MaxLength(value);
public static TextField MaxLength(TextField textField, int value) #

Sets TextField.MaxLength: The most characters.

Parameters

textField ConsoleMonster.Interactive.TextField required
The instance.
value int required
The value.

Returns

TextField The same instance.

Examples

// C# initializer or property    // C# fluent
textField.MaxLength = value;     textField.MaxLength(value);
MaxLines 2 overloads
public static TextQuestionOptions MaxLines(TextQuestionOptions textQuestionOptions, int value) #

Sets TextQuestionOptions.MaxLines: Maximum lines for multiline text.

Parameters

textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions required
The instance.
value int required
The value.

Returns

TextQuestionOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.TextQuestionOptions { MaxLines = value };    Ui.TextQuestion().MaxLines(value);
public static TextAreaField MaxLines(TextAreaField textAreaField, int value) #

Sets TextAreaField.MaxLines: The most lines.

Parameters

textAreaField ConsoleMonster.Interactive.TextAreaField required
The instance.
value int required
The value.

Returns

TextAreaField The same instance.

Examples

// C# initializer or property      // C# fluent
textAreaField.MaxLines = value;    textAreaField.MaxLines(value);
public static FormDialogOptions MaxWidth(FormDialogOptions formDialogOptions, int value) #

Sets FormDialogOptions.MaxWidth: Maximum dialog width in cells.

Parameters

formDialogOptions ConsoleMonster.Interactive.FormDialogOptions required
The instance.
value int required
The value.

Returns

FormDialogOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.FormDialogOptions { MaxWidth = value };    Ui.Dialog().MaxWidth(value);
Minimum 8 overloads
public static DatePicker Minimum(DatePicker datePicker, DateTime? value) #

Sets DatePicker.Minimum: The earliest committable date.

Parameters

datePicker ConsoleMonster.Interactive.DatePicker required
The instance.
value System.DateTime? required
The value.

Returns

DatePicker The same instance.

Examples

// C# initializer or property    // C# fluent
datePicker.Minimum = value;      datePicker.Minimum(value);
public static MenuItem Minimum(MenuItem menuItem, int? value) #

Sets MenuItem.Minimum: The fewest values of a multi-selection item.

Parameters

menuItem ConsoleMonster.Interactive.MenuItem required
The instance.
value int? required
The value.

Returns

MenuItem The same instance.

Examples

// C# initializer or property    // C# fluent
menuItem.Minimum = value;        Ui.MenuItem().Minimum(value);
public static SelectQuestionOptions Minimum(SelectQuestionOptions selectQuestionOptions, int? value) #

Sets SelectQuestionOptions.Minimum: The fewest answers; valid only with Multiple.

Parameters

selectQuestionOptions ConsoleMonster.Interactive.SelectQuestionOptions required
The instance.
value int? required
The value.

Returns

SelectQuestionOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::ConsoleMonster.Interactive.SelectQuestionOptions { Minimum = value };    Ui.SelectQuestion().Minimum(value);
public static DateSelectionOptions Minimum(DateSelectionOptions dateSelectionOptions, DateTime? value) #

Sets DateSelectionOptions.Minimum: Earliest permitted date.

Parameters

dateSelectionOptions ConsoleMonster.Interactive.DateSelectionOptions required
The instance.
value System.DateTime? required
The value.

Returns

DateSelectionOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.DateSelectionOptions { Minimum = value };    dateSelectionOptions.Minimum(value);
public static NumberPrompt Minimum(NumberPrompt numberPrompt, decimal? value) #

Sets NumberPrompt.Minimum: The smallest accepted value.

Parameters

numberPrompt ConsoleMonster.Interactive.NumberPrompt required
The instance.
value decimal? required
The value.

Returns

NumberPrompt The same instance.

Examples

// C# initializer or property    // C# fluent
numberPrompt.Minimum = value;    Ui.NumberPrompt().Minimum(value);
public static ChoiceField Minimum(ChoiceField choiceField, int? value) #

Sets ChoiceField.Minimum: The fewest values (multiple).

Parameters

choiceField ConsoleMonster.Interactive.ChoiceField required
The instance.
value int? required
The value.

Returns

ChoiceField The same instance.

Examples

// C# initializer or property    // C# fluent
choiceField.Minimum = value;     choiceField.Minimum(value);
public static NumberField Minimum(NumberField numberField, decimal? value) #

Sets NumberField.Minimum: The smallest value.

Parameters

numberField ConsoleMonster.Interactive.NumberField required
The instance.
value decimal? required
The value.

Returns

NumberField The same instance.

Examples

// C# initializer or property    // C# fluent
numberField.Minimum = value;     numberField.Minimum(value);
public static PromptLabels Minimum(PromptLabels promptLabels, string value) #

Sets PromptLabels.Minimum: The number is too small: {0} is the minimum.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Minimum = value };    promptLabels.Minimum(value);
public static ConsoleAppOptions MinimumHeight(ConsoleAppOptions consoleAppOptions, int value) #

Sets ConsoleAppOptions.MinimumHeight: Optional minimum terminal height; zero permits any height.

Parameters

consoleAppOptions ConsoleMonster.Interactive.ConsoleAppOptions required
The instance.
value int required
The value.

Returns

ConsoleAppOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::ConsoleMonster.Interactive.ConsoleAppOptions { MinimumHeight = value };    consoleAppOptions.MinimumHeight(value);
public static PromptLabels MinimumLength(PromptLabels promptLabels, string value) #

Sets PromptLabels.MinimumLength: Too short: {0} characters at least.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { MinimumLength = value };    promptLabels.MinimumLength(value);
public static PromptLabels MinimumSelected(PromptLabels promptLabels, string value) #

Sets PromptLabels.MinimumSelected: Too few items selected: {0}.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { MinimumSelected = value };    promptLabels.MinimumSelected(value);
public static ConsoleAppOptions MinimumWidth(ConsoleAppOptions consoleAppOptions, int value) #

Sets ConsoleAppOptions.MinimumWidth: Optional minimum terminal width; zero permits any width.

Parameters

consoleAppOptions ConsoleMonster.Interactive.ConsoleAppOptions required
The instance.
value int required
The value.

Returns

ConsoleAppOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::ConsoleMonster.Interactive.ConsoleAppOptions { MinimumWidth = value };    consoleAppOptions.MinimumWidth(value);
public static MultiSelectPrompt<T?> Minimum<T>(MultiSelectPrompt<T?> multiSelectPrompt, int? value) #

Sets MultiSelectPrompt<T>.Minimum: The fewest values accepted.

Type Parameters

T

Parameters

multiSelectPrompt ConsoleMonster.Interactive.MultiSelectPrompt<T?> required
The instance.
value int? required
The value.

Returns

MultiSelectPrompt<T?> The same instance.

Examples

// C# initializer or property         // C# fluent
multiSelectPrompt.Minimum = value;    multiSelectPrompt.Minimum(value);
MinLength 6 overloads
public static TextQuestionOptions MinLength(TextQuestionOptions textQuestionOptions, int value) #

Sets TextQuestionOptions.MinLength: The minimum accepted character count.

Parameters

textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions required
The instance.
value int required
The value.

Returns

TextQuestionOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::ConsoleMonster.Interactive.TextQuestionOptions { MinLength = value };    Ui.TextQuestion().MinLength(value);
public static SecretPrompt MinLength(SecretPrompt secretPrompt, int value) #

Sets SecretPrompt.MinLength: The fewest characters accepted.

Parameters

secretPrompt ConsoleMonster.Interactive.SecretPrompt required
The instance.
value int required
The value.

Returns

SecretPrompt The same instance.

Examples

// C# initializer or property      // C# fluent
secretPrompt.MinLength = value;    secretPrompt.MinLength(value);
public static TextPrompt MinLength(TextPrompt textPrompt, int value) #

Sets TextPrompt.MinLength: The fewest characters accepted.

Parameters

textPrompt ConsoleMonster.Interactive.TextPrompt required
The instance.
value int required
The value.

Returns

TextPrompt The same instance.

Examples

// C# initializer or property    // C# fluent
textPrompt.MinLength = value;    textPrompt.MinLength(value);
public static SecretField MinLength(SecretField secretField, int value) #

Sets SecretField.MinLength: The fewest characters.

Parameters

secretField ConsoleMonster.Interactive.SecretField required
The instance.
value int required
The value.

Returns

SecretField The same instance.

Examples

// C# initializer or property     // C# fluent
secretField.MinLength = value;    secretField.MinLength(value);
public static TextAreaField MinLength(TextAreaField textAreaField, int value) #

Sets TextAreaField.MinLength: The fewest characters.

Parameters

textAreaField ConsoleMonster.Interactive.TextAreaField required
The instance.
value int required
The value.

Returns

TextAreaField The same instance.

Examples

// C# initializer or property       // C# fluent
textAreaField.MinLength = value;    textAreaField.MinLength(value);
public static TextField MinLength(TextField textField, int value) #

Sets TextField.MinLength: The fewest characters.

Parameters

textField ConsoleMonster.Interactive.TextField required
The instance.
value int required
The value.

Returns

TextField The same instance.

Examples

// C# initializer or property    // C# fluent
textField.MinLength = value;     textField.MinLength(value);
public static InteractiveOptions Mode(InteractiveOptions interactiveOptions, InteractionMode? value) #

Sets InteractiveOptions.Mode: Forces an interaction mode; null detects it (see InteractiveOptions.ResolveMode).

Parameters

interactiveOptions ConsoleMonster.Interactive.InteractiveOptions required
The instance.
value ConsoleMonster.Interactive.InteractionMode? required
The value.

Returns

InteractiveOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.InteractiveOptions { Mode = value };    interactiveOptions.Mode(value);
public static PromptLabels More(PromptLabels promptLabels, string value) #

Sets PromptLabels.More: More items above or below the visible part of a list: {0}.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { More = value };    promptLabels.More(value);
Mouse 2 overloads
public static ConsoleAppOptions Mouse(ConsoleAppOptions consoleAppOptions, bool value) #

Sets ConsoleAppOptions.Mouse: Enables optional terminal mouse reporting for an interactive run. Keyboard operation is always available.

Parameters

consoleAppOptions ConsoleMonster.Interactive.ConsoleAppOptions required
The instance.
value bool required
The value.

Returns

ConsoleAppOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.ConsoleAppOptions { Mouse = value };    consoleAppOptions.Mouse(value);
public static ConsoleAppOptions Mouse(ConsoleAppOptions consoleAppOptions) #

Sets ConsoleAppOptions.Mouse to true.

Parameters

consoleAppOptions ConsoleMonster.Interactive.ConsoleAppOptions required
The instance to configure.

Returns

ConsoleAppOptions The same instance.
Multiline 4 overloads
public static TextInputOptions Multiline(TextInputOptions textInputOptions, bool value) #

Sets TextInputOptions.Multiline: Whether to create a multiline text area.

Parameters

textInputOptions ConsoleMonster.Interactive.TextInputOptions required
The instance.
value bool required
The value.

Returns

TextInputOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.TextInputOptions { Multiline = value };    Ui.TextInput().Multiline(value);
public static TextInputOptions Multiline(TextInputOptions textInputOptions) #

Sets TextInputOptions.Multiline to true.

Parameters

textInputOptions ConsoleMonster.Interactive.TextInputOptions required
The instance to configure.

Returns

TextInputOptions The same instance.
public static TextQuestionOptions Multiline(TextQuestionOptions textQuestionOptions, bool value) #

Sets TextQuestionOptions.Multiline: Uses the multiline editor; unavailable with AsSecret.

Parameters

textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions required
The instance.
value bool required
The value.

Returns

TextQuestionOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::ConsoleMonster.Interactive.TextQuestionOptions { Multiline = value };    Ui.TextQuestion().Multiline(value);
public static TextQuestionOptions Multiline(TextQuestionOptions textQuestionOptions) #

Sets TextQuestionOptions.Multiline to true.

Parameters

textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions required
The instance to configure.

Returns

TextQuestionOptions The same instance.
Multiple 4 overloads
public static SelectQuestionOptions Multiple(SelectQuestionOptions selectQuestionOptions, bool value) #

Sets SelectQuestionOptions.Multiple: Whether the answer is a collection instead of one value.

Parameters

selectQuestionOptions ConsoleMonster.Interactive.SelectQuestionOptions required
The instance.
value bool required
The value.

Returns

SelectQuestionOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::ConsoleMonster.Interactive.SelectQuestionOptions { Multiple = value };    Ui.SelectQuestion().Multiple(value);
public static SelectQuestionOptions Multiple(SelectQuestionOptions selectQuestionOptions) #

Sets SelectQuestionOptions.Multiple to true.

Parameters

selectQuestionOptions ConsoleMonster.Interactive.SelectQuestionOptions required
The instance to configure.

Returns

SelectQuestionOptions The same instance.
public static SelectInputOptions Multiple(SelectInputOptions selectInputOptions, bool value) #

Sets SelectInputOptions.Multiple: Whether the committed value is a collection.

Parameters

selectInputOptions ConsoleMonster.Interactive.SelectInputOptions required
The instance.
value bool required
The value.

Returns

SelectInputOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ConsoleMonster.Interactive.SelectInputOptions { Multiple = value };    Ui.Select().Multiple(value);
public static SelectInputOptions Multiple(SelectInputOptions selectInputOptions) #

Sets SelectInputOptions.Multiple to true.

Parameters

selectInputOptions ConsoleMonster.Interactive.SelectInputOptions required
The instance to configure.

Returns

SelectInputOptions The same instance.
MustExist 4 overloads
public static PathPrompt MustExist(PathPrompt pathPrompt, bool value) #

Sets PathPrompt.MustExist: Whether the path must exist.

Parameters

pathPrompt ConsoleMonster.Interactive.PathPrompt required
The instance.
value bool required
The value.

Returns

PathPrompt The same instance.

Examples

// C# initializer or property    // C# fluent
pathPrompt.MustExist = value;    Ui.PathPrompt().MustExist(value);
public static PathPrompt MustExist(PathPrompt pathPrompt) #

Sets PathPrompt.MustExist to true.

Parameters

pathPrompt ConsoleMonster.Interactive.PathPrompt required
The instance to configure.

Returns

PathPrompt The same instance.
public static PathField MustExist(PathField pathField, bool value) #

Sets PathField.MustExist: Whether the path must exist.

Parameters

pathField ConsoleMonster.Interactive.PathField required
The instance.
value bool required
The value.

Returns

PathField The same instance.

Examples

// C# initializer or property    // C# fluent
pathField.MustExist = value;     pathField.MustExist(value);
public static PathField MustExist(PathField pathField) #

Sets PathField.MustExist to true.

Parameters

pathField ConsoleMonster.Interactive.PathField required
The instance to configure.

Returns

PathField The same instance.
public static PromptLabels Next(PromptLabels promptLabels, string value) #

Sets PromptLabels.Next: The next button.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Next = value };    promptLabels.Next(value);
public static PromptLabels NextActions(PromptLabels promptLabels, string value) #

Sets PromptLabels.NextActions: The next-actions heading after a run.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { NextActions = value };    promptLabels.NextActions(value);
public static AppHostKeys NextFocus(AppHostKeys appHostKeys, KeyChord? value) #

Sets AppHostKeys.NextFocus: Focus the next input; null lets the registry claim Tab.

Parameters

appHostKeys ConsoleMonster.Interactive.AppHostKeys required
The instance.
value ConsoleMonster.Input.KeyChord? required
The value.

Returns

AppHostKeys The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::ConsoleMonster.Interactive.AppHostKeys { NextFocus = value };    appHostKeys.NextFocus(value);
public static PromptLabels No(PromptLabels promptLabels, string value) #

Sets PromptLabels.No: The answer "no".

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { No = value };    promptLabels.No(value);
public static PromptLabels NoMatches(PromptLabels promptLabels, string value) #

Sets PromptLabels.NoMatches: A filter matched nothing.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { NoMatches = value };    promptLabels.NoMatches(value);
NonInteractive 2 overloads
public static InteractiveOptions NonInteractive(InteractiveOptions interactiveOptions, bool value) #

Sets InteractiveOptions.NonInteractive: Treats the session as non-interactive (PowerShell's -NonInteractive): prompts use defaults or fail.

Parameters

interactiveOptions ConsoleMonster.Interactive.InteractiveOptions required
The instance.
value bool required
The value.

Returns

InteractiveOptions The same instance.

Examples

// C# initializer or property                                                            // C# fluent
new global::ConsoleMonster.Interactive.InteractiveOptions { NonInteractive = value };    interactiveOptions.NonInteractive(value);
public static InteractiveOptions NonInteractive(InteractiveOptions interactiveOptions) #

Sets InteractiveOptions.NonInteractive to true.

Parameters

interactiveOptions ConsoleMonster.Interactive.InteractiveOptions required
The instance to configure.

Returns

InteractiveOptions The same instance.
public static PromptLabels NonInteractiveNeedsDefault(PromptLabels promptLabels, string value) #

Sets PromptLabels.NonInteractiveNeedsDefault: Non-interactive and no default, without a parameter: {0} the prompt.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                                  // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { NonInteractiveNeedsDefault = value };    promptLabels.NonInteractiveNeedsDefault(value);
public static PromptLabels NonInteractiveNeedsValue(PromptLabels promptLabels, string value) #

Sets PromptLabels.NonInteractiveNeedsValue: Non-interactive and no default: {0} the prompt, {1} the parameter.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                                // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { NonInteractiveNeedsValue = value };    promptLabels.NonInteractiveNeedsValue(value);
public static PromptLabels NoPresets(PromptLabels promptLabels, string value) #

Sets PromptLabels.NoPresets: No presets exist yet.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { NoPresets = value };    promptLabels.NoPresets(value);
public static PromptLabels NotAChoice(PromptLabels promptLabels, string value) #

Sets PromptLabels.NotAChoice: Accessible mode: the answer was not one of the numbers: {0}.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { NotAChoice = value };    promptLabels.NotAChoice(value);
public static PromptLabels NotANumber(PromptLabels promptLabels, string value) #

Sets PromptLabels.NotANumber: The text is not a number.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { NotANumber = value };    promptLabels.NotANumber(value);
public static PromptLabels NotAWholeNumber(PromptLabels promptLabels, string value) #

Sets PromptLabels.NotAWholeNumber: The text is not a whole number.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { NotAWholeNumber = value };    promptLabels.NotAWholeNumber(value);
public static ConfirmPrompt NoText(ConfirmPrompt confirmPrompt, string? value) #

Sets ConfirmPrompt.NoText: The caption of the negative answer; null uses the labels.

Parameters

confirmPrompt ConsoleMonster.Interactive.ConfirmPrompt required
The instance.
value string? required
The value.

Returns

ConfirmPrompt The same instance.

Examples

// C# initializer or property    // C# fluent
confirmPrompt.NoText = value;    Ui.ConfirmPrompt().NoText(value);
OffText 3 overloads
public static Toggle OffText(Toggle toggle, string? value) #

Sets Toggle.OffText: Text after the unchecked box; null uses the current language's No label.

Parameters

toggle ConsoleMonster.Interactive.Toggle required
The instance.
value string? required
The value.

Returns

Toggle The same instance.

Examples

// C# initializer or property    // C# fluent
toggle.OffText = value;          toggle.OffText(value);
public static ToggleInputOptions OffText(ToggleInputOptions toggleInputOptions, string? value) #

Sets ToggleInputOptions.OffText: Text for the unchecked value; null uses the localized No label.

Parameters

toggleInputOptions ConsoleMonster.Interactive.ToggleInputOptions required
The instance.
value string? required
The value.

Returns

ToggleInputOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.ToggleInputOptions { OffText = value };    Ui.Toggle().OffText(value);
public static ToggleField OffText(ToggleField toggleField, string? value) #

Sets ToggleField.OffText: Text after the box when off; null uses "No".

Parameters

toggleField ConsoleMonster.Interactive.ToggleField required
The instance.
value string? required
The value.

Returns

ToggleField The same instance.

Examples

// C# initializer or property    // C# fluent
toggleField.OffText = value;     toggleField.OffText(value);
public static PromptLabels OneProblem(PromptLabels promptLabels, string value) #

Sets PromptLabels.OneProblem: The problem count on a blocked Run button when there is one problem.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { OneProblem = value };    promptLabels.OneProblem(value);
OnText 3 overloads
public static Toggle OnText(Toggle toggle, string? value) #

Sets Toggle.OnText: Text after the checked box; null uses the current language's Yes label.

Parameters

toggle ConsoleMonster.Interactive.Toggle required
The instance.
value string? required
The value.

Returns

Toggle The same instance.

Examples

// C# initializer or property    // C# fluent
toggle.OnText = value;           toggle.OnText(value);
public static ToggleInputOptions OnText(ToggleInputOptions toggleInputOptions, string? value) #

Sets ToggleInputOptions.OnText: Text for the checked value; null uses the localized Yes label.

Parameters

toggleInputOptions ConsoleMonster.Interactive.ToggleInputOptions required
The instance.
value string? required
The value.

Returns

ToggleInputOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.ToggleInputOptions { OnText = value };    Ui.Toggle().OnText(value);
public static ToggleField OnText(ToggleField toggleField, string? value) #

Sets ToggleField.OnText: Text after the box when on; null uses "Yes".

Parameters

toggleField ConsoleMonster.Interactive.ToggleField required
The instance.
value string? required
The value.

Returns

ToggleField The same instance.

Examples

// C# initializer or property    // C# fluent
toggleField.OnText = value;      toggleField.OnText(value);
public static ObjectExplorer Options(ObjectExplorer objectExplorer, Action<InspectorOptions> configure) #

Configures ObjectExplorer.Options in place: The adapters and limits shared by each expansion.

Parameters

objectExplorer ConsoleMonster.Interactive.ObjectExplorer required
The instance.
configure System.Action<ConsoleMonster.Data.InspectorOptions> required
Configures the value.

Returns

ObjectExplorer The same instance.
public static KeyBinding Order(KeyBinding keyBinding, int value) #

Sets KeyBinding.Order: Footer priority: lower values are shown first and dropped last when space runs out.

Parameters

keyBinding ConsoleMonster.Interactive.KeyBinding required
The instance.
value int required
The value.

Returns

KeyBinding The same instance.

Examples

// C# initializer or property    // C# fluent
keyBinding.Order = value;        keyBinding.Order(value);
public static PromptLabels Output(PromptLabels promptLabels, string value) #

Sets PromptLabels.Output: The title of the dialog that shows what an action wrote.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Output = value };    promptLabels.Output(value);
public static TerminalHandoff OutputCapacity(TerminalHandoff terminalHandoff, int value) #

Sets TerminalHandoff.OutputCapacity: Maximum retained output characters. Old output is dropped from the front; no child input is retained.

Parameters

terminalHandoff ConsoleMonster.Interactive.TerminalHandoff required
The instance.
value int required
The value.

Returns

TerminalHandoff The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::ConsoleMonster.Interactive.TerminalHandoff { OutputCapacity = value };    terminalHandoff.OutputCapacity(value);
public static Grid OutputMode(Grid grid, GridSelection value) #

Sets Grid.OutputMode: What the grid returns (default GridSelection.Multiple).

Parameters

grid ConsoleMonster.Interactive.Grid required
The instance.
value ConsoleMonster.Interactive.GridSelection required
The value.

Returns

Grid The same instance.

Examples

// C# initializer or property    // C# fluent
grid.OutputMode = value;         Ui.Grid().OutputMode(value);
PageSize 3 overloads
public static Select PageSize(Select select, int value) #

Sets SelectionInputBase.PageSize: The preferred number of choice rows, at least one. Set before running.

Parameters

select ConsoleMonster.Interactive.Select required
The instance.
value int required
The value.

Returns

Select The same instance.

Examples

// C# initializer or property    // C# fluent
@select.PageSize = value;        @select.PageSize(value);
public static SelectQuestionOptions PageSize(SelectQuestionOptions selectQuestionOptions, int value) #

Sets SelectQuestionOptions.PageSize: The preferred number of visible choices; zero retains the renderer default (10 single, 12 multiple).

Parameters

selectQuestionOptions ConsoleMonster.Interactive.SelectQuestionOptions required
The instance.
value int required
The value.

Returns

SelectQuestionOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::ConsoleMonster.Interactive.SelectQuestionOptions { PageSize = value };    Ui.SelectQuestion().PageSize(value);
public static SelectInputOptions PageSize(SelectInputOptions selectInputOptions, int? value) #

Sets SelectInputOptions.PageSize: Visible choice rows; null keeps the control default.

Parameters

selectInputOptions ConsoleMonster.Interactive.SelectInputOptions required
The instance.
value int? required
The value.

Returns

SelectInputOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ConsoleMonster.Interactive.SelectInputOptions { PageSize = value };    Ui.Select().PageSize(value);
PageSize``1 2 overloads
public static MultiSelectPrompt<T?> PageSize<T>(MultiSelectPrompt<T?> multiSelectPrompt, int value) #

Sets MultiSelectPrompt<T>.PageSize: The preferred number of visible rows.

Type Parameters

T

Parameters

multiSelectPrompt ConsoleMonster.Interactive.MultiSelectPrompt<T?> required
The instance.
value int required
The value.

Returns

MultiSelectPrompt<T?> The same instance.

Examples

// C# initializer or property          // C# fluent
multiSelectPrompt.PageSize = value;    multiSelectPrompt.PageSize(value);
public static SelectPrompt<T?> PageSize<T>(SelectPrompt<T?> selectPrompt, int value) #

Sets SelectPrompt<T>.PageSize: The preferred number of visible rows.

Type Parameters

T

Parameters

selectPrompt ConsoleMonster.Interactive.SelectPrompt<T?> required
The instance.
value int required
The value.

Returns

SelectPrompt<T?> The same instance.

Examples

// C# initializer or property     // C# fluent
selectPrompt.PageSize = value;    selectPrompt.PageSize(value);
public static AppHostKeys Palette(AppHostKeys appHostKeys, KeyChord? value) #

Sets AppHostKeys.Palette: Open the action palette.

Parameters

appHostKeys ConsoleMonster.Interactive.AppHostKeys required
The instance.
value ConsoleMonster.Input.KeyChord? required
The value.

Returns

AppHostKeys The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::ConsoleMonster.Interactive.AppHostKeys { Palette = value };    appHostKeys.Palette(value);
ParameterName 16 overloads
public static SelectQuestionOptions ParameterName(SelectQuestionOptions selectQuestionOptions, string? value) #

Sets SelectQuestionOptions.ParameterName: The caller parameter named when an answer is missing.

Parameters

selectQuestionOptions ConsoleMonster.Interactive.SelectQuestionOptions required
The instance.
value string? required
The value.

Returns

SelectQuestionOptions The same instance.

Examples

// C# initializer or property                                                              // C# fluent
new global::ConsoleMonster.Interactive.SelectQuestionOptions { ParameterName = value };    Ui.SelectQuestion().ParameterName(value);
public static TextQuestionOptions ParameterName(TextQuestionOptions textQuestionOptions, string? value) #

Sets TextQuestionOptions.ParameterName: The caller parameter named when a non-interactive answer is missing.

Parameters

textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions required
The instance.
value string? required
The value.

Returns

TextQuestionOptions The same instance.

Examples

// C# initializer or property                                                            // C# fluent
new global::ConsoleMonster.Interactive.TextQuestionOptions { ParameterName = value };    Ui.TextQuestion().ParameterName(value);
public static ConfirmPrompt ParameterName(ConfirmPrompt confirmPrompt, string? value) #

Sets Prompt<bool>.ParameterName: The parameter that supplies this value non-interactively (-Domain, --domain); named in the non-interactive error message.

Parameters

confirmPrompt ConsoleMonster.Interactive.ConfirmPrompt required
The instance.
value string? required
The value.

Returns

ConfirmPrompt The same instance.

Examples

// C# initializer or property           // C# fluent
confirmPrompt.ParameterName = value;    Ui.ConfirmPrompt().ParameterName(value);
public static DatePrompt ParameterName(DatePrompt datePrompt, string? value) #

Sets Prompt<object>.ParameterName: The parameter that supplies this value non-interactively (-Domain, --domain); named in the non-interactive error message.

Parameters

datePrompt ConsoleMonster.Interactive.DatePrompt required
The instance.
value string? required
The value.

Returns

DatePrompt The same instance.

Examples

// C# initializer or property        // C# fluent
datePrompt.ParameterName = value;    Ui.DatePrompt().ParameterName(value);
public static NumberPrompt ParameterName(NumberPrompt numberPrompt, string? value) #

Sets Prompt<decimal>.ParameterName: The parameter that supplies this value non-interactively (-Domain, --domain); named in the non-interactive error message.

Parameters

numberPrompt ConsoleMonster.Interactive.NumberPrompt required
The instance.
value string? required
The value.

Returns

NumberPrompt The same instance.

Examples

// C# initializer or property          // C# fluent
numberPrompt.ParameterName = value;    Ui.NumberPrompt().ParameterName(value);
public static PathPrompt ParameterName(PathPrompt pathPrompt, string? value) #

Sets Prompt<string>.ParameterName: The parameter that supplies this value non-interactively (-Domain, --domain); named in the non-interactive error message.

Parameters

pathPrompt ConsoleMonster.Interactive.PathPrompt required
The instance.
value string? required
The value.

Returns

PathPrompt The same instance.

Examples

// C# initializer or property        // C# fluent
pathPrompt.ParameterName = value;    Ui.PathPrompt().ParameterName(value);
public static SecretPrompt ParameterName(SecretPrompt secretPrompt, string? value) #

Sets Prompt<string>.ParameterName: The parameter that supplies this value non-interactively (-Domain, --domain); named in the non-interactive error message.

Parameters

secretPrompt ConsoleMonster.Interactive.SecretPrompt required
The instance.
value string? required
The value.

Returns

SecretPrompt The same instance.

Examples

// C# initializer or property          // C# fluent
secretPrompt.ParameterName = value;    secretPrompt.ParameterName(value);
public static TextPrompt ParameterName(TextPrompt textPrompt, string? value) #

Sets Prompt<string>.ParameterName: The parameter that supplies this value non-interactively (-Domain, --domain); named in the non-interactive error message.

Parameters

textPrompt ConsoleMonster.Interactive.TextPrompt required
The instance.
value string? required
The value.

Returns

TextPrompt The same instance.

Examples

// C# initializer or property        // C# fluent
textPrompt.ParameterName = value;    textPrompt.ParameterName(value);
public static TypedConfirmPrompt ParameterName(TypedConfirmPrompt typedConfirmPrompt, string? value) #

Sets Prompt<bool>.ParameterName: The parameter that supplies this value non-interactively (-Domain, --domain); named in the non-interactive error message.

Parameters

typedConfirmPrompt ConsoleMonster.Interactive.TypedConfirmPrompt required
The instance.
value string? required
The value.

Returns

TypedConfirmPrompt The same instance.

Examples

// C# initializer or property                // C# fluent
typedConfirmPrompt.ParameterName = value;    Ui.TypedConfirmPrompt().ParameterName(value);
public static ChoiceField ParameterName(ChoiceField choiceField, string? value) #

Sets Field.ParameterName: The command-line parameter this field supplies (Domain, -Domain, --domain); null leaves the field out of the equivalent command.

Parameters

choiceField ConsoleMonster.Interactive.ChoiceField required
The instance.
value string? required
The value.

Returns

ChoiceField The same instance.

Examples

// C# initializer or property         // C# fluent
choiceField.ParameterName = value;    choiceField.ParameterName(value);
public static NumberField ParameterName(NumberField numberField, string? value) #

Sets Field.ParameterName: The command-line parameter this field supplies (Domain, -Domain, --domain); null leaves the field out of the equivalent command.

Parameters

numberField ConsoleMonster.Interactive.NumberField required
The instance.
value string? required
The value.

Returns

NumberField The same instance.

Examples

// C# initializer or property         // C# fluent
numberField.ParameterName = value;    numberField.ParameterName(value);
public static PathField ParameterName(PathField pathField, string? value) #

Sets Field.ParameterName: The command-line parameter this field supplies (Domain, -Domain, --domain); null leaves the field out of the equivalent command.

Parameters

pathField ConsoleMonster.Interactive.PathField required
The instance.
value string? required
The value.

Returns

PathField The same instance.

Examples

// C# initializer or property       // C# fluent
pathField.ParameterName = value;    pathField.ParameterName(value);
public static SecretField ParameterName(SecretField secretField, string? value) #

Sets Field.ParameterName: The command-line parameter this field supplies (Domain, -Domain, --domain); null leaves the field out of the equivalent command.

Parameters

secretField ConsoleMonster.Interactive.SecretField required
The instance.
value string? required
The value.

Returns

SecretField The same instance.

Examples

// C# initializer or property         // C# fluent
secretField.ParameterName = value;    secretField.ParameterName(value);
public static TextAreaField ParameterName(TextAreaField textAreaField, string? value) #

Sets Field.ParameterName: The command-line parameter this field supplies (Domain, -Domain, --domain); null leaves the field out of the equivalent command.

Parameters

textAreaField ConsoleMonster.Interactive.TextAreaField required
The instance.
value string? required
The value.

Returns

TextAreaField The same instance.

Examples

// C# initializer or property           // C# fluent
textAreaField.ParameterName = value;    textAreaField.ParameterName(value);
public static TextField ParameterName(TextField textField, string? value) #

Sets Field.ParameterName: The command-line parameter this field supplies (Domain, -Domain, --domain); null leaves the field out of the equivalent command.

Parameters

textField ConsoleMonster.Interactive.TextField required
The instance.
value string? required
The value.

Returns

TextField The same instance.

Examples

// C# initializer or property       // C# fluent
textField.ParameterName = value;    textField.ParameterName(value);
public static ToggleField ParameterName(ToggleField toggleField, string? value) #

Sets Field.ParameterName: The command-line parameter this field supplies (Domain, -Domain, --domain); null leaves the field out of the equivalent command.

Parameters

toggleField ConsoleMonster.Interactive.ToggleField required
The instance.
value string? required
The value.

Returns

ToggleField The same instance.

Examples

// C# initializer or property         // C# fluent
toggleField.ParameterName = value;    toggleField.ParameterName(value);
ParameterName``1 3 overloads
public static MultiSelectPrompt<T?> ParameterName<T>(MultiSelectPrompt<T?> multiSelectPrompt, string? value) #

Sets Prompt<IReadOnlyList<`0>>.ParameterName: The parameter that supplies this value non-interactively (-Domain, --domain); named in the non-interactive error message.

Type Parameters

T

Parameters

multiSelectPrompt ConsoleMonster.Interactive.MultiSelectPrompt<T?> required
The instance.
value string? required
The value.

Returns

MultiSelectPrompt<T?> The same instance.

Examples

// C# initializer or property               // C# fluent
multiSelectPrompt.ParameterName = value;    multiSelectPrompt.ParameterName(value);
public static SelectPrompt<T?> ParameterName<T>(SelectPrompt<T?> selectPrompt, string? value) #

Sets Prompt<`0>.ParameterName: The parameter that supplies this value non-interactively (-Domain, --domain); named in the non-interactive error message.

Type Parameters

T

Parameters

selectPrompt ConsoleMonster.Interactive.SelectPrompt<T?> required
The instance.
value string? required
The value.

Returns

SelectPrompt<T?> The same instance.

Examples

// C# initializer or property          // C# fluent
selectPrompt.ParameterName = value;    selectPrompt.ParameterName(value);
public static TSelf ParameterName<TSelf>(TSelf field, string? value) #

Sets Field.ParameterName: The command-line parameter this field supplies (Domain, -Domain, --domain); null leaves the field out of the equivalent command.

Type Parameters

TSelf

Parameters

field TSelf required
The instance.
value string? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property    // C# fluent
@field.ParameterName = value;    @field.ParameterName(value);
public static PathField PathKind(PathField pathField, PathKind value) #

Sets PathField.PathKind: What is accepted.

Parameters

pathField ConsoleMonster.Interactive.PathField required
The instance.
value ConsoleMonster.Interactive.PathKind required
The value.

Returns

PathField The same instance.

Examples

// C# initializer or property    // C# fluent
pathField.PathKind = value;      pathField.PathKind(value);
public static PromptLabels PathNotFound(PromptLabels promptLabels, string value) #

Sets PromptLabels.PathNotFound: A path does not exist: {0}.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { PathNotFound = value };    promptLabels.PathNotFound(value);
Pattern 3 overloads
public static TextQuestionOptions Pattern(TextQuestionOptions textQuestionOptions, string? value) #

Sets TextQuestionOptions.Pattern: A pattern which the entire single-line answer must match.

Parameters

textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions required
The instance.
value string? required
The value.

Returns

TextQuestionOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ConsoleMonster.Interactive.TextQuestionOptions { Pattern = value };    Ui.TextQuestion().Pattern(value);
public static TextPrompt Pattern(TextPrompt textPrompt, string? value) #

Sets TextPrompt.Pattern: A pattern the whole answer must match.

Parameters

textPrompt ConsoleMonster.Interactive.TextPrompt required
The instance.
value string? required
The value.

Returns

TextPrompt The same instance.

Examples

// C# initializer or property    // C# fluent
textPrompt.Pattern = value;      textPrompt.Pattern(value);
public static TextField Pattern(TextField textField, string? value) #

Sets TextField.Pattern: A pattern the whole value must match.

Parameters

textField ConsoleMonster.Interactive.TextField required
The instance.
value string? required
The value.

Returns

TextField The same instance.

Examples

// C# initializer or property    // C# fluent
textField.Pattern = value;       textField.Pattern(value);
PatternMessage 3 overloads
public static TextQuestionOptions PatternMessage(TextQuestionOptions textQuestionOptions, string? value) #

Sets TextQuestionOptions.PatternMessage: The error for an unmatched pattern.

Parameters

textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions required
The instance.
value string? required
The value.

Returns

TextQuestionOptions The same instance.

Examples

// C# initializer or property                                                             // C# fluent
new global::ConsoleMonster.Interactive.TextQuestionOptions { PatternMessage = value };    Ui.TextQuestion().PatternMessage(value);
public static TextPrompt PatternMessage(TextPrompt textPrompt, string? value) #

Sets TextPrompt.PatternMessage: The message when TextPrompt.Pattern does not match.

Parameters

textPrompt ConsoleMonster.Interactive.TextPrompt required
The instance.
value string? required
The value.

Returns

TextPrompt The same instance.

Examples

// C# initializer or property         // C# fluent
textPrompt.PatternMessage = value;    textPrompt.PatternMessage(value);
public static TextField PatternMessage(TextField textField, string? value) #

Sets TextField.PatternMessage: The message when the pattern does not match.

Parameters

textField ConsoleMonster.Interactive.TextField required
The instance.
value string? required
The value.

Returns

TextField The same instance.

Examples

// C# initializer or property        // C# fluent
textField.PatternMessage = value;    textField.PatternMessage(value);
Placeholder 6 overloads
public static TextInput Placeholder(TextInput textInput, string? value) #

Sets TextInput.Placeholder: Muted text shown while the value is empty.

Parameters

textInput ConsoleMonster.Interactive.TextInput required
The instance.
value string? required
The value.

Returns

TextInput The same instance.

Examples

// C# initializer or property     // C# fluent
textInput.Placeholder = value;    textInput.Placeholder(value);
public static TextInputOptions Placeholder(TextInputOptions textInputOptions, string? value) #

Sets TextInputOptions.Placeholder: The hint shown while the value is empty.

Parameters

textInputOptions ConsoleMonster.Interactive.TextInputOptions required
The instance.
value string? required
The value.

Returns

TextInputOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.TextInputOptions { Placeholder = value };    Ui.TextInput().Placeholder(value);
public static TextQuestionOptions Placeholder(TextQuestionOptions textQuestionOptions, string? value) #

Sets TextQuestionOptions.Placeholder: The hint shown while empty.

Parameters

textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions required
The instance.
value string? required
The value.

Returns

TextQuestionOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::ConsoleMonster.Interactive.TextQuestionOptions { Placeholder = value };    Ui.TextQuestion().Placeholder(value);
public static TextPrompt Placeholder(TextPrompt textPrompt, string? value) #

Sets TextPrompt.Placeholder: Muted text in the empty box.

Parameters

textPrompt ConsoleMonster.Interactive.TextPrompt required
The instance.
value string? required
The value.

Returns

TextPrompt The same instance.

Examples

// C# initializer or property      // C# fluent
textPrompt.Placeholder = value;    textPrompt.Placeholder(value);
public static TextAreaField Placeholder(TextAreaField textAreaField, string? value) #

Sets TextAreaField.Placeholder: Muted text while empty.

Parameters

textAreaField ConsoleMonster.Interactive.TextAreaField required
The instance.
value string? required
The value.

Returns

TextAreaField The same instance.

Examples

// C# initializer or property         // C# fluent
textAreaField.Placeholder = value;    textAreaField.Placeholder(value);
public static TextField Placeholder(TextField textField, string? value) #

Sets TextField.Placeholder: Muted text while empty.

Parameters

textField ConsoleMonster.Interactive.TextField required
The instance.
value string? required
The value.

Returns

TextField The same instance.

Examples

// C# initializer or property     // C# fluent
textField.Placeholder = value;    textField.Placeholder(value);
PrefillDefault 4 overloads
public static TextQuestionOptions PrefillDefault(TextQuestionOptions textQuestionOptions, bool value) #

Sets TextQuestionOptions.PrefillDefault: Puts the single-line default in the editor.

Parameters

textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions required
The instance.
value bool required
The value.

Returns

TextQuestionOptions The same instance.

Examples

// C# initializer or property                                                             // C# fluent
new global::ConsoleMonster.Interactive.TextQuestionOptions { PrefillDefault = value };    Ui.TextQuestion().PrefillDefault(value);
public static TextQuestionOptions PrefillDefault(TextQuestionOptions textQuestionOptions) #

Sets TextQuestionOptions.PrefillDefault to true.

Parameters

textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions required
The instance to configure.

Returns

TextQuestionOptions The same instance.
public static TextPrompt PrefillDefault(TextPrompt textPrompt, bool value) #

Sets TextPrompt.PrefillDefault: Starts with the default in the box (editable) instead of showing it as a hint.

Parameters

textPrompt ConsoleMonster.Interactive.TextPrompt required
The instance.
value bool required
The value.

Returns

TextPrompt The same instance.

Examples

// C# initializer or property         // C# fluent
textPrompt.PrefillDefault = value;    textPrompt.PrefillDefault(value);
public static TextPrompt PrefillDefault(TextPrompt textPrompt) #

Sets TextPrompt.PrefillDefault to true.

Parameters

textPrompt ConsoleMonster.Interactive.TextPrompt required
The instance to configure.

Returns

TextPrompt The same instance.
Presentation 2 overloads
public static Grid Presentation(Grid grid, PresentationOptions value) #

Sets Grid.Presentation: Culture and display options for the presenters.

Parameters

grid ConsoleMonster.Interactive.Grid required
The instance.
value ConsoleMonster.Presenters.PresentationOptions required
The value.

Returns

Grid The same instance.

Examples

// C# initializer or property    // C# fluent
grid.Presentation = value;       Ui.Grid().Presentation(value);
public static Grid Presentation(Grid grid, Action<PresentationOptions> configure) #

Configures Grid.Presentation in place (creating it when not set): Culture and display options for the presenters.

Parameters

grid ConsoleMonster.Interactive.Grid required
The instance.
configure System.Action<ConsoleMonster.Presenters.PresentationOptions> required
Configures the value.

Returns

Grid The same instance.
public static FormOptions Preset(FormOptions formOptions, string? value) #

Sets FormOptions.Preset: A preset to apply before showing.

Parameters

formOptions ConsoleMonster.Interactive.FormOptions required
The instance.
value string? required
The value.

Returns

FormOptions The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::ConsoleMonster.Interactive.FormOptions { Preset = value };    formOptions.Preset(value);
public static PromptLabels PresetApplied(PromptLabels promptLabels, string value) #

Sets PromptLabels.PresetApplied: A preset was applied: {0}.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { PresetApplied = value };    promptLabels.PresetApplied(value);
public static PromptLabels PresetName(PromptLabels promptLabels, string value) #

Sets PromptLabels.PresetName: The question for a preset name.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { PresetName = value };    promptLabels.PresetName(value);
public static PromptLabels PresetReadOnly(PromptLabels promptLabels, string value) #

Sets PromptLabels.PresetReadOnly: A built-in preset cannot be saved over or deleted: {0} its name.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { PresetReadOnly = value };    promptLabels.PresetReadOnly(value);
public static PromptLabels Presets(PromptLabels promptLabels, string value) #

Sets PromptLabels.Presets: The presets heading.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Presets = value };    promptLabels.Presets(value);
public static PromptLabels PresetSaved(PromptLabels promptLabels, string value) #

Sets PromptLabels.PresetSaved: A preset was saved: {0}.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { PresetSaved = value };    promptLabels.PresetSaved(value);
public static PromptLabels PressEnterToRun(PromptLabels promptLabels, string value) #

Sets PromptLabels.PressEnterToRun: The press-enter hint of an action item.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { PressEnterToRun = value };    promptLabels.PressEnterToRun(value);
Preview 4 overloads
public static FormPreset Preview(FormPreset formPreset, IWidget? value) #

Sets FormPreset.Preview: Content describing the preset (what it fills in), for lists that show a preview while a preset has focus; the command palette, where a form's presets are listed today, shows the FormPreset.Description only.

Parameters

formPreset ConsoleMonster.Interactive.FormPreset required
The instance.
value ConsoleMonster.Layout.IWidget? required
The value.

Returns

FormPreset The same instance.

Examples

// C# initializer or property    // C# fluent
formPreset.Preview = value;      formPreset.Preview(value);
public static MenuPreset Preview(MenuPreset menuPreset, IWidget? value) #

Sets MenuPreset.Preview: Content shown beside the list (or below it when narrow) while the preset has focus, such as what it sets; or null.

Parameters

menuPreset ConsoleMonster.Interactive.MenuPreset required
The instance.
value ConsoleMonster.Layout.IWidget? required
The value.

Returns

MenuPreset The same instance.

Examples

// C# initializer or property    // C# fluent
menuPreset.Preview = value;      menuPreset.Preview(value);
public static Choice Preview(Choice choice, IWidget? value) #

Sets Choice.Preview: Content for the preview pane while the choice has focus (overrides the prompt's preview function).

Parameters

choice ConsoleMonster.Interactive.Choice required
The instance.
value ConsoleMonster.Layout.IWidget? required
The value.

Returns

Choice The same instance.

Examples

// C# initializer or property    // C# fluent
choice.Preview = value;          choice.Preview(value);
public static PromptLabels Preview(PromptLabels promptLabels, string value) #

Sets PromptLabels.Preview: The preview pane title.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Preview = value };    promptLabels.Preview(value);
public static AppHostKeys PreviousFocus(AppHostKeys appHostKeys, KeyChord? value) #

Sets AppHostKeys.PreviousFocus: Focus the previous input.

Parameters

appHostKeys ConsoleMonster.Interactive.AppHostKeys required
The instance.
value ConsoleMonster.Input.KeyChord? required
The value.

Returns

AppHostKeys The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.AppHostKeys { PreviousFocus = value };    appHostKeys.PreviousFocus(value);
public static InteractiveOptions Profile(InteractiveOptions interactiveOptions, TerminalProfile? value) #

Sets InteractiveOptions.Profile: The terminal profile; null uses Terminal.GetCurrentProfile.

Parameters

interactiveOptions ConsoleMonster.Interactive.InteractiveOptions required
The instance.
value ConsoleMonster.Capabilities.TerminalProfile? required
The value.

Returns

InteractiveOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.InteractiveOptions { Profile = value };    interactiveOptions.Profile(value);
ProgressDialog 4 overloads
public static CommandOptions ProgressDialog(CommandOptions commandOptions, bool value) #

Sets CommandOptions.ProgressDialog: Shows the shared operation progress and summary dialogs.

Parameters

commandOptions ConsoleMonster.Interactive.CommandOptions required
The instance.
value bool required
The value.

Returns

CommandOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::ConsoleMonster.Interactive.CommandOptions { ProgressDialog = value };    Ui.Command().ProgressDialog(value);
public static CommandOptions ProgressDialog(CommandOptions commandOptions) #

Sets CommandOptions.ProgressDialog to true.

Parameters

commandOptions ConsoleMonster.Interactive.CommandOptions required
The instance to configure.

Returns

CommandOptions The same instance.
public static AppCommand ProgressDialog(AppCommand appCommand, bool value) #

Sets AppCommand.ProgressDialog: Shows progress with Cancel and Background, followed by a summary with an explicit backend-supplied retry or Skip.

Parameters

appCommand ConsoleMonster.Interactive.AppCommand required
The instance.
value bool required
The value.

Returns

AppCommand The same instance.

Examples

// C# initializer or property         // C# fluent
appCommand.ProgressDialog = value;    appCommand.ProgressDialog(value);
public static AppCommand ProgressDialog(AppCommand appCommand) #

Sets AppCommand.ProgressDialog to true.

Parameters

appCommand ConsoleMonster.Interactive.AppCommand required
The instance to configure.

Returns

AppCommand The same instance.
QuickSearch 4 overloads
public static DataGrid QuickSearch(DataGrid dataGrid, bool value) #

Sets DataGrid.QuickSearch: Whether unbound text performs prefix search. Disable when an app registry owns search.

Parameters

dataGrid ConsoleMonster.Interactive.DataGrid required
The instance.
value bool required
The value.

Returns

DataGrid The same instance.

Examples

// C# initializer or property    // C# fluent
dataGrid.QuickSearch = value;    dataGrid.QuickSearch(value);
public static DataGrid QuickSearch(DataGrid dataGrid) #

Sets DataGrid.QuickSearch to true.

Parameters

dataGrid ConsoleMonster.Interactive.DataGrid required
The instance to configure.

Returns

DataGrid The same instance.
public static DataGridInputOptions QuickSearch(DataGridInputOptions dataGridInputOptions, bool value) #

Sets DataGridInputOptions.QuickSearch: Whether unbound typing performs prefix search.

Parameters

dataGridInputOptions ConsoleMonster.Interactive.DataGridInputOptions required
The instance.
value bool required
The value.

Returns

DataGridInputOptions The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::ConsoleMonster.Interactive.DataGridInputOptions { QuickSearch = value };    Ui.DataGrid().QuickSearch(value);
public static DataGridInputOptions QuickSearch(DataGridInputOptions dataGridInputOptions) #

Sets DataGridInputOptions.QuickSearch to true.

Parameters

dataGridInputOptions ConsoleMonster.Interactive.DataGridInputOptions required
The instance to configure.

Returns

DataGridInputOptions The same instance.
Radio 4 overloads
public static Select Radio(Select select, bool value) #

Sets SelectionInputBase.Radio: Shows single-choice items as radio buttons using the existing selection value. Multiple-selection inputs retain checkboxes.

Parameters

select ConsoleMonster.Interactive.Select required
The instance.
value bool required
The value.

Returns

Select The same instance.

Examples

// C# initializer or property    // C# fluent
@select.Radio = value;           @select.Radio(value);
public static Select Radio(Select select) #

Sets SelectionInputBase.Radio to true.

Parameters

select ConsoleMonster.Interactive.Select required
The instance to configure.

Returns

Select The same instance.
public static SelectInputOptions Radio(SelectInputOptions selectInputOptions, bool value) #

Sets SelectInputOptions.Radio: Shows a single-choice list with radio indicators.

Parameters

selectInputOptions ConsoleMonster.Interactive.SelectInputOptions required
The instance.
value bool required
The value.

Returns

SelectInputOptions The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ConsoleMonster.Interactive.SelectInputOptions { Radio = value };    Ui.Select().Radio(value);
public static SelectInputOptions Radio(SelectInputOptions selectInputOptions) #

Sets SelectInputOptions.Radio to true.

Parameters

selectInputOptions ConsoleMonster.Interactive.SelectInputOptions required
The instance to configure.

Returns

SelectInputOptions The same instance.
Range 6 overloads
public static DatePicker Range(DatePicker datePicker, bool value) #

Sets DatePicker.Range: Whether the committed value is a DateRange instead of a DateTime.

Parameters

datePicker ConsoleMonster.Interactive.DatePicker required
The instance.
value bool required
The value.

Returns

DatePicker The same instance.

Examples

// C# initializer or property    // C# fluent
datePicker.Range = value;        datePicker.Range(value);
public static DatePicker Range(DatePicker datePicker) #

Sets DatePicker.Range to true.

Parameters

datePicker ConsoleMonster.Interactive.DatePicker required
The instance to configure.

Returns

DatePicker The same instance.
public static DatePickerInputOptions Range(DatePickerInputOptions datePickerInputOptions, bool value) #

Sets DatePickerInputOptions.Range: Whether Value is an inclusive DateRange.

Parameters

datePickerInputOptions ConsoleMonster.Interactive.DatePickerInputOptions required
The instance.
value bool required
The value.

Returns

DatePickerInputOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.DatePickerInputOptions { Range = value };    Ui.DatePicker().Range(value);
public static DatePickerInputOptions Range(DatePickerInputOptions datePickerInputOptions) #

Sets DatePickerInputOptions.Range to true.

Parameters

datePickerInputOptions ConsoleMonster.Interactive.DatePickerInputOptions required
The instance to configure.

Returns

DatePickerInputOptions The same instance.
public static DatePrompt Range(DatePrompt datePrompt, bool value) #

Sets DatePrompt.Range: Returns one DateRange instead of a DateTime.

Parameters

datePrompt ConsoleMonster.Interactive.DatePrompt required
The instance.
value bool required
The value.

Returns

DatePrompt The same instance.

Examples

// C# initializer or property    // C# fluent
datePrompt.Range = value;        Ui.DatePrompt().Range(value);
public static DatePrompt Range(DatePrompt datePrompt) #

Sets DatePrompt.Range to true.

Parameters

datePrompt ConsoleMonster.Interactive.DatePrompt required
The instance to configure.

Returns

DatePrompt The same instance.
public static ConsoleAppOptions ReflowBelow(ConsoleAppOptions consoleAppOptions, int value) #

Sets ConsoleAppOptions.ReflowBelow: The default width below which column layouts stack; explicitly configured column thresholds take precedence.

Parameters

consoleAppOptions ConsoleMonster.Interactive.ConsoleAppOptions required
The instance.
value int required
The value.

Returns

ConsoleAppOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::ConsoleMonster.Interactive.ConsoleAppOptions { ReflowBelow = value };    consoleAppOptions.ReflowBelow(value);
Remember 14 overloads
public static ChoiceField Remember(ChoiceField choiceField, bool value) #

Sets Field.Remember: Whether the value is kept in presets and remembered choices (never for secrets).

Parameters

choiceField ConsoleMonster.Interactive.ChoiceField required
The instance.
value bool required
The value.

Returns

ChoiceField The same instance.

Examples

// C# initializer or property    // C# fluent
choiceField.Remember = value;    choiceField.Remember(value);
public static ChoiceField Remember(ChoiceField choiceField) #

Sets Field.Remember to true.

Parameters

choiceField ConsoleMonster.Interactive.ChoiceField required
The instance to configure.

Returns

ChoiceField The same instance.
public static NumberField Remember(NumberField numberField, bool value) #

Sets Field.Remember: Whether the value is kept in presets and remembered choices (never for secrets).

Parameters

numberField ConsoleMonster.Interactive.NumberField required
The instance.
value bool required
The value.

Returns

NumberField The same instance.

Examples

// C# initializer or property    // C# fluent
numberField.Remember = value;    numberField.Remember(value);
public static NumberField Remember(NumberField numberField) #

Sets Field.Remember to true.

Parameters

numberField ConsoleMonster.Interactive.NumberField required
The instance to configure.

Returns

NumberField The same instance.
public static PathField Remember(PathField pathField, bool value) #

Sets Field.Remember: Whether the value is kept in presets and remembered choices (never for secrets).

Parameters

pathField ConsoleMonster.Interactive.PathField required
The instance.
value bool required
The value.

Returns

PathField The same instance.

Examples

// C# initializer or property    // C# fluent
pathField.Remember = value;      pathField.Remember(value);
public static PathField Remember(PathField pathField) #

Sets Field.Remember to true.

Parameters

pathField ConsoleMonster.Interactive.PathField required
The instance to configure.

Returns

PathField The same instance.
public static SecretField Remember(SecretField secretField, bool value) #

Sets Field.Remember: Whether the value is kept in presets and remembered choices (never for secrets).

Parameters

secretField ConsoleMonster.Interactive.SecretField required
The instance.
value bool required
The value.

Returns

SecretField The same instance.

Examples

// C# initializer or property    // C# fluent
secretField.Remember = value;    secretField.Remember(value);
public static SecretField Remember(SecretField secretField) #

Sets Field.Remember to true.

Parameters

secretField ConsoleMonster.Interactive.SecretField required
The instance to configure.

Returns

SecretField The same instance.
public static TextAreaField Remember(TextAreaField textAreaField, bool value) #

Sets Field.Remember: Whether the value is kept in presets and remembered choices (never for secrets).

Parameters

textAreaField ConsoleMonster.Interactive.TextAreaField required
The instance.
value bool required
The value.

Returns

TextAreaField The same instance.

Examples

// C# initializer or property      // C# fluent
textAreaField.Remember = value;    textAreaField.Remember(value);
public static TextAreaField Remember(TextAreaField textAreaField) #

Sets Field.Remember to true.

Parameters

textAreaField ConsoleMonster.Interactive.TextAreaField required
The instance to configure.

Returns

TextAreaField The same instance.
public static TextField Remember(TextField textField, bool value) #

Sets Field.Remember: Whether the value is kept in presets and remembered choices (never for secrets).

Parameters

textField ConsoleMonster.Interactive.TextField required
The instance.
value bool required
The value.

Returns

TextField The same instance.

Examples

// C# initializer or property    // C# fluent
textField.Remember = value;      textField.Remember(value);
public static TextField Remember(TextField textField) #

Sets Field.Remember to true.

Parameters

textField ConsoleMonster.Interactive.TextField required
The instance to configure.

Returns

TextField The same instance.
public static ToggleField Remember(ToggleField toggleField, bool value) #

Sets Field.Remember: Whether the value is kept in presets and remembered choices (never for secrets).

Parameters

toggleField ConsoleMonster.Interactive.ToggleField required
The instance.
value bool required
The value.

Returns

ToggleField The same instance.

Examples

// C# initializer or property    // C# fluent
toggleField.Remember = value;    toggleField.Remember(value);
public static ToggleField Remember(ToggleField toggleField) #

Sets Field.Remember to true.

Parameters

toggleField ConsoleMonster.Interactive.ToggleField required
The instance to configure.

Returns

ToggleField The same instance.
RememberLastChoices 4 overloads
public static FormOptions RememberLastChoices(FormOptions formOptions, bool value) #

Sets FormOptions.RememberLastChoices: Whether the last submitted values are remembered and offered next time (opt-in).

Parameters

formOptions ConsoleMonster.Interactive.FormOptions required
The instance.
value bool required
The value.

Returns

FormOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::ConsoleMonster.Interactive.FormOptions { RememberLastChoices = value };    formOptions.RememberLastChoices(value);
public static FormOptions RememberLastChoices(FormOptions formOptions) #

Sets FormOptions.RememberLastChoices to true.

Parameters

formOptions ConsoleMonster.Interactive.FormOptions required
The instance to configure.

Returns

FormOptions The same instance.
public static MenuOptions RememberLastChoices(MenuOptions menuOptions, bool value) #

Sets MenuOptions.RememberLastChoices: Whether forms and selections remember the last choices (opt-in, stored per user).

Parameters

menuOptions ConsoleMonster.Interactive.MenuOptions required
The instance.
value bool required
The value.

Returns

MenuOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::ConsoleMonster.Interactive.MenuOptions { RememberLastChoices = value };    menuOptions.RememberLastChoices(value);
public static MenuOptions RememberLastChoices(MenuOptions menuOptions) #

Sets MenuOptions.RememberLastChoices to true.

Parameters

menuOptions ConsoleMonster.Interactive.MenuOptions required
The instance to configure.

Returns

MenuOptions The same instance.
Remember``1 2 overloads
public static TSelf Remember<TSelf>(TSelf field, bool value) #

Sets Field.Remember: Whether the value is kept in presets and remembered choices (never for secrets).

Type Parameters

TSelf

Parameters

field TSelf required
The instance.
value bool required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property    // C# fluent
@field.Remember = value;         @field.Remember(value);
public static TSelf Remember<TSelf>(TSelf field) #

Sets Field.Remember to true.

Type Parameters

TSelf

Parameters

field TSelf required
The instance to configure.

Returns

TSelf The same instance.
public static PromptLabels ReplayNoMatch(PromptLabels promptLabels, string value) #

Sets PromptLabels.ReplayNoMatch: Replay player: no log entry contains the search text {0}.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { ReplayNoMatch = value };    promptLabels.ReplayNoMatch(value);
public static PromptLabels ReplayNoMore(PromptLabels promptLabels, string value) #

Sets PromptLabels.ReplayNoMore: Replay player: nothing further in the requested direction.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { ReplayNoMore = value };    promptLabels.ReplayNoMore(value);
public static PromptLabels ReplayPaused(PromptLabels promptLabels, string value) #

Sets PromptLabels.ReplayPaused: Replay player state: paused.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { ReplayPaused = value };    promptLabels.ReplayPaused(value);
public static PromptLabels ReplayPlaying(PromptLabels promptLabels, string value) #

Sets PromptLabels.ReplayPlaying: Replay player state: playing.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { ReplayPlaying = value };    promptLabels.ReplayPlaying(value);
public static PromptLabels ReplaySearch(PromptLabels promptLabels, string value) #

Sets PromptLabels.ReplaySearch: Replay player: placeholder of the log search box.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { ReplaySearch = value };    promptLabels.ReplaySearch(value);
Required 21 overloads
public static TextQuestionOptions Required(TextQuestionOptions textQuestionOptions, bool value) #

Sets TextQuestionOptions.Required: Whether ordinary text must be nonempty.

Parameters

textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions required
The instance.
value bool required
The value.

Returns

TextQuestionOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.TextQuestionOptions { Required = value };    Ui.TextQuestion().Required(value);
public static TextQuestionOptions Required(TextQuestionOptions textQuestionOptions) #

Sets TextQuestionOptions.Required to true.

Parameters

textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions required
The instance to configure.

Returns

TextQuestionOptions The same instance.
public static SecretPrompt Required(SecretPrompt secretPrompt, bool value) #

Sets SecretPrompt.Required: Whether an empty answer is refused.

Parameters

secretPrompt ConsoleMonster.Interactive.SecretPrompt required
The instance.
value bool required
The value.

Returns

SecretPrompt The same instance.

Examples

// C# initializer or property     // C# fluent
secretPrompt.Required = value;    secretPrompt.Required(value);
public static SecretPrompt Required(SecretPrompt secretPrompt) #

Sets SecretPrompt.Required to true.

Parameters

secretPrompt ConsoleMonster.Interactive.SecretPrompt required
The instance to configure.

Returns

SecretPrompt The same instance.
public static TextPrompt Required(TextPrompt textPrompt, bool value) #

Sets TextPrompt.Required: Whether an empty answer is refused (when there is no default).

Parameters

textPrompt ConsoleMonster.Interactive.TextPrompt required
The instance.
value bool required
The value.

Returns

TextPrompt The same instance.

Examples

// C# initializer or property    // C# fluent
textPrompt.Required = value;     textPrompt.Required(value);
public static TextPrompt Required(TextPrompt textPrompt) #

Sets TextPrompt.Required to true.

Parameters

textPrompt ConsoleMonster.Interactive.TextPrompt required
The instance to configure.

Returns

TextPrompt The same instance.
public static ChoiceField Required(ChoiceField choiceField, bool value) #

Sets Field.Required: Whether an empty value is refused.

Parameters

choiceField ConsoleMonster.Interactive.ChoiceField required
The instance.
value bool required
The value.

Returns

ChoiceField The same instance.

Examples

// C# initializer or property    // C# fluent
choiceField.Required = value;    choiceField.Required(value);
public static ChoiceField Required(ChoiceField choiceField) #

Sets Field.Required to true.

Parameters

choiceField ConsoleMonster.Interactive.ChoiceField required
The instance to configure.

Returns

ChoiceField The same instance.
public static NumberField Required(NumberField numberField, bool value) #

Sets Field.Required: Whether an empty value is refused.

Parameters

numberField ConsoleMonster.Interactive.NumberField required
The instance.
value bool required
The value.

Returns

NumberField The same instance.

Examples

// C# initializer or property    // C# fluent
numberField.Required = value;    numberField.Required(value);
public static NumberField Required(NumberField numberField) #

Sets Field.Required to true.

Parameters

numberField ConsoleMonster.Interactive.NumberField required
The instance to configure.

Returns

NumberField The same instance.
public static PathField Required(PathField pathField, bool value) #

Sets Field.Required: Whether an empty value is refused.

Parameters

pathField ConsoleMonster.Interactive.PathField required
The instance.
value bool required
The value.

Returns

PathField The same instance.

Examples

// C# initializer or property    // C# fluent
pathField.Required = value;      pathField.Required(value);
public static PathField Required(PathField pathField) #

Sets Field.Required to true.

Parameters

pathField ConsoleMonster.Interactive.PathField required
The instance to configure.

Returns

PathField The same instance.
public static SecretField Required(SecretField secretField, bool value) #

Sets Field.Required: Whether an empty value is refused.

Parameters

secretField ConsoleMonster.Interactive.SecretField required
The instance.
value bool required
The value.

Returns

SecretField The same instance.

Examples

// C# initializer or property    // C# fluent
secretField.Required = value;    secretField.Required(value);
public static SecretField Required(SecretField secretField) #

Sets Field.Required to true.

Parameters

secretField ConsoleMonster.Interactive.SecretField required
The instance to configure.

Returns

SecretField The same instance.
public static TextAreaField Required(TextAreaField textAreaField, bool value) #

Sets Field.Required: Whether an empty value is refused.

Parameters

textAreaField ConsoleMonster.Interactive.TextAreaField required
The instance.
value bool required
The value.

Returns

TextAreaField The same instance.

Examples

// C# initializer or property      // C# fluent
textAreaField.Required = value;    textAreaField.Required(value);
public static TextAreaField Required(TextAreaField textAreaField) #

Sets Field.Required to true.

Parameters

textAreaField ConsoleMonster.Interactive.TextAreaField required
The instance to configure.

Returns

TextAreaField The same instance.
public static TextField Required(TextField textField, bool value) #

Sets Field.Required: Whether an empty value is refused.

Parameters

textField ConsoleMonster.Interactive.TextField required
The instance.
value bool required
The value.

Returns

TextField The same instance.

Examples

// C# initializer or property    // C# fluent
textField.Required = value;      textField.Required(value);
public static TextField Required(TextField textField) #

Sets Field.Required to true.

Parameters

textField ConsoleMonster.Interactive.TextField required
The instance to configure.

Returns

TextField The same instance.
public static ToggleField Required(ToggleField toggleField, bool value) #

Sets Field.Required: Whether an empty value is refused.

Parameters

toggleField ConsoleMonster.Interactive.ToggleField required
The instance.
value bool required
The value.

Returns

ToggleField The same instance.

Examples

// C# initializer or property    // C# fluent
toggleField.Required = value;    toggleField.Required(value);
public static ToggleField Required(ToggleField toggleField) #

Sets Field.Required to true.

Parameters

toggleField ConsoleMonster.Interactive.ToggleField required
The instance to configure.

Returns

ToggleField The same instance.
public static PromptLabels Required(PromptLabels promptLabels, string value) #

Sets PromptLabels.Required: A value is required.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Required = value };    promptLabels.Required(value);
Required``1 2 overloads
public static TSelf Required<TSelf>(TSelf field, bool value) #

Sets Field.Required: Whether an empty value is refused.

Type Parameters

TSelf

Parameters

field TSelf required
The instance.
value bool required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property    // C# fluent
@field.Required = value;         @field.Required(value);
public static TSelf Required<TSelf>(TSelf field) #

Sets Field.Required to true.

Type Parameters

TSelf

Parameters

field TSelf required
The instance to configure.

Returns

TSelf The same instance.
public static PromptLabels Results(PromptLabels promptLabels, string value) #

Sets PromptLabels.Results: The results heading after a run.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Results = value };    promptLabels.Results(value);
Review 3 overloads
public static Form Review(Form form, bool value) #

Sets Form.Review: Whether a review page (summary, equivalent command, run) comes after the last page.

Parameters

form ConsoleMonster.Interactive.Form required
The instance.
value bool required
The value.

Returns

Form The same instance.

Examples

// C# initializer or property    // C# fluent
form.Review = value;             Ui.Form().Review(value);
public static Form Review(Form form) #

Sets Form.Review to true.

Parameters

form ConsoleMonster.Interactive.Form required
The instance to configure.

Returns

Form The same instance.
public static PromptLabels Review(PromptLabels promptLabels, string value) #

Sets PromptLabels.Review: The review page title.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Review = value };    promptLabels.Review(value);
RichTitle 2 overloads
public static Choice RichTitle(Choice choice, RichText? value) #

Sets Choice.RichTitle: A styled title shown instead of Choice.Label while no filter is active.

Parameters

choice ConsoleMonster.Interactive.Choice required
The instance.
value ConsoleMonster.Text.RichText? required
The value.

Returns

Choice The same instance.

Examples

// C# initializer or property    // C# fluent
choice.RichTitle = value;        choice.RichTitle(value);
public static Choice RichTitle(Choice choice, Action<RichText> configure) #

Configures Choice.RichTitle in place: A styled title shown instead of Choice.Label while no filter is active.

Parameters

choice ConsoleMonster.Interactive.Choice required
The instance.
configure System.Action<ConsoleMonster.Text.RichText> required
Configures the value.

Returns

Choice The same instance.
Role 2 overloads
public static TextInput Role(TextInput textInput, ThemeToken value) #

Sets TextInput.Role: The theme token for entered text.

Parameters

textInput ConsoleMonster.Interactive.TextInput required
The instance.
value ConsoleMonster.Styling.ThemeToken required
The value.

Returns

TextInput The same instance.

Examples

// C# initializer or property    // C# fluent
textInput.Role = value;          textInput.Role(value);
public static TextInputOptions Role(TextInputOptions textInputOptions, ThemeToken value) #

Sets TextInputOptions.Role: The single-line entered-text role.

Parameters

textInputOptions ConsoleMonster.Interactive.TextInputOptions required
The instance.
value ConsoleMonster.Styling.ThemeToken required
The value.

Returns

TextInputOptions The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::ConsoleMonster.Interactive.TextInputOptions { Role = value };    Ui.TextInput().Role(value);
public static PromptLabels Run(PromptLabels promptLabels, string value) #

Sets PromptLabels.Run: The run button.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Run = value };    promptLabels.Run(value);
public static PromptLabels Running(PromptLabels promptLabels, string value) #

Sets PromptLabels.Running: The breadcrumb of a run while it lasts; the dashboard's own title names the content panel.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Running = value };    promptLabels.Running(value);
public static ReviewModel RunText(ReviewModel reviewModel, string? value) #

Sets ReviewModel.RunText: The caption of the run button; null uses "Run".

Parameters

reviewModel ConsoleMonster.Interactive.ReviewModel required
The instance.
value string? required
The value.

Returns

ReviewModel The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::ConsoleMonster.Interactive.ReviewModel { RunText = value };    Ui.Review().RunText(value);
public static PromptLabels SavePreset(PromptLabels promptLabels, string value) #

Sets PromptLabels.SavePreset: The save-preset button.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { SavePreset = value };    promptLabels.SavePreset(value);
public static LogViewport ScrollOffset(LogViewport logViewport, int value) #

Sets LogViewport.ScrollOffset: Rows skipped from the newest end; zero follows new output.

Parameters

logViewport ConsoleMonster.Interactive.LogViewport required
The instance.
value int required
The value.

Returns

LogViewport The same instance.

Examples

// C# initializer or property        // C# fluent
logViewport.ScrollOffset = value;    logViewport.ScrollOffset(value);
public static TextInputOptions ScrollRow(TextInputOptions textInputOptions, int value) #

Sets TextInputOptions.ScrollRow: The initial visible row; valid only with Multiline.

Parameters

textInputOptions ConsoleMonster.Interactive.TextInputOptions required
The instance.
value int required
The value.

Returns

TextInputOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.TextInputOptions { ScrollRow = value };    Ui.TextInput().ScrollRow(value);
public static PromptLabels SearchCommands(PromptLabels promptLabels, string value) #

Sets PromptLabels.SearchCommands: The palette's placeholder.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { SearchCommands = value };    promptLabels.SearchCommands(value);
Selected 2 overloads
public static Choice Selected(Choice choice, bool value) #

Sets Choice.Selected: Whether a multi-selection starts with this choice selected.

Parameters

choice ConsoleMonster.Interactive.Choice required
The instance.
value bool required
The value.

Returns

Choice The same instance.

Examples

// C# initializer or property    // C# fluent
choice.Selected = value;         choice.Selected(value);
public static Choice Selected(Choice choice) #

Sets Choice.Selected to true.

Parameters

choice ConsoleMonster.Interactive.Choice required
The instance to configure.

Returns

Choice The same instance.
public static PromptLabels SelectedCount(PromptLabels promptLabels, string value) #

Sets PromptLabels.SelectedCount: The live selection count: {0} selected of {1}.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { SelectedCount = value };    promptLabels.SelectedCount(value);
public static PromptLabels SelectedHint(PromptLabels promptLabels, string value) #

Sets PromptLabels.SelectedHint: Accessible mode: currently selected: {0}.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { SelectedHint = value };    promptLabels.SelectedHint(value);
Selection 4 overloads
public static DatePickerInputOptions Selection(DatePickerInputOptions datePickerInputOptions, DateSelectionOptions value) #

Sets DatePickerInputOptions.Selection: Shared date bounds, culture and marks.

Parameters

datePickerInputOptions ConsoleMonster.Interactive.DatePickerInputOptions required
The instance.
value ConsoleMonster.Interactive.DateSelectionOptions required
The value.

Returns

DatePickerInputOptions The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::ConsoleMonster.Interactive.DatePickerInputOptions { Selection = value };    Ui.DatePicker().Selection(value);
public static DatePickerInputOptions Selection(DatePickerInputOptions datePickerInputOptions, Action<DateSelectionOptions> configure) #

Configures DatePickerInputOptions.Selection in place (creating it when not set): Shared date bounds, culture and marks.

Parameters

datePickerInputOptions ConsoleMonster.Interactive.DatePickerInputOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.DateSelectionOptions> required
Configures the value.

Returns

DatePickerInputOptions The same instance.
public static DatePrompt Selection(DatePrompt datePrompt, DateSelectionOptions value) #

Sets DatePrompt.Selection: Date bounds, unavailable dates, culture and marked-day data.

Parameters

datePrompt ConsoleMonster.Interactive.DatePrompt required
The instance.
value ConsoleMonster.Interactive.DateSelectionOptions required
The value.

Returns

DatePrompt The same instance.

Examples

// C# initializer or property    // C# fluent
datePrompt.Selection = value;    Ui.DatePrompt().Selection(value);
public static DatePrompt Selection(DatePrompt datePrompt, Action<DateSelectionOptions> configure) #

Configures DatePrompt.Selection in place (creating it when not set): Date bounds, unavailable dates, culture and marked-day data.

Parameters

datePrompt ConsoleMonster.Interactive.DatePrompt required
The instance.
configure System.Action<ConsoleMonster.Interactive.DateSelectionOptions> required
Configures the value.

Returns

DatePrompt The same instance.
public static ConsoleAppOptions SelectionKey(ConsoleAppOptions consoleAppOptions, string? value) #

Sets ConsoleAppOptions.SelectionKey: State key supplying one selected row or a collection to commands when Selection is unset.

Parameters

consoleAppOptions ConsoleMonster.Interactive.ConsoleAppOptions required
The instance.
value string? required
The value.

Returns

ConsoleAppOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::ConsoleMonster.Interactive.ConsoleAppOptions { SelectionKey = value };    consoleAppOptions.SelectionKey(value);
Shortcut 2 overloads
public static CommandOptions Shortcut(CommandOptions commandOptions, KeyChord? value) #

Sets CommandOptions.Shortcut: The optional keyboard shortcut.

Parameters

commandOptions ConsoleMonster.Interactive.CommandOptions required
The instance.
value ConsoleMonster.Input.KeyChord? required
The value.

Returns

CommandOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.CommandOptions { Shortcut = value };    Ui.Command().Shortcut(value);
public static AppCommand Shortcut(AppCommand appCommand, KeyChord? value) #

Sets AppCommand.Shortcut: Optional keyboard shortcut. Text editing retains precedence over plain character shortcuts.

Parameters

appCommand ConsoleMonster.Interactive.AppCommand required
The instance.
value ConsoleMonster.Input.KeyChord? required
The value.

Returns

AppCommand The same instance.

Examples

// C# initializer or property    // C# fluent
appCommand.Shortcut = value;     appCommand.Shortcut(value);
ShowElapsed 2 overloads
public static LogViewport ShowElapsed(LogViewport logViewport, bool value) #

Sets LogViewport.ShowElapsed: Whether to show entry elapsed time.

Parameters

logViewport ConsoleMonster.Interactive.LogViewport required
The instance.
value bool required
The value.

Returns

LogViewport The same instance.

Examples

// C# initializer or property       // C# fluent
logViewport.ShowElapsed = value;    logViewport.ShowElapsed(value);
public static LogViewport ShowElapsed(LogViewport logViewport) #

Sets LogViewport.ShowElapsed to true.

Parameters

logViewport ConsoleMonster.Interactive.LogViewport required
The instance to configure.

Returns

LogViewport The same instance.
ShowHidden 2 overloads
public static PathPrompt ShowHidden(PathPrompt pathPrompt, bool value) #

Sets PathPrompt.ShowHidden: Whether hidden entries are suggested.

Parameters

pathPrompt ConsoleMonster.Interactive.PathPrompt required
The instance.
value bool required
The value.

Returns

PathPrompt The same instance.

Examples

// C# initializer or property     // C# fluent
pathPrompt.ShowHidden = value;    Ui.PathPrompt().ShowHidden(value);
public static PathPrompt ShowHidden(PathPrompt pathPrompt) #

Sets PathPrompt.ShowHidden to true.

Parameters

pathPrompt ConsoleMonster.Interactive.PathPrompt required
The instance to configure.

Returns

PathPrompt The same instance.
public static PromptLabels Shown(PromptLabels promptLabels, string value) #

Sets PromptLabels.Shown: How many items a filter shows: {0}.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Shown = value };    promptLabels.Shown(value);
public static MenuOptions SidebarMinimumWidth(MenuOptions menuOptions, int value) #

Sets MenuOptions.SidebarMinimumWidth: The narrowest window that still shows the sidebar.

Parameters

menuOptions ConsoleMonster.Interactive.MenuOptions required
The instance.
value int required
The value.

Returns

MenuOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::ConsoleMonster.Interactive.MenuOptions { SidebarMinimumWidth = value };    menuOptions.SidebarMinimumWidth(value);
SignalKeys 2 overloads
public static ConsoleAppOptions SignalKeys(ConsoleAppOptions consoleAppOptions, bool value) #

Sets ConsoleAppOptions.SignalKeys: Lets the terminal generate signals for Ctrl+C and Ctrl+backslash. False keeps signal keys as input events, including the Commander's Ctrl+backslash.

Parameters

consoleAppOptions ConsoleMonster.Interactive.ConsoleAppOptions required
The instance.
value bool required
The value.

Returns

ConsoleAppOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.ConsoleAppOptions { SignalKeys = value };    consoleAppOptions.SignalKeys(value);
public static ConsoleAppOptions SignalKeys(ConsoleAppOptions consoleAppOptions) #

Sets ConsoleAppOptions.SignalKeys to true.

Parameters

consoleAppOptions ConsoleMonster.Interactive.ConsoleAppOptions required
The instance to configure.

Returns

ConsoleAppOptions The same instance.
public static GridOptions SortColumn(GridOptions gridOptions, int value) #

Sets GridOptions.SortColumn: The column to sort by at the start (by index), or -1 for the input order.

Parameters

gridOptions ConsoleMonster.Interactive.GridOptions required
The instance.
value int required
The value.

Returns

GridOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ConsoleMonster.Interactive.GridOptions { SortColumn = value };    gridOptions.SortColumn(value);
SortDescending 2 overloads
public static GridOptions SortDescending(GridOptions gridOptions, bool value) #

Sets GridOptions.SortDescending: Sorts descending at the start.

Parameters

gridOptions ConsoleMonster.Interactive.GridOptions required
The instance.
value bool required
The value.

Returns

GridOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.GridOptions { SortDescending = value };    gridOptions.SortDescending(value);
public static GridOptions SortDescending(GridOptions gridOptions) #

Sets GridOptions.SortDescending to true.

Parameters

gridOptions ConsoleMonster.Interactive.GridOptions required
The instance to configure.

Returns

GridOptions The same instance.
public static MenuRunResult Status(MenuRunResult menuRunResult, StatusKind value) #

Sets MenuRunResult.Status: The status.

Parameters

menuRunResult ConsoleMonster.Interactive.MenuRunResult required
The instance.
value ConsoleMonster.Styling.StatusKind required
The value.

Returns

MenuRunResult The same instance.

Examples

// C# initializer or property    // C# fluent
menuRunResult.Status = value;    Ui.MenuRunResult().Status(value);
Step 2 overloads
public static NumberPrompt Step(NumberPrompt numberPrompt, decimal value) #

Sets NumberPrompt.Step: The step of Up and Down.

Parameters

numberPrompt ConsoleMonster.Interactive.NumberPrompt required
The instance.
value decimal required
The value.

Returns

NumberPrompt The same instance.

Examples

// C# initializer or property    // C# fluent
numberPrompt.Step = value;       Ui.NumberPrompt().Step(value);
public static NumberField Step(NumberField numberField, decimal value) #

Sets NumberField.Step: The step of Up and Down.

Parameters

numberField ConsoleMonster.Interactive.NumberField required
The instance.
value decimal required
The value.

Returns

NumberField The same instance.

Examples

// C# initializer or property    // C# fluent
numberField.Step = value;        numberField.Step(value);
public static PromptLabels StillLoading(PromptLabels promptLabels, string value) #

Sets PromptLabels.StillLoading: A page cannot move on while a field's options are still loading.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { StillLoading = value };    promptLabels.StillLoading(value);
public static Form StorageKey(Form form, string? value) #

Sets Form.StorageKey: The key presets and remembered choices are stored under; null uses the title.

Parameters

form ConsoleMonster.Interactive.Form required
The instance.
value string? required
The value.

Returns

Form The same instance.

Examples

// C# initializer or property    // C# fluent
form.StorageKey = value;         Ui.Form().StorageKey(value);
StorageRoot 2 overloads
public static FormOptions StorageRoot(FormOptions formOptions, string? value) #

Sets FormOptions.StorageRoot: The folder for the app's storage folder; null uses the per-user default.

Parameters

formOptions ConsoleMonster.Interactive.FormOptions required
The instance.
value string? required
The value.

Returns

FormOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.FormOptions { StorageRoot = value };    formOptions.StorageRoot(value);
public static MenuOptions StorageRoot(MenuOptions menuOptions, string? value) #

Sets MenuOptions.StorageRoot: The folder for the app's storage folder; null uses the per-user default.

Parameters

menuOptions ConsoleMonster.Interactive.MenuOptions required
The instance.
value string? required
The value.

Returns

MenuOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.MenuOptions { StorageRoot = value };    menuOptions.StorageRoot(value);
Submenu 2 overloads
public static MenuItem Submenu(MenuItem item, Action<Menu> configure) #

Makes the item open a submenu built in place.

Parameters

item ConsoleMonster.Interactive.MenuItem required
The menu item.
configure System.Action<ConsoleMonster.Interactive.Menu> required
Adds the submenu's items.

Returns

MenuItem The item.
public static MenuItem Submenu(MenuItem menuItem, Menu? value) #

Sets MenuItem.Submenu: The submenu of a submenu item.

Parameters

menuItem ConsoleMonster.Interactive.MenuItem required
The instance.
value ConsoleMonster.Interactive.Menu? required
The value.

Returns

MenuItem The same instance.

Examples

// C# initializer or property    // C# fluent
menuItem.Submenu = value;        Ui.MenuItem().Submenu(value);
public static Form SubmitText(Form form, string? value) #

Sets Form.SubmitText: The caption of the button that submits the form; null uses "Run".

Parameters

form ConsoleMonster.Interactive.Form required
The instance.
value string? required
The value.

Returns

Form The same instance.

Examples

// C# initializer or property    // C# fluent
form.SubmitText = value;         Ui.Form().SubmitText(value);
public static Menu Subtitle(Menu menu, string? value) #

Sets Menu.Subtitle: Muted text at the right of the title bar (a version, an environment).

Parameters

menu ConsoleMonster.Interactive.Menu required
The instance.
value string? required
The value.

Returns

Menu The same instance.

Examples

// C# initializer or property    // C# fluent
menu.Subtitle = value;           Ui.Menu().Subtitle(value);
public static PathPrompt Suggestions(PathPrompt pathPrompt, int value) #

Sets PathPrompt.Suggestions: How many suggestions are listed.

Parameters

pathPrompt ConsoleMonster.Interactive.PathPrompt required
The instance.
value int required
The value.

Returns

PathPrompt The same instance.

Examples

// C# initializer or property      // C# fluent
pathPrompt.Suggestions = value;    Ui.PathPrompt().Suggestions(value);
public static MenuRunResult Summary(MenuRunResult menuRunResult, string? value) #

Sets MenuRunResult.Summary: A sentence under the title.

Parameters

menuRunResult ConsoleMonster.Interactive.MenuRunResult required
The instance.
value string? required
The value.

Returns

MenuRunResult The same instance.

Examples

// C# initializer or property     // C# fluent
menuRunResult.Summary = value;    Ui.MenuRunResult().Summary(value);
TabIndex 15 overloads
public static Button TabIndex(Button button, int value) #

Sets InputControl.TabIndex: Focus order; equal values preserve declaration order.

Parameters

button ConsoleMonster.Interactive.Button required
The instance.
value int required
The value.

Returns

Button The same instance.

Examples

// C# initializer or property    // C# fluent
button.TabIndex = value;         button.TabIndex(value);
public static DataGrid TabIndex(DataGrid dataGrid, int value) #

Sets InputControl.TabIndex: Focus order; equal values preserve declaration order.

Parameters

dataGrid ConsoleMonster.Interactive.DataGrid required
The instance.
value int required
The value.

Returns

DataGrid The same instance.

Examples

// C# initializer or property    // C# fluent
dataGrid.TabIndex = value;       dataGrid.TabIndex(value);
public static DatePicker TabIndex(DatePicker datePicker, int value) #

Sets InputControl.TabIndex: Focus order; equal values preserve declaration order.

Parameters

datePicker ConsoleMonster.Interactive.DatePicker required
The instance.
value int required
The value.

Returns

DatePicker The same instance.

Examples

// C# initializer or property    // C# fluent
datePicker.TabIndex = value;     datePicker.TabIndex(value);
public static LogViewport TabIndex(LogViewport logViewport, int value) #

Sets InputControl.TabIndex: Focus order; equal values preserve declaration order.

Parameters

logViewport ConsoleMonster.Interactive.LogViewport required
The instance.
value int required
The value.

Returns

LogViewport The same instance.

Examples

// C# initializer or property    // C# fluent
logViewport.TabIndex = value;    logViewport.TabIndex(value);
public static Select TabIndex(Select select, int value) #

Sets InputControl.TabIndex: Focus order; equal values preserve declaration order.

Parameters

select ConsoleMonster.Interactive.Select required
The instance.
value int required
The value.

Returns

Select The same instance.

Examples

// C# initializer or property    // C# fluent
@select.TabIndex = value;        @select.TabIndex(value);
public static TextInput TabIndex(TextInput textInput, int value) #

Sets InputControl.TabIndex: Focus order; equal values preserve declaration order.

Parameters

textInput ConsoleMonster.Interactive.TextInput required
The instance.
value int required
The value.

Returns

TextInput The same instance.

Examples

// C# initializer or property    // C# fluent
textInput.TabIndex = value;      textInput.TabIndex(value);
public static Toggle TabIndex(Toggle toggle, int value) #

Sets InputControl.TabIndex: Focus order; equal values preserve declaration order.

Parameters

toggle ConsoleMonster.Interactive.Toggle required
The instance.
value int required
The value.

Returns

Toggle The same instance.

Examples

// C# initializer or property    // C# fluent
toggle.TabIndex = value;         toggle.TabIndex(value);
public static TreeSelect TabIndex(TreeSelect treeSelect, int value) #

Sets InputControl.TabIndex: Focus order; equal values preserve declaration order.

Parameters

treeSelect ConsoleMonster.Interactive.TreeSelect required
The instance.
value int required
The value.

Returns

TreeSelect The same instance.

Examples

// C# initializer or property    // C# fluent
treeSelect.TabIndex = value;     treeSelect.TabIndex(value);
public static SelectInputOptions TabIndex(SelectInputOptions selectInputOptions, int value) #

Sets AppInputOptions.TabIndex: Keyboard focus order; equal values preserve declaration order.

Parameters

selectInputOptions ConsoleMonster.Interactive.SelectInputOptions required
The instance.
value int required
The value.

Returns

SelectInputOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ConsoleMonster.Interactive.SelectInputOptions { TabIndex = value };    Ui.Select().TabIndex(value);
public static TextInputOptions TabIndex(TextInputOptions textInputOptions, int value) #

Sets AppInputOptions.TabIndex: Keyboard focus order; equal values preserve declaration order.

Parameters

textInputOptions ConsoleMonster.Interactive.TextInputOptions required
The instance.
value int required
The value.

Returns

TextInputOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.TextInputOptions { TabIndex = value };    Ui.TextInput().TabIndex(value);
public static ButtonInputOptions TabIndex(ButtonInputOptions buttonInputOptions, int value) #

Sets AppInputOptions.TabIndex: Keyboard focus order; equal values preserve declaration order.

Parameters

buttonInputOptions ConsoleMonster.Interactive.ButtonInputOptions required
The instance.
value int required
The value.

Returns

ButtonInputOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ConsoleMonster.Interactive.ButtonInputOptions { TabIndex = value };    Ui.Button().TabIndex(value);
public static DataGridInputOptions TabIndex(DataGridInputOptions dataGridInputOptions, int value) #

Sets AppInputOptions.TabIndex: Keyboard focus order; equal values preserve declaration order.

Parameters

dataGridInputOptions ConsoleMonster.Interactive.DataGridInputOptions required
The instance.
value int required
The value.

Returns

DataGridInputOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::ConsoleMonster.Interactive.DataGridInputOptions { TabIndex = value };    Ui.DataGrid().TabIndex(value);
public static DatePickerInputOptions TabIndex(DatePickerInputOptions datePickerInputOptions, int value) #

Sets AppInputOptions.TabIndex: Keyboard focus order; equal values preserve declaration order.

Parameters

datePickerInputOptions ConsoleMonster.Interactive.DatePickerInputOptions required
The instance.
value int required
The value.

Returns

DatePickerInputOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::ConsoleMonster.Interactive.DatePickerInputOptions { TabIndex = value };    Ui.DatePicker().TabIndex(value);
public static ToggleInputOptions TabIndex(ToggleInputOptions toggleInputOptions, int value) #

Sets AppInputOptions.TabIndex: Keyboard focus order; equal values preserve declaration order.

Parameters

toggleInputOptions ConsoleMonster.Interactive.ToggleInputOptions required
The instance.
value int required
The value.

Returns

ToggleInputOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ConsoleMonster.Interactive.ToggleInputOptions { TabIndex = value };    Ui.Toggle().TabIndex(value);
public static TreeSelectInputOptions TabIndex(TreeSelectInputOptions treeSelectInputOptions, int value) #

Sets AppInputOptions.TabIndex: Keyboard focus order; equal values preserve declaration order.

Parameters

treeSelectInputOptions ConsoleMonster.Interactive.TreeSelectInputOptions required
The instance.
value int required
The value.

Returns

TreeSelectInputOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::ConsoleMonster.Interactive.TreeSelectInputOptions { TabIndex = value };    Ui.TreeSelect().TabIndex(value);
public static Choice Tag(Choice choice, object? value) #

Sets Choice.Tag: Any extra object for the caller.

Parameters

choice ConsoleMonster.Interactive.Choice required
The instance.
value object? required
The value.

Returns

Choice The same instance.

Examples

// C# initializer or property    // C# fluent
choice.Tag = value;              choice.Tag(value);
public static InteractiveOptions Target(InteractiveOptions interactiveOptions, ITerminalTarget? value) #

Sets InteractiveOptions.Target: Where the prompt runs (see ITerminalTarget), or null for Terminal.Target. A target other than the console supplies the input (null input: nobody can answer, so defaults apply), the profile, and for a RecordingTarget the screen capture. InteractiveOptions.Input, InteractiveOptions.Profile and InteractiveOptions.Capture still win when set.

Parameters

interactiveOptions ConsoleMonster.Interactive.InteractiveOptions required
The instance.
value ConsoleMonster.Output.ITerminalTarget? required
The value.

Returns

InteractiveOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.InteractiveOptions { Target = value };    interactiveOptions.Target(value);
TerminalHandoff 2 overloads
public static ConsoleAppOptions TerminalHandoff(ConsoleAppOptions consoleAppOptions, TerminalHandoff? value) #

Sets ConsoleAppOptions.TerminalHandoff: Optional terminal handoff service, attached only for this run.

Parameters

consoleAppOptions ConsoleMonster.Interactive.ConsoleAppOptions required
The instance.
value ConsoleMonster.Interactive.TerminalHandoff? required
The value.

Returns

ConsoleAppOptions The same instance.

Examples

// C# initializer or property                                                            // C# fluent
new global::ConsoleMonster.Interactive.ConsoleAppOptions { TerminalHandoff = value };    consoleAppOptions.TerminalHandoff(value);
public static ConsoleAppOptions TerminalHandoff(ConsoleAppOptions consoleAppOptions, Action<TerminalHandoff> configure) #

Configures ConsoleAppOptions.TerminalHandoff in place (creating it when not set): Optional terminal handoff service, attached only for this run.

Parameters

consoleAppOptions ConsoleMonster.Interactive.ConsoleAppOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.TerminalHandoff> required
Configures the value.

Returns

ConsoleAppOptions The same instance.
public static PromptLabels TextAreaCounter(PromptLabels promptLabels, string value) #

Sets PromptLabels.TextAreaCounter: The counter under a multi-line text box: {0} lines, {1} characters.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { TextAreaCounter = value };    promptLabels.TextAreaCounter(value);
public static InteractiveOptions Theme(InteractiveOptions interactiveOptions, ITheme? value) #

Sets InteractiveOptions.Theme: The theme; null uses Terminal.Theme.

Parameters

interactiveOptions ConsoleMonster.Interactive.InteractiveOptions required
The instance.
value ConsoleMonster.Styling.ITheme? required
The value.

Returns

InteractiveOptions The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ConsoleMonster.Interactive.InteractiveOptions { Theme = value };    interactiveOptions.Theme(value);
public static TerminalChildOptions Timeout(TerminalChildOptions terminalChildOptions, TimeSpan value) #

Sets TerminalChildOptions.Timeout: Maximum child lifetime. Cancellation terminates this owned child and restores the app.

Parameters

terminalChildOptions ConsoleMonster.Interactive.TerminalChildOptions required
The instance.
value System.TimeSpan required
The value.

Returns

TerminalChildOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.TerminalChildOptions { Timeout = value };    terminalChildOptions.Timeout(value);
Title 18 overloads
public static MenuRunResult Title(MenuRunResult menuRunResult, string value) #

Sets MenuRunResult.Title: The title.

Parameters

menuRunResult ConsoleMonster.Interactive.MenuRunResult required
The instance.
value string required
The value.

Returns

MenuRunResult The same instance.

Examples

// C# initializer or property    // C# fluent
menuRunResult.Title = value;     Ui.MenuRunResult().Title(value);
public static ReviewModel Title(ReviewModel reviewModel, string? value) #

Sets ReviewModel.Title: A heading.

Parameters

reviewModel ConsoleMonster.Interactive.ReviewModel required
The instance.
value string? required
The value.

Returns

ReviewModel The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::ConsoleMonster.Interactive.ReviewModel { Title = value };    Ui.Review().Title(value);
public static ObjectExplorer Title(ObjectExplorer objectExplorer, string value) #

Sets ObjectExplorer.Title: The title in the screen header.

Parameters

objectExplorer ConsoleMonster.Interactive.ObjectExplorer required
The instance.
value string required
The value.

Returns

ObjectExplorer The same instance.

Examples

// C# initializer or property    // C# fluent
objectExplorer.Title = value;    objectExplorer.Title(value);
public static Grid Title(Grid grid, string value) #

Sets Grid.Title: The title.

Parameters

grid ConsoleMonster.Interactive.Grid required
The instance.
value string required
The value.

Returns

Grid The same instance.

Examples

// C# initializer or property    // C# fluent
grid.Title = value;              Ui.Grid().Title(value);
public static SelectQuestionOptions Title(SelectQuestionOptions selectQuestionOptions, string value) #

Sets SelectQuestionOptions.Title: The question.

Parameters

selectQuestionOptions ConsoleMonster.Interactive.SelectQuestionOptions required
The instance.
value string required
The value.

Returns

SelectQuestionOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ConsoleMonster.Interactive.SelectQuestionOptions { Title = value };    Ui.SelectQuestion().Title(value);
public static TextQuestionOptions Title(TextQuestionOptions textQuestionOptions, string value) #

Sets TextQuestionOptions.Title: The question.

Parameters

textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions required
The instance.
value string required
The value.

Returns

TextQuestionOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.TextQuestionOptions { Title = value };    Ui.TextQuestion().Title(value);
public static FormDialogOptions Title(FormDialogOptions formDialogOptions, string value) #

Sets FormDialogOptions.Title: The visible dialog heading.

Parameters

formDialogOptions ConsoleMonster.Interactive.FormDialogOptions required
The instance.
value string required
The value.

Returns

FormDialogOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.FormDialogOptions { Title = value };    Ui.Dialog().Title(value);
public static TabOptions Title(TabOptions tabOptions, string value) #

Sets TabOptions.Title: The unique page label.

Parameters

tabOptions ConsoleMonster.Interactive.TabOptions required
The instance.
value string required
The value.

Returns

TabOptions The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::ConsoleMonster.Interactive.TabOptions { Title = value };    Ui.Tab().Title(value);
public static ConfirmPrompt Title(ConfirmPrompt confirmPrompt, string value) #

Sets Prompt<bool>.Title: The question.

Parameters

confirmPrompt ConsoleMonster.Interactive.ConfirmPrompt required
The instance.
value string required
The value.

Returns

ConfirmPrompt The same instance.

Examples

// C# initializer or property    // C# fluent
confirmPrompt.Title = value;     Ui.ConfirmPrompt().Title(value);
public static DatePrompt Title(DatePrompt datePrompt, string value) #

Sets Prompt<object>.Title: The question.

Parameters

datePrompt ConsoleMonster.Interactive.DatePrompt required
The instance.
value string required
The value.

Returns

DatePrompt The same instance.

Examples

// C# initializer or property    // C# fluent
datePrompt.Title = value;        Ui.DatePrompt().Title(value);
public static NumberPrompt Title(NumberPrompt numberPrompt, string value) #

Sets Prompt<decimal>.Title: The question.

Parameters

numberPrompt ConsoleMonster.Interactive.NumberPrompt required
The instance.
value string required
The value.

Returns

NumberPrompt The same instance.

Examples

// C# initializer or property    // C# fluent
numberPrompt.Title = value;      Ui.NumberPrompt().Title(value);
public static PathPrompt Title(PathPrompt pathPrompt, string value) #

Sets Prompt<string>.Title: The question.

Parameters

pathPrompt ConsoleMonster.Interactive.PathPrompt required
The instance.
value string required
The value.

Returns

PathPrompt The same instance.

Examples

// C# initializer or property    // C# fluent
pathPrompt.Title = value;        Ui.PathPrompt().Title(value);
public static SecretPrompt Title(SecretPrompt secretPrompt, string value) #

Sets Prompt<string>.Title: The question.

Parameters

secretPrompt ConsoleMonster.Interactive.SecretPrompt required
The instance.
value string required
The value.

Returns

SecretPrompt The same instance.

Examples

// C# initializer or property    // C# fluent
secretPrompt.Title = value;      secretPrompt.Title(value);
public static TextPrompt Title(TextPrompt textPrompt, string value) #

Sets Prompt<string>.Title: The question.

Parameters

textPrompt ConsoleMonster.Interactive.TextPrompt required
The instance.
value string required
The value.

Returns

TextPrompt The same instance.

Examples

// C# initializer or property    // C# fluent
textPrompt.Title = value;        textPrompt.Title(value);
public static TypedConfirmPrompt Title(TypedConfirmPrompt typedConfirmPrompt, string value) #

Sets Prompt<bool>.Title: The question.

Parameters

typedConfirmPrompt ConsoleMonster.Interactive.TypedConfirmPrompt required
The instance.
value string required
The value.

Returns

TypedConfirmPrompt The same instance.

Examples

// C# initializer or property        // C# fluent
typedConfirmPrompt.Title = value;    Ui.TypedConfirmPrompt().Title(value);
public static Form Title(Form form, string value) #

Sets Form.Title: The title.

Parameters

form ConsoleMonster.Interactive.Form required
The instance.
value string required
The value.

Returns

Form The same instance.

Examples

// C# initializer or property    // C# fluent
form.Title = value;              Ui.Form().Title(value);
public static Menu Title(Menu menu, string value) #

Sets Menu.Title: The title.

Parameters

menu ConsoleMonster.Interactive.Menu required
The instance.
value string required
The value.

Returns

Menu The same instance.

Examples

// C# initializer or property    // C# fluent
menu.Title = value;              Ui.Menu().Title(value);
public static FormPage Title(FormPage formPage, string value) #

Sets FormPage.Title: The title (also shown in the progress strip).

Parameters

formPage ConsoleMonster.Interactive.FormPage required
The instance.
value string required
The value.

Returns

FormPage The same instance.

Examples

// C# initializer or property    // C# fluent
formPage.Title = value;          formPage.Title(value);
Title``1 2 overloads
public static MultiSelectPrompt<T?> Title<T>(MultiSelectPrompt<T?> multiSelectPrompt, string value) #

Sets Prompt<IReadOnlyList<`0>>.Title: The question.

Type Parameters

T

Parameters

multiSelectPrompt ConsoleMonster.Interactive.MultiSelectPrompt<T?> required
The instance.
value string required
The value.

Returns

MultiSelectPrompt<T?> The same instance.

Examples

// C# initializer or property       // C# fluent
multiSelectPrompt.Title = value;    multiSelectPrompt.Title(value);
public static SelectPrompt<T?> Title<T>(SelectPrompt<T?> selectPrompt, string value) #

Sets Prompt<`0>.Title: The question.

Type Parameters

T

Parameters

selectPrompt ConsoleMonster.Interactive.SelectPrompt<T?> required
The instance.
value string required
The value.

Returns

SelectPrompt<T?> The same instance.

Examples

// C# initializer or property    // C# fluent
selectPrompt.Title = value;      selectPrompt.Title(value);
Today 2 overloads
public static DatePicker Today(DatePicker datePicker, DateTime value) #

Sets DatePicker.Today: Today emphasis and deterministic initial cursor.

Parameters

datePicker ConsoleMonster.Interactive.DatePicker required
The instance.
value System.DateTime required
The value.

Returns

DatePicker The same instance.

Examples

// C# initializer or property    // C# fluent
datePicker.Today = value;        datePicker.Today(value);
public static DateSelectionOptions Today(DateSelectionOptions dateSelectionOptions, DateTime value) #

Sets DateSelectionOptions.Today: Injectable civil date for today and the initial cursor.

Parameters

dateSelectionOptions ConsoleMonster.Interactive.DateSelectionOptions required
The instance.
value System.DateTime required
The value.

Returns

DateSelectionOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.DateSelectionOptions { Today = value };    dateSelectionOptions.Today(value);
public static PromptLabels ToFix(PromptLabels promptLabels, string value) #

Sets PromptLabels.ToFix: How many problems block a review's run: {0}.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { ToFix = value };    promptLabels.ToFix(value);
public static PromptLabels TypedMismatch(PromptLabels promptLabels, string value) #

Sets PromptLabels.TypedMismatch: The typed confirmation does not match: {0} is the expected text.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { TypedMismatch = value };    promptLabels.TypedMismatch(value);
public static PromptLabels TypeToConfirm(PromptLabels promptLabels, string value) #

Sets PromptLabels.TypeToConfirm: Typed confirmation: {0} is the text to type.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { TypeToConfirm = value };    promptLabels.TypeToConfirm(value);
public static PromptLabels TypeToFilter(PromptLabels promptLabels, string value) #

Sets PromptLabels.TypeToFilter: Placeholder of a filter box.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { TypeToFilter = value };    promptLabels.TypeToFilter(value);
public static PromptLabels Unavailable(PromptLabels promptLabels, string value) #

Sets PromptLabels.Unavailable: A menu item whose action is unavailable: {0}.

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Unavailable = value };    promptLabels.Unavailable(value);
ValidationMessage 15 overloads
public static Button ValidationMessage(Button button, string? value) #

Sets InputControl.ValidationMessage: The current validation message below the control, or null.

Parameters

button ConsoleMonster.Interactive.Button required
The instance.
value string? required
The value.

Returns

Button The same instance.

Examples

// C# initializer or property        // C# fluent
button.ValidationMessage = value;    button.ValidationMessage(value);
public static DataGrid ValidationMessage(DataGrid dataGrid, string? value) #

Sets InputControl.ValidationMessage: The current validation message below the control, or null.

Parameters

dataGrid ConsoleMonster.Interactive.DataGrid required
The instance.
value string? required
The value.

Returns

DataGrid The same instance.

Examples

// C# initializer or property          // C# fluent
dataGrid.ValidationMessage = value;    dataGrid.ValidationMessage(value);
public static DatePicker ValidationMessage(DatePicker datePicker, string? value) #

Sets InputControl.ValidationMessage: The current validation message below the control, or null.

Parameters

datePicker ConsoleMonster.Interactive.DatePicker required
The instance.
value string? required
The value.

Returns

DatePicker The same instance.

Examples

// C# initializer or property            // C# fluent
datePicker.ValidationMessage = value;    datePicker.ValidationMessage(value);
public static LogViewport ValidationMessage(LogViewport logViewport, string? value) #

Sets InputControl.ValidationMessage: The current validation message below the control, or null.

Parameters

logViewport ConsoleMonster.Interactive.LogViewport required
The instance.
value string? required
The value.

Returns

LogViewport The same instance.

Examples

// C# initializer or property             // C# fluent
logViewport.ValidationMessage = value;    logViewport.ValidationMessage(value);
public static Select ValidationMessage(Select select, string? value) #

Sets InputControl.ValidationMessage: The current validation message below the control, or null.

Parameters

select ConsoleMonster.Interactive.Select required
The instance.
value string? required
The value.

Returns

Select The same instance.

Examples

// C# initializer or property         // C# fluent
@select.ValidationMessage = value;    @select.ValidationMessage(value);
public static TextInput ValidationMessage(TextInput textInput, string? value) #

Sets InputControl.ValidationMessage: The current validation message below the control, or null.

Parameters

textInput ConsoleMonster.Interactive.TextInput required
The instance.
value string? required
The value.

Returns

TextInput The same instance.

Examples

// C# initializer or property           // C# fluent
textInput.ValidationMessage = value;    textInput.ValidationMessage(value);
public static Toggle ValidationMessage(Toggle toggle, string? value) #

Sets InputControl.ValidationMessage: The current validation message below the control, or null.

Parameters

toggle ConsoleMonster.Interactive.Toggle required
The instance.
value string? required
The value.

Returns

Toggle The same instance.

Examples

// C# initializer or property        // C# fluent
toggle.ValidationMessage = value;    toggle.ValidationMessage(value);
public static TreeSelect ValidationMessage(TreeSelect treeSelect, string? value) #

Sets InputControl.ValidationMessage: The current validation message below the control, or null.

Parameters

treeSelect ConsoleMonster.Interactive.TreeSelect required
The instance.
value string? required
The value.

Returns

TreeSelect The same instance.

Examples

// C# initializer or property            // C# fluent
treeSelect.ValidationMessage = value;    treeSelect.ValidationMessage(value);
public static SelectInputOptions ValidationMessage(SelectInputOptions selectInputOptions, string? value) #

Sets AppInputOptions.ValidationMessage: Initial validation text.

Parameters

selectInputOptions ConsoleMonster.Interactive.SelectInputOptions required
The instance.
value string? required
The value.

Returns

SelectInputOptions The same instance.

Examples

// C# initializer or property                                                               // C# fluent
new global::ConsoleMonster.Interactive.SelectInputOptions { ValidationMessage = value };    Ui.Select().ValidationMessage(value);
public static TextInputOptions ValidationMessage(TextInputOptions textInputOptions, string? value) #

Sets AppInputOptions.ValidationMessage: Initial validation text.

Parameters

textInputOptions ConsoleMonster.Interactive.TextInputOptions required
The instance.
value string? required
The value.

Returns

TextInputOptions The same instance.

Examples

// C# initializer or property                                                             // C# fluent
new global::ConsoleMonster.Interactive.TextInputOptions { ValidationMessage = value };    Ui.TextInput().ValidationMessage(value);
public static ButtonInputOptions ValidationMessage(ButtonInputOptions buttonInputOptions, string? value) #

Sets AppInputOptions.ValidationMessage: Initial validation text.

Parameters

buttonInputOptions ConsoleMonster.Interactive.ButtonInputOptions required
The instance.
value string? required
The value.

Returns

ButtonInputOptions The same instance.

Examples

// C# initializer or property                                                               // C# fluent
new global::ConsoleMonster.Interactive.ButtonInputOptions { ValidationMessage = value };    Ui.Button().ValidationMessage(value);
public static DataGridInputOptions ValidationMessage(DataGridInputOptions dataGridInputOptions, string? value) #

Sets AppInputOptions.ValidationMessage: Initial validation text.

Parameters

dataGridInputOptions ConsoleMonster.Interactive.DataGridInputOptions required
The instance.
value string? required
The value.

Returns

DataGridInputOptions The same instance.

Examples

// C# initializer or property                                                                 // C# fluent
new global::ConsoleMonster.Interactive.DataGridInputOptions { ValidationMessage = value };    Ui.DataGrid().ValidationMessage(value);
public static DatePickerInputOptions ValidationMessage(DatePickerInputOptions datePickerInputOptions, string? value) #

Sets AppInputOptions.ValidationMessage: Initial validation text.

Parameters

datePickerInputOptions ConsoleMonster.Interactive.DatePickerInputOptions required
The instance.
value string? required
The value.

Returns

DatePickerInputOptions The same instance.

Examples

// C# initializer or property                                                                   // C# fluent
new global::ConsoleMonster.Interactive.DatePickerInputOptions { ValidationMessage = value };    Ui.DatePicker().ValidationMessage(value);
public static ToggleInputOptions ValidationMessage(ToggleInputOptions toggleInputOptions, string? value) #

Sets AppInputOptions.ValidationMessage: Initial validation text.

Parameters

toggleInputOptions ConsoleMonster.Interactive.ToggleInputOptions required
The instance.
value string? required
The value.

Returns

ToggleInputOptions The same instance.

Examples

// C# initializer or property                                                               // C# fluent
new global::ConsoleMonster.Interactive.ToggleInputOptions { ValidationMessage = value };    Ui.Toggle().ValidationMessage(value);
public static TreeSelectInputOptions ValidationMessage(TreeSelectInputOptions treeSelectInputOptions, string? value) #

Sets AppInputOptions.ValidationMessage: Initial validation text.

Parameters

treeSelectInputOptions ConsoleMonster.Interactive.TreeSelectInputOptions required
The instance.
value string? required
The value.

Returns

TreeSelectInputOptions The same instance.

Examples

// C# initializer or property                                                                   // C# fluent
new global::ConsoleMonster.Interactive.TreeSelectInputOptions { ValidationMessage = value };    Ui.TreeSelect().ValidationMessage(value);
Value 17 overloads
public static DatePicker Value(DatePicker datePicker, object? value) #

Sets DatePicker.Value: The committed civil date or DateRange; null means uncommitted. A scalar in range mode means Start=End.

Parameters

datePicker ConsoleMonster.Interactive.DatePicker required
The instance.
value object? required
The value.

Returns

DatePicker The same instance.

Examples

// C# initializer or property    // C# fluent
datePicker.Value = value;        datePicker.Value(value);
public static Select Value(Select select, object? value) #

Sets Select.Value: The committed value; null also represents an empty selection. Assign only enabled choices' values.

Parameters

select ConsoleMonster.Interactive.Select required
The instance.
value object? required
The value.

Returns

Select The same instance.

Examples

// C# initializer or property    // C# fluent
@select.Value = value;           @select.Value(value);
public static TextInput Value(TextInput textInput, string value) #

Sets TextInput.Value: The text value; edits notify the application after the control lock is released.

Parameters

textInput ConsoleMonster.Interactive.TextInput required
The instance.
value string required
The value.

Returns

TextInput The same instance.

Examples

// C# initializer or property    // C# fluent
textInput.Value = value;         textInput.Value(value);
public static Toggle Value(Toggle toggle, bool value) #

Sets Toggle.Value: The committed on/off value. Assignments notify only when the value changes.

Parameters

toggle ConsoleMonster.Interactive.Toggle required
The instance.
value bool required
The value.

Returns

Toggle The same instance.

Examples

// C# initializer or property    // C# fluent
toggle.Value = value;            toggle.Value(value);
public static Toggle Value(Toggle toggle) #

Sets Toggle.Value to true.

Parameters

toggle ConsoleMonster.Interactive.Toggle required
The instance to configure.

Returns

Toggle The same instance.
public static SelectInputOptions Value(SelectInputOptions selectInputOptions, object? value) #

Sets SelectInputOptions.Value: The initial scalar or collection; omission preserves choices marked Selected.

Parameters

selectInputOptions ConsoleMonster.Interactive.SelectInputOptions required
The instance.
value object? required
The value.

Returns

SelectInputOptions The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ConsoleMonster.Interactive.SelectInputOptions { Value = value };    Ui.Select().Value(value);
public static TextInputOptions Value(TextInputOptions textInputOptions, string? value) #

Sets TextInputOptions.Value: The initial text; null is empty.

Parameters

textInputOptions ConsoleMonster.Interactive.TextInputOptions required
The instance.
value string? required
The value.

Returns

TextInputOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ConsoleMonster.Interactive.TextInputOptions { Value = value };    Ui.TextInput().Value(value);
public static DatePickerInputOptions Value(DatePickerInputOptions datePickerInputOptions, object? value) #

Sets DatePickerInputOptions.Value: The initial DateTime or DateRange. Omission leaves selection uncommitted.

Parameters

datePickerInputOptions ConsoleMonster.Interactive.DatePickerInputOptions required
The instance.
value object? required
The value.

Returns

DatePickerInputOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.DatePickerInputOptions { Value = value };    Ui.DatePicker().Value(value);
public static ToggleInputOptions Value(ToggleInputOptions toggleInputOptions, bool value) #

Sets ToggleInputOptions.Value: The initial Boolean value.

Parameters

toggleInputOptions ConsoleMonster.Interactive.ToggleInputOptions required
The instance.
value bool required
The value.

Returns

ToggleInputOptions The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ConsoleMonster.Interactive.ToggleInputOptions { Value = value };    Ui.Toggle().Value(value);
public static ToggleInputOptions Value(ToggleInputOptions toggleInputOptions) #

Sets ToggleInputOptions.Value to true.

Parameters

toggleInputOptions ConsoleMonster.Interactive.ToggleInputOptions required
The instance to configure.

Returns

ToggleInputOptions The same instance.
public static ChoiceField Value(ChoiceField choiceField, object? value) #

Sets Field.Value: The current value.

Parameters

choiceField ConsoleMonster.Interactive.ChoiceField required
The instance.
value object? required
The value.

Returns

ChoiceField The same instance.

Examples

// C# initializer or property    // C# fluent
choiceField.Value = value;       choiceField.Value(value);
public static NumberField Value(NumberField numberField, object? value) #

Sets Field.Value: The current value.

Parameters

numberField ConsoleMonster.Interactive.NumberField required
The instance.
value object? required
The value.

Returns

NumberField The same instance.

Examples

// C# initializer or property    // C# fluent
numberField.Value = value;       numberField.Value(value);
public static PathField Value(PathField pathField, object? value) #

Sets Field.Value: The current value.

Parameters

pathField ConsoleMonster.Interactive.PathField required
The instance.
value object? required
The value.

Returns

PathField The same instance.

Examples

// C# initializer or property    // C# fluent
pathField.Value = value;         pathField.Value(value);
public static SecretField Value(SecretField secretField, object? value) #

Sets Field.Value: The current value.

Parameters

secretField ConsoleMonster.Interactive.SecretField required
The instance.
value object? required
The value.

Returns

SecretField The same instance.

Examples

// C# initializer or property    // C# fluent
secretField.Value = value;       secretField.Value(value);
public static TextAreaField Value(TextAreaField textAreaField, object? value) #

Sets Field.Value: The current value.

Parameters

textAreaField ConsoleMonster.Interactive.TextAreaField required
The instance.
value object? required
The value.

Returns

TextAreaField The same instance.

Examples

// C# initializer or property    // C# fluent
textAreaField.Value = value;     textAreaField.Value(value);
public static TextField Value(TextField textField, object? value) #

Sets Field.Value: The current value.

Parameters

textField ConsoleMonster.Interactive.TextField required
The instance.
value object? required
The value.

Returns

TextField The same instance.

Examples

// C# initializer or property    // C# fluent
textField.Value = value;         textField.Value(value);
public static ToggleField Value(ToggleField toggleField, object? value) #

Sets Field.Value: The current value.

Parameters

toggleField ConsoleMonster.Interactive.ToggleField required
The instance.
value object? required
The value.

Returns

ToggleField The same instance.

Examples

// C# initializer or property    // C# fluent
toggleField.Value = value;       toggleField.Value(value);
public static TSelf Value<TSelf>(TSelf field, object? value) #

Sets Field.Value: The current value.

Type Parameters

TSelf

Parameters

field TSelf required
The instance.
value object? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property    // C# fluent
@field.Value = value;            @field.Value(value);
public static TypedConfirmPrompt Warning(TypedConfirmPrompt typedConfirmPrompt, string? value) #

Sets TypedConfirmPrompt.Warning: A warning under the question (default: none).

Parameters

typedConfirmPrompt ConsoleMonster.Interactive.TypedConfirmPrompt required
The instance.
value string? required
The value.

Returns

TypedConfirmPrompt The same instance.

Examples

// C# initializer or property          // C# fluent
typedConfirmPrompt.Warning = value;    Ui.TypedConfirmPrompt().Warning(value);
public static BindingOptions WidgetId(BindingOptions bindingOptions, string? value) #

Sets BindingOptions.WidgetId: The optional live-region identity.

Parameters

bindingOptions ConsoleMonster.Interactive.BindingOptions required
The instance.
value string? required
The value.

Returns

BindingOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Interactive.BindingOptions { WidgetId = value };    Ui.Binding().WidgetId(value);
public static TerminalChildOptions WorkingDirectory(TerminalChildOptions terminalChildOptions, string value) #

Sets TerminalChildOptions.WorkingDirectory: The child's current directory.

Parameters

terminalChildOptions ConsoleMonster.Interactive.TerminalChildOptions required
The instance.
value string required
The value.

Returns

TerminalChildOptions The same instance.

Examples

// C# initializer or property                                                                // C# fluent
new global::ConsoleMonster.Interactive.TerminalChildOptions { WorkingDirectory = value };    terminalChildOptions.WorkingDirectory(value);
public static PromptLabels Yes(PromptLabels promptLabels, string value) #

Sets PromptLabels.Yes: The answer "yes".

Parameters

promptLabels ConsoleMonster.Interactive.PromptLabels required
The instance.
value string required
The value.

Returns

PromptLabels The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Yes = value };    promptLabels.Yes(value);
public static ConfirmPrompt YesText(ConfirmPrompt confirmPrompt, string? value) #

Sets ConfirmPrompt.YesText: The caption of the positive answer; null uses the labels.

Parameters

confirmPrompt ConsoleMonster.Interactive.ConfirmPrompt required
The instance.
value string? required
The value.

Returns

ConfirmPrompt The same instance.

Examples

// C# initializer or property     // C# fluent
confirmPrompt.YesText = value;    Ui.ConfirmPrompt().YesText(value);