InteractiveFluent
ConsoleMonster.Interactive
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { ActionRunning = value }; promptLabels.ActionRunning(value);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
- The instance.
- value ConsoleMonster.Interactive.AppActions?
- The value.
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
- The instance.
- value ConsoleMonster.Input.KeyChord?
- The value.
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
- The instance.
- item string
- The item.
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
- The instance.
- items string[]
- The items, in order.
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
- The instance.
- items System.Collections.Generic.IEnumerable<string>
- The items, in order.
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
- The instance.
- item ConsoleMonster.Interactive.Choice
- The item.
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
- The instance.
- item ConsoleMonster.Interactive.Choice
- The item.
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
- The instance.
- item ConsoleMonster.Interactive.Choice
- The item.
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
- The instance.
- items ConsoleMonster.Interactive.Choice[]
- The items, in order.
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
- The instance.
- items System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.Choice>
- The items, in order.
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
- The instance.
- items ConsoleMonster.Interactive.Choice[]
- The items, in order.
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
- The instance.
- items System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.Choice>
- The items, in order.
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
- The instance.
- items ConsoleMonster.Interactive.Choice[]
- The items, in order.
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
- The instance.
- items System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.Choice>
- The items, in order.
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?>
- The instance.
- items ConsoleMonster.Interactive.Choice[]
- The items, in order.
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?>
- The instance.
- items System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.Choice>
- The items, in order.
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?>
- The instance.
- items ConsoleMonster.Interactive.Choice[]
- The items, in order.
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?>
- The instance.
- items System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.Choice>
- The items, in order.
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?>
- The instance.
- item ConsoleMonster.Interactive.Choice
- The item.
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?>
- The instance.
- item ConsoleMonster.Interactive.Choice
- The item.
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
- The instance.
- item ConsoleMonster.Interactive.AppCommand
- The item.
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
- The instance.
- items ConsoleMonster.Interactive.AppCommand[]
- The items, in order.
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
- The instance.
- items System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.AppCommand>
- The items, in order.
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
- The instance.
- item ConsoleMonster.Interactive.AppCommand
- The item.
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
- The instance.
- items ConsoleMonster.Interactive.AppCommand[]
- The items, in order.
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
- The instance.
- items System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.AppCommand>
- The items, in order.
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
- The instance.
- item string
- The item.
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
- The instance.
- items string[]
- The items, in order.
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
- The instance.
- items System.Collections.Generic.IEnumerable<string>
- The items, in order.
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
- The instance.
- item string
- The item.
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
- The instance.
- items string[]
- The items, in order.
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
- The instance.
- items System.Collections.Generic.IEnumerable<string>
- The items, in order.
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
- The instance.
- item string
- The item.
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
- The instance.
- items string[]
- The items, in order.
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
- The instance.
- items System.Collections.Generic.IEnumerable<string>
- The items, in order.
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
- The instance.
- item string
- The item.
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
- The instance.
- items string[]
- The items, in order.
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
- The instance.
- items System.Collections.Generic.IEnumerable<string>
- The items, in order.
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
- The instance.
- item string
- The item.
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
- The instance.
- items string[]
- The items, in order.
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
- The instance.
- items System.Collections.Generic.IEnumerable<string>
- The items, in order.
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
- The instance.
- item string
- The item.
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
- The instance.
- items string[]
- The items, in order.
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
- The instance.
- items System.Collections.Generic.IEnumerable<string>
- The items, in order.
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
- The instance.
- item string
- The item.
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
- The instance.
- items string[]
- The items, in order.
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
- The instance.
- items System.Collections.Generic.IEnumerable<string>
- The items, in order.
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
- The instance.
- item string
- 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
- The instance.
- items string[]
- 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
- The instance.
- items System.Collections.Generic.IEnumerable<string>
- The items, in order.
Returns
TSelf The same instance.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
- The instance.
- item string
- The item.
public static PathField AddExtension(PathField pathField, string item) #Adds an item to PathField.Extensions: Extensions offered as suggestions.
Parameters
- pathField ConsoleMonster.Interactive.PathField
- The instance.
- item string
- The item.
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
- The instance.
- items string[]
- The items, in order.
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
- The instance.
- items System.Collections.Generic.IEnumerable<string>
- The items, in order.
public static PathField AddExtensions(PathField pathField, params string[] items) #Adds items to PathField.Extensions: Extensions offered as suggestions.
Parameters
- pathField ConsoleMonster.Interactive.PathField
- The instance.
- items string[]
- The items, in order.
public static PathField AddExtensions(PathField pathField, IEnumerable<string> items) #Adds items to PathField.Extensions: Extensions offered as suggestions.
Parameters
- pathField ConsoleMonster.Interactive.PathField
- The instance.
- items System.Collections.Generic.IEnumerable<string>
- The items, in order.
public static FormPage AddField(FormPage formPage, Field item) #Adds an item to FormPage.Fields: The fields.
Parameters
- formPage ConsoleMonster.Interactive.FormPage
- The instance.
- item ConsoleMonster.Interactive.Field
- The item.
public static FormPage AddFields(FormPage formPage, params Field[] items) #Adds items to FormPage.Fields: The fields.
Parameters
- formPage ConsoleMonster.Interactive.FormPage
- The instance.
- items ConsoleMonster.Interactive.Field[]
- The items, in order.
public static FormPage AddFields(FormPage formPage, IEnumerable<Field> items) #Adds items to FormPage.Fields: The fields.
Parameters
- formPage ConsoleMonster.Interactive.FormPage
- The instance.
- items System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.Field>
- The items, in order.
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
- The instance.
- item string
- The item.
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
- The instance.
- items string[]
- The items, in order.
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
- The instance.
- items System.Collections.Generic.IEnumerable<string>
- The items, in order.
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
- The instance.
- item string
- The item.
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
- The instance.
- items string[]
- The items, in order.
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
- The instance.
- items System.Collections.Generic.IEnumerable<string>
- The items, in order.
public static Form AddPage(Form form, FormPage item) #Adds an item to Form.Pages: The pages, in order.
Parameters
- form ConsoleMonster.Interactive.Form
- The instance.
- item ConsoleMonster.Interactive.FormPage
- The item.
public static Form AddPages(Form form, params FormPage[] items) #Adds items to Form.Pages: The pages, in order.
Parameters
- form ConsoleMonster.Interactive.Form
- The instance.
- items ConsoleMonster.Interactive.FormPage[]
- The items, in order.
public static Form AddPages(Form form, IEnumerable<FormPage> items) #Adds items to Form.Pages: The pages, in order.
Parameters
- form ConsoleMonster.Interactive.Form
- The instance.
- items System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.FormPage>
- The items, in order.
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
- The instance.
- item ConsoleMonster.Interactive.FormPreset
- The item.
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
- The instance.
- items ConsoleMonster.Interactive.FormPreset[]
- The items, in order.
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
- The instance.
- items System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.FormPreset>
- The items, in order.
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
- The instance.
- item string
- The item.
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
- The instance.
- items string[]
- The items, in order.
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
- The instance.
- items System.Collections.Generic.IEnumerable<string>
- The items, in order.
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
- The instance.
- item System.Collections.Generic.KeyValuePair<string, string>
- The item.
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
- The instance.
- items System.Collections.Generic.KeyValuePair<string, string>[]
- The items, in order.
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
- The instance.
- items System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, string>>
- The items, in order.
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
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static SecretPrompt AllowReveal(SecretPrompt secretPrompt, bool value) #Sets SecretPrompt.AllowReveal: Whether Ctrl+R can reveal the typed text.
Parameters
- secretPrompt ConsoleMonster.Interactive.SecretPrompt
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { AppCommands = value }; promptLabels.AppCommands(value);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
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.FormOptions { AppName = value }; formOptions.AppName(value);public static TextQuestionOptions AsSecret(TextQuestionOptions textQuestionOptions, bool value) #Sets TextQuestionOptions.AsSecret: Uses the secret editor, without history or defaults.
Parameters
- textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static PromptLabels Back(PromptLabels promptLabels, string value) #Sets PromptLabels.Back: The back button.
Parameters
- promptLabels ConsoleMonster.Interactive.PromptLabels
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Back = value }; promptLabels.Back(value);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
- The instance.
- value ConsoleMonster.Text.RichText?
- The value.
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
- The instance.
- configure System.Action<ConsoleMonster.Text.RichText>
- Configures the value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value ConsoleMonster.Input.KeyChord?
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value ConsoleMonster.Interactive.ScreenCapture?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.InteractiveOptions { Capture = value }; interactiveOptions.Capture(value);public static TypedConfirmPrompt CaseSensitive(TypedConfirmPrompt typedConfirmPrompt, bool value) #Sets TypedConfirmPrompt.CaseSensitive: Whether case must match too.
Parameters
- typedConfirmPrompt ConsoleMonster.Interactive.TypedConfirmPrompt
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static SelectQuestionOptions Collapsed(SelectQuestionOptions selectQuestionOptions, bool value) #Sets SelectQuestionOptions.Collapsed: Whether groups start collapsed; valid only with Multiple.
Parameters
- selectQuestionOptions ConsoleMonster.Interactive.SelectQuestionOptions
- The instance.
- value bool
- The value.
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
- The instance to configure.
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?>
- The instance.
- value bool
- The value.
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?>
- The instance to configure.
public static PromptLabels Columns(PromptLabels promptLabels, string value) #Sets PromptLabels.Columns: The column chooser's title.
Parameters
- promptLabels ConsoleMonster.Interactive.PromptLabels
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Columns = value }; promptLabels.Columns(value);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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.AppCommand>
- Configures the value.
public static ReviewModel Command(ReviewModel reviewModel, string? value) #Sets ReviewModel.Command: The equivalent command line, or null.
Parameters
- reviewModel ConsoleMonster.Interactive.ReviewModel
- The instance.
- value string?
- The value.
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
- The instance.
- value ConsoleMonster.Interactive.AppCommand?
- The value.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.AppCommand>
- Configures the value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { CommandCopied = value }; promptLabels.CommandCopied(value);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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value ConsoleMonster.Interactive.CommandStyle
- The value.
Examples
// C# initializer or property // C# fluent
form.CommandStyle = value; Ui.Form().CommandStyle(value);public static DatePicker Configure(DatePicker datePicker, Action<DatePicker> configure) #Assigns callbacks and related configuration without invoking delegate-valued properties.
Parameters
- datePicker ConsoleMonster.Interactive.DatePicker
- The instance.
- configure System.Action<ConsoleMonster.Interactive.DatePicker>
- Assignments applied in order.
Examples
// C# initializer or property // C# fluent
datePicker.Unavailable = value; datePicker.Configure(configured => configured.Unavailable = 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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.ReviewModel>
- Assignments applied in order.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.SelectQuestionOptions>
- Assignments applied in order.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.SelectInputOptions>
- Assignments applied in order.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.TextInputOptions>
- Assignments applied in order.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.TextQuestionOptions>
- Assignments applied in order.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.ConsoleAppOptions>
- Assignments applied in order.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.BindingOptions>
- Assignments applied in order.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.ButtonInputOptions>
- Assignments applied in order.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.CommandOptions>
- Assignments applied in order.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.DataGridInputOptions>
- Assignments applied in order.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.DatePickerInputOptions>
- Assignments applied in order.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.DateSelectionOptions>
- Assignments applied in order.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.FormDialogOptions>
- Assignments applied in order.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.ToggleInputOptions>
- Assignments applied in order.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.TreeSelectInputOptions>
- Assignments applied in order.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.FormOptions>
- Assignments applied in order.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.GridOptions>
- Assignments applied in order.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.InteractiveOptions>
- Assignments applied in order.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.NumberPrompt>
- Assignments applied in order.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.SecretPrompt>
- Assignments applied in order.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.TextPrompt>
- Assignments applied in order.
Examples
// C# initializer or property // C# fluent
textPrompt.Validator = value; textPrompt.Configure(configured => configured.Validator = value);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?>
- The instance.
- configure System.Action<ConsoleMonster.Interactive.MultiSelectPrompt<T?>>
- Assignments applied in order.
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?>
- The instance.
- configure System.Action<ConsoleMonster.Interactive.SelectPrompt<T?>>
- Assignments applied in order.
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
- The instance.
- configure System.Action<TSelf>
- 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);public static CommandOptions ConfirmPrompt(CommandOptions commandOptions, string? value) #Sets CommandOptions.ConfirmPrompt: The optional confirmation prompt.
Parameters
- commandOptions ConsoleMonster.Interactive.CommandOptions
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
appCommand.ConfirmPrompt = value; appCommand.ConfirmPrompt(value);public static FormDialogOptions Content(FormDialogOptions formDialogOptions, IWidget content) #Configures this container's content before session ownership.
Parameters
- formDialogOptions ConsoleMonster.Interactive.FormDialogOptions
- The instance.
- content ConsoleMonster.Layout.IWidget
- The widget or nested content builder.
public static FormDialogOptions Content(FormDialogOptions formDialogOptions, Action<ContentBuilder> content) #Configures this container's content before session ownership.
Parameters
- formDialogOptions ConsoleMonster.Interactive.FormDialogOptions
- The instance.
- content System.Action<ConsoleMonster.Layout.ContentBuilder>
- The widget or nested content builder.
public static TabOptions Content(TabOptions tabOptions, IWidget content) #Configures this container's content before session ownership.
Parameters
- tabOptions ConsoleMonster.Interactive.TabOptions
- The instance.
- content ConsoleMonster.Layout.IWidget
- The widget or nested content builder.
public static TabOptions Content(TabOptions tabOptions, Action<ContentBuilder> content) #Configures this container's content before session ownership.
Parameters
- tabOptions ConsoleMonster.Interactive.TabOptions
- The instance.
- content System.Action<ConsoleMonster.Layout.ContentBuilder>
- The widget or nested content builder.
public static PromptLabels CopyCommand(PromptLabels promptLabels, string value) #Sets PromptLabels.CopyCommand: The copy-command button.
Parameters
- promptLabels ConsoleMonster.Interactive.PromptLabels
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { CopyFailed = value }; promptLabels.CopyFailed(value);public static DatePicker Culture(DatePicker datePicker, CultureInfo? value) #Sets DatePicker.Culture: The display culture; arithmetic remains Gregorian.
Parameters
- datePicker ConsoleMonster.Interactive.DatePicker
- The instance.
- value System.Globalization.CultureInfo?
- The value.
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
- The instance.
- value System.Globalization.CultureInfo?
- The value.
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
- The instance.
- value System.Globalization.CultureInfo?
- The value.
Examples
// C# initializer or property // C# fluent
numberPrompt.Culture = value; Ui.NumberPrompt().Culture(value);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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.GridRow>
- Configures the value.
public static DataGrid Cursor(DataGrid dataGrid, int value) #Sets DataGrid.Cursor: The focused visible row index.
Parameters
- dataGrid ConsoleMonster.Interactive.DataGrid
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
dataGrid.Cursor = value; dataGrid.Cursor(value);public static DatePicker Data(DatePicker datePicker, CalendarData value) #Sets DatePicker.Data: The shared immutable status/label model.
Parameters
- datePicker ConsoleMonster.Interactive.DatePicker
- The instance.
- value ConsoleMonster.Dates.CalendarData
- The value.
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
- The instance.
- value ConsoleMonster.Dates.CalendarData
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.DateSelectionOptions { Data = value }; dateSelectionOptions.Data(value);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
- The instance.
- value object?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value object
- The value.
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
- The instance.
- value decimal
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value object?
- The value.
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
- The instance.
- value object?
- The value.
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
- The instance.
- value object?
- The value.
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
- The instance.
- value object?
- The value.
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
- The instance.
- value object?
- The value.
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
- The instance.
- value object?
- The value.
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
- The instance.
- value object?
- The value.
Examples
// C# initializer or property // C# fluent
toggleField.Default = value; toggleField.Default(value);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
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static PromptLabels DefaultHint(PromptLabels promptLabels, string value) #Sets PromptLabels.DefaultHint: Accessible mode: default value hint: {0}.
Parameters
- promptLabels ConsoleMonster.Interactive.PromptLabels
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { DefaultHint = value }; promptLabels.DefaultHint(value);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?>
- The instance.
- value System.Collections.Generic.IReadOnlyList<T?>
- The value.
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?>
- The instance.
- value T?
- The value.
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
- The instance.
- value object?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
@field.Default = value; @field.Default(value);public static ReviewModel Description(ReviewModel reviewModel, string? value) #Sets ReviewModel.Description: A sentence under the heading.
Parameters
- reviewModel ConsoleMonster.Interactive.ReviewModel
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
formPreset.Description = value; formPreset.Description(value);public static SelectQuestionOptions Description(SelectQuestionOptions selectQuestionOptions, string? value) #Sets SelectQuestionOptions.Description: Help text below the question.
Parameters
- selectQuestionOptions ConsoleMonster.Interactive.SelectQuestionOptions
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
form.Description = value; Ui.Form().Description(value);public static FormPage Description(FormPage formPage, string? value) #Sets FormPage.Description: A sentence under the title.
Parameters
- formPage ConsoleMonster.Interactive.FormPage
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
formPage.Description = value; formPage.Description(value);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?>
- The instance.
- value string?
- The value.
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?>
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
selectPrompt.Description = value; selectPrompt.Description(value);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
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static ConsoleAppOptions Dialogs(ConsoleAppOptions consoleAppOptions, AppDialogs? value) #Sets ConsoleAppOptions.Dialogs: Optional typed modal form service for this run.
Parameters
- consoleAppOptions ConsoleMonster.Interactive.ConsoleAppOptions
- The instance.
- value ConsoleMonster.Interactive.AppDialogs?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.ConsoleAppOptions { Dialogs = value }; consoleAppOptions.Dialogs(value);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
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static SelectInputOptions Disabled(SelectInputOptions selectInputOptions, bool value) #Sets AppInputOptions.Disabled: Disables editing and keyboard focus.
Parameters
- selectInputOptions ConsoleMonster.Interactive.SelectInputOptions
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static TextInputOptions Disabled(TextInputOptions textInputOptions, bool value) #Sets AppInputOptions.Disabled: Disables editing and keyboard focus.
Parameters
- textInputOptions ConsoleMonster.Interactive.TextInputOptions
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static ButtonInputOptions Disabled(ButtonInputOptions buttonInputOptions, bool value) #Sets AppInputOptions.Disabled: Disables editing and keyboard focus.
Parameters
- buttonInputOptions ConsoleMonster.Interactive.ButtonInputOptions
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static DataGridInputOptions Disabled(DataGridInputOptions dataGridInputOptions, bool value) #Sets AppInputOptions.Disabled: Disables editing and keyboard focus.
Parameters
- dataGridInputOptions ConsoleMonster.Interactive.DataGridInputOptions
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static DatePickerInputOptions Disabled(DatePickerInputOptions datePickerInputOptions, bool value) #Sets AppInputOptions.Disabled: Disables editing and keyboard focus.
Parameters
- datePickerInputOptions ConsoleMonster.Interactive.DatePickerInputOptions
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static ToggleInputOptions Disabled(ToggleInputOptions toggleInputOptions, bool value) #Sets AppInputOptions.Disabled: Disables editing and keyboard focus.
Parameters
- toggleInputOptions ConsoleMonster.Interactive.ToggleInputOptions
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static TreeSelectInputOptions Disabled(TreeSelectInputOptions treeSelectInputOptions, bool value) #Sets AppInputOptions.Disabled: Disables editing and keyboard focus.
Parameters
- treeSelectInputOptions ConsoleMonster.Interactive.TreeSelectInputOptions
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { DiscardFormChanges = value }; promptLabels.DiscardFormChanges(value);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
- The instance.
- value ConsoleMonster.Interactive.AppDispatcher?
- The value.
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
- The instance.
- value ConsoleMonster.Interactive.AppDispatcher?
- The value.
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
- The instance.
- value ConsoleMonster.Interactive.SecretDisplay
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { EarlierLines = value }; promptLabels.EarlierLines(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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { EquivalentCommand = value }; promptLabels.EquivalentCommand(value);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
- The instance.
- value ConsoleMonster.Input.KeyChord?
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
typedConfirmPrompt.Expected = value; Ui.TypedConfirmPrompt().Expected(value);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
- The instance.
- value ConsoleMonster.Interactive.ObjectExplorer?
- The value.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.ObjectExplorer>
- Configures the value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.TerminalChildOptions { FileName = value }; terminalChildOptions.FileName(value);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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.GridOptions { Filter = value }; gridOptions.Filter(value);public static DatePicker FirstDayOfWeek(DatePicker datePicker, DayOfWeek? value) #Sets DatePicker.FirstDayOfWeek: Overrides the culture's first weekday.
Parameters
- datePicker ConsoleMonster.Interactive.DatePicker
- The instance.
- value System.DayOfWeek?
- The value.
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
- The instance.
- value System.DayOfWeek?
- The value.
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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { FolderExpected = value }; promptLabels.FolderExpected(value);public static PromptLabels GoTo(PromptLabels promptLabels, string value) #Sets PromptLabels.GoTo: The palette group of menu items.
Parameters
- promptLabels ConsoleMonster.Interactive.PromptLabels
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { GoTo = value }; promptLabels.GoTo(value);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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.Grid>
- Configures the value.
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
- The instance.
- value ConsoleMonster.Interactive.Grid?
- The value.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.Grid>
- Configures the value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { GridSelectedRow = value }; promptLabels.GridSelectedRow(value);public static Choice Group(Choice choice, string? value) #Sets Choice.Group: The group heading the choice is listed under.
Parameters
- choice ConsoleMonster.Interactive.Choice
- The instance.
- value string?
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { GroupHeading = value }; promptLabels.GroupHeading(value);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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
textAreaField.Height = value; textAreaField.Height(value);public static ChoiceField Help(ChoiceField choiceField, string? value) #Sets Field.Help: Help shown while the field has focus.
Parameters
- choiceField ConsoleMonster.Interactive.ChoiceField
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
@field.Help = value; @field.Help(value);public static PromptLabels Home(PromptLabels promptLabels, string value) #Sets PromptLabels.Home: The home breadcrumb.
Parameters
- promptLabels ConsoleMonster.Interactive.PromptLabels
- The instance.
- value string
- The value.
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
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
logViewport.HorizontalOffset = value; logViewport.HorizontalOffset(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
- The instance.
- value char?
- The value.
Examples
// C# initializer or property // C# fluent
choice.Hotkey = value; choice.Hotkey(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
- The instance.
- value object
- The value.
Examples
// C# initializer or property // C# fluent
gridRow.Id = value; gridRow.Id(value);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
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.FormDialogOptions { InitialFocus = value }; Ui.Dialog().InitialFocus(value);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
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value ConsoleMonster.Input.IInputSource?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.InteractiveOptions { Input = value }; interactiveOptions.Input(value);public static NumberPrompt Integer(NumberPrompt numberPrompt, bool value) #Sets NumberPrompt.Integer: Whether only whole numbers are accepted.
Parameters
- numberPrompt ConsoleMonster.Interactive.NumberPrompt
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static NumberField Integer(NumberField numberField, bool value) #Sets NumberField.Integer: Whether only whole numbers are accepted.
Parameters
- numberField ConsoleMonster.Interactive.NumberField
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value ConsoleMonster.Interactive.InteractiveOptions?
- The value.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.InteractiveOptions>
- Configures the value.
public static FormOptions Interactive(FormOptions formOptions, InteractiveOptions? value) #Sets FormOptions.Interactive: Interaction settings (mode, input, profile, theme, labels).
Parameters
- formOptions ConsoleMonster.Interactive.FormOptions
- The instance.
- value ConsoleMonster.Interactive.InteractiveOptions?
- The value.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.InteractiveOptions>
- Configures the value.
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
- The instance.
- value ConsoleMonster.Interactive.InteractiveOptions?
- The value.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.InteractiveOptions>
- Configures the value.
public static PromptLabels InvalidFormat(PromptLabels promptLabels, string value) #Sets PromptLabels.InvalidFormat: The answer does not match the expected pattern.
Parameters
- promptLabels ConsoleMonster.Interactive.PromptLabels
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { InvalidFormat = value }; promptLabels.InvalidFormat(value);public static SelectInputOptions Key(SelectInputOptions selectInputOptions, string value) #Sets AppInputOptions.Key: The unique application-state key.
Parameters
- selectInputOptions ConsoleMonster.Interactive.SelectInputOptions
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyRun = value }; promptLabels.KeyRun(value);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
- The instance.
- value ConsoleMonster.Interactive.AppHostKeys
- The value.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.AppHostKeys>
- Configures the value.
public static PromptLabels Keys(PromptLabels promptLabels, string value) #Sets PromptLabels.Keys: The key map heading.
Parameters
- promptLabels ConsoleMonster.Interactive.PromptLabels
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { KeyYesNo = value }; promptLabels.KeyYesNo(value);public static PathPrompt Kind(PathPrompt pathPrompt, PathKind value) #Sets PathPrompt.Kind: What is accepted.
Parameters
- pathPrompt ConsoleMonster.Interactive.PathPrompt
- The instance.
- value ConsoleMonster.Interactive.PathKind
- The value.
Examples
// C# initializer or property // C# fluent
pathPrompt.Kind = value; Ui.PathPrompt().Kind(value);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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
treeSelect.Label = value; treeSelect.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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
toggleField.Label = value; toggleField.Label(value);public static InteractiveOptions Labels(InteractiveOptions interactiveOptions, PromptLabels? value) #Sets InteractiveOptions.Labels: The built-in words; null uses PromptLabels.Default.
Parameters
- interactiveOptions ConsoleMonster.Interactive.InteractiveOptions
- The instance.
- value ConsoleMonster.Interactive.PromptLabels?
- The value.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.PromptLabels>
- Configures the value.
public static TSelf Label<TSelf>(TSelf field, string value) #Sets Field.Label: The label.
Type Parameters
- TSelf
Parameters
- field TSelf
- The instance.
- value string
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
@field.Label = value; @field.Label(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
- The instance.
- value ConsoleMonster.Interactive.ILineConsole?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.InteractiveOptions { LineConsole = value }; interactiveOptions.LineConsole(value);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
- The instance.
- value ConsoleMonster.Live.LiveSessionOptions?
- The value.
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
- The instance.
- configure System.Action<ConsoleMonster.Live.LiveSessionOptions>
- Configures the value.
public static PromptLabels LoadFailed(PromptLabels promptLabels, string value) #Sets PromptLabels.LoadFailed: Loading failed: {0}.
Parameters
- promptLabels ConsoleMonster.Interactive.PromptLabels
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { ManyProblems = value }; promptLabels.ManyProblems(value);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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.TextInputOptions { Mask = value }; Ui.TextInput().Mask(value);public static DatePicker Maximum(DatePicker datePicker, DateTime? value) #Sets DatePicker.Maximum: The latest committable date.
Parameters
- datePicker ConsoleMonster.Interactive.DatePicker
- The instance.
- value System.DateTime?
- The value.
Examples
// C# initializer or property // C# fluent
datePicker.Maximum = value; datePicker.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
- The instance.
- value int?
- The value.
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
- The instance.
- value System.DateTime?
- The value.
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
- The instance.
- value decimal?
- The value.
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
- The instance.
- value int?
- The value.
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
- The instance.
- value decimal?
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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?>
- The instance.
- value int?
- The value.
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
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.InteractiveOptions { MaxInlineHeight = value }; interactiveOptions.MaxInlineHeight(value);public static TextInput MaxLength(TextInput textInput, int value) #Sets TextInput.MaxLength: The maximum text length, in UTF-16 units.
Parameters
- textInput ConsoleMonster.Interactive.TextInput
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
textField.MaxLength = value; textField.MaxLength(value);public static TextQuestionOptions MaxLines(TextQuestionOptions textQuestionOptions, int value) #Sets TextQuestionOptions.MaxLines: Maximum lines for multiline text.
Parameters
- textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.FormDialogOptions { MaxWidth = value }; Ui.Dialog().MaxWidth(value);public static DatePicker Minimum(DatePicker datePicker, DateTime? value) #Sets DatePicker.Minimum: The earliest committable date.
Parameters
- datePicker ConsoleMonster.Interactive.DatePicker
- The instance.
- value System.DateTime?
- The value.
Examples
// C# initializer or property // C# fluent
datePicker.Minimum = value; datePicker.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
- The instance.
- value int?
- The value.
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
- The instance.
- value System.DateTime?
- The value.
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
- The instance.
- value decimal?
- The value.
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
- The instance.
- value int?
- The value.
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
- The instance.
- value decimal?
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value int
- The value.
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?>
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
multiSelectPrompt.Minimum = value; multiSelectPrompt.Minimum(value);public static TextQuestionOptions MinLength(TextQuestionOptions textQuestionOptions, int value) #Sets TextQuestionOptions.MinLength: The minimum accepted character count.
Parameters
- textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value ConsoleMonster.Interactive.InteractionMode?
- The value.
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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { More = value }; promptLabels.More(value);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
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static TextInputOptions Multiline(TextInputOptions textInputOptions, bool value) #Sets TextInputOptions.Multiline: Whether to create a multiline text area.
Parameters
- textInputOptions ConsoleMonster.Interactive.TextInputOptions
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static TextQuestionOptions Multiline(TextQuestionOptions textQuestionOptions, bool value) #Sets TextQuestionOptions.Multiline: Uses the multiline editor; unavailable with AsSecret.
Parameters
- textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static SelectInputOptions Multiple(SelectInputOptions selectInputOptions, bool value) #Sets SelectInputOptions.Multiple: Whether the committed value is a collection.
Parameters
- selectInputOptions ConsoleMonster.Interactive.SelectInputOptions
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static PathPrompt MustExist(PathPrompt pathPrompt, bool value) #Sets PathPrompt.MustExist: Whether the path must exist.
Parameters
- pathPrompt ConsoleMonster.Interactive.PathPrompt
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static PathField MustExist(PathField pathField, bool value) #Sets PathField.MustExist: Whether the path must exist.
Parameters
- pathField ConsoleMonster.Interactive.PathField
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static PromptLabels Next(PromptLabels promptLabels, string value) #Sets PromptLabels.Next: The next button.
Parameters
- promptLabels ConsoleMonster.Interactive.PromptLabels
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value ConsoleMonster.Input.KeyChord?
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { NoMatches = value }; promptLabels.NoMatches(value);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
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
confirmPrompt.NoText = value; Ui.ConfirmPrompt().NoText(value);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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { OneProblem = value }; promptLabels.OneProblem(value);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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- configure System.Action<ConsoleMonster.Data.InspectorOptions>
- Configures the value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value ConsoleMonster.Interactive.GridSelection
- The value.
Examples
// C# initializer or property // C# fluent
grid.OutputMode = value; Ui.Grid().OutputMode(value);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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.SelectInputOptions { PageSize = value }; Ui.Select().PageSize(value);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?>
- The instance.
- value int
- The value.
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?>
- The instance.
- value int
- The value.
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
- The instance.
- value ConsoleMonster.Input.KeyChord?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.AppHostKeys { Palette = value }; appHostKeys.Palette(value);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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
toggleField.ParameterName = value; toggleField.ParameterName(value);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?>
- The instance.
- value string?
- The value.
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?>
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- 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
- The instance.
- value ConsoleMonster.Interactive.PathKind
- The value.
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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { PathNotFound = value }; promptLabels.PathNotFound(value);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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
textField.Pattern = value; textField.Pattern(value);public static TextQuestionOptions PatternMessage(TextQuestionOptions textQuestionOptions, string? value) #Sets TextQuestionOptions.PatternMessage: The error for an unmatched pattern.
Parameters
- textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
textField.PatternMessage = value; textField.PatternMessage(value);public static TextInput Placeholder(TextInput textInput, string? value) #Sets TextInput.Placeholder: Muted text shown while the value is empty.
Parameters
- textInput ConsoleMonster.Interactive.TextInput
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
textField.Placeholder = value; textField.Placeholder(value);public static TextQuestionOptions PrefillDefault(TextQuestionOptions textQuestionOptions, bool value) #Sets TextQuestionOptions.PrefillDefault: Puts the single-line default in the editor.
Parameters
- textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static Grid Presentation(Grid grid, PresentationOptions value) #Sets Grid.Presentation: Culture and display options for the presenters.
Parameters
- grid ConsoleMonster.Interactive.Grid
- The instance.
- value ConsoleMonster.Presenters.PresentationOptions
- The value.
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
- The instance.
- configure System.Action<ConsoleMonster.Presenters.PresentationOptions>
- Configures the value.
public static FormOptions Preset(FormOptions formOptions, string? value) #Sets FormOptions.Preset: A preset to apply before showing.
Parameters
- formOptions ConsoleMonster.Interactive.FormOptions
- The instance.
- value string?
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { PressEnterToRun = value }; promptLabels.PressEnterToRun(value);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
- The instance.
- value ConsoleMonster.Layout.IWidget?
- The value.
Examples
// C# initializer or property // C# fluent
formPreset.Preview = value; formPreset.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
- The instance.
- value ConsoleMonster.Layout.IWidget?
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value ConsoleMonster.Input.KeyChord?
- The value.
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
- The instance.
- value ConsoleMonster.Capabilities.TerminalProfile?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.InteractiveOptions { Profile = value }; interactiveOptions.Profile(value);public static CommandOptions ProgressDialog(CommandOptions commandOptions, bool value) #Sets CommandOptions.ProgressDialog: Shows the shared operation progress and summary dialogs.
Parameters
- commandOptions ConsoleMonster.Interactive.CommandOptions
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static DataGridInputOptions QuickSearch(DataGridInputOptions dataGridInputOptions, bool value) #Sets DataGridInputOptions.QuickSearch: Whether unbound typing performs prefix search.
Parameters
- dataGridInputOptions ConsoleMonster.Interactive.DataGridInputOptions
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static SelectInputOptions Radio(SelectInputOptions selectInputOptions, bool value) #Sets SelectInputOptions.Radio: Shows a single-choice list with radio indicators.
Parameters
- selectInputOptions ConsoleMonster.Interactive.SelectInputOptions
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static DatePickerInputOptions Range(DatePickerInputOptions datePickerInputOptions, bool value) #Sets DatePickerInputOptions.Range: Whether Value is an inclusive DateRange.
Parameters
- datePickerInputOptions ConsoleMonster.Interactive.DatePickerInputOptions
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static DatePrompt Range(DatePrompt datePrompt, bool value) #Sets DatePrompt.Range: Returns one DateRange instead of a DateTime.
Parameters
- datePrompt ConsoleMonster.Interactive.DatePrompt
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.ConsoleAppOptions { ReflowBelow = value }; consoleAppOptions.ReflowBelow(value);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
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value bool
- 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
- 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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { ReplaySearch = value }; promptLabels.ReplaySearch(value);public static TextQuestionOptions Required(TextQuestionOptions textQuestionOptions, bool value) #Sets TextQuestionOptions.Required: Whether ordinary text must be nonempty.
Parameters
- textQuestionOptions ConsoleMonster.Interactive.TextQuestionOptions
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static SecretPrompt Required(SecretPrompt secretPrompt, bool value) #Sets SecretPrompt.Required: Whether an empty answer is refused.
Parameters
- secretPrompt ConsoleMonster.Interactive.SecretPrompt
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static ChoiceField Required(ChoiceField choiceField, bool value) #Sets Field.Required: Whether an empty value is refused.
Parameters
- choiceField ConsoleMonster.Interactive.ChoiceField
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static NumberField Required(NumberField numberField, bool value) #Sets Field.Required: Whether an empty value is refused.
Parameters
- numberField ConsoleMonster.Interactive.NumberField
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static PathField Required(PathField pathField, bool value) #Sets Field.Required: Whether an empty value is refused.
Parameters
- pathField ConsoleMonster.Interactive.PathField
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static SecretField Required(SecretField secretField, bool value) #Sets Field.Required: Whether an empty value is refused.
Parameters
- secretField ConsoleMonster.Interactive.SecretField
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static TextAreaField Required(TextAreaField textAreaField, bool value) #Sets Field.Required: Whether an empty value is refused.
Parameters
- textAreaField ConsoleMonster.Interactive.TextAreaField
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static TextField Required(TextField textField, bool value) #Sets Field.Required: Whether an empty value is refused.
Parameters
- textField ConsoleMonster.Interactive.TextField
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static ToggleField Required(ToggleField toggleField, bool value) #Sets Field.Required: Whether an empty value is refused.
Parameters
- toggleField ConsoleMonster.Interactive.ToggleField
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static PromptLabels Required(PromptLabels promptLabels, string value) #Sets PromptLabels.Required: A value is required.
Parameters
- promptLabels ConsoleMonster.Interactive.PromptLabels
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Required = value }; promptLabels.Required(value);public static TSelf Required<TSelf>(TSelf field, bool value) #Sets Field.Required: Whether an empty value is refused.
Type Parameters
- TSelf
Parameters
- field TSelf
- The instance.
- value bool
- 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
- 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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Results = value }; promptLabels.Results(value);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
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static PromptLabels Review(PromptLabels promptLabels, string value) #Sets PromptLabels.Review: The review page title.
Parameters
- promptLabels ConsoleMonster.Interactive.PromptLabels
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Review = value }; promptLabels.Review(value);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
- The instance.
- value ConsoleMonster.Text.RichText?
- The value.
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
- The instance.
- configure System.Action<ConsoleMonster.Text.RichText>
- Configures the value.
public static TextInput Role(TextInput textInput, ThemeToken value) #Sets TextInput.Role: The theme token for entered text.
Parameters
- textInput ConsoleMonster.Interactive.TextInput
- The instance.
- value ConsoleMonster.Styling.ThemeToken
- The value.
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
- The instance.
- value ConsoleMonster.Styling.ThemeToken
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { SearchCommands = value }; promptLabels.SearchCommands(value);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
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static PromptLabels SelectedCount(PromptLabels promptLabels, string value) #Sets PromptLabels.SelectedCount: The live selection count: {0} selected of {1}.
Parameters
- promptLabels ConsoleMonster.Interactive.PromptLabels
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { SelectedHint = value }; promptLabels.SelectedHint(value);public static DatePickerInputOptions Selection(DatePickerInputOptions datePickerInputOptions, DateSelectionOptions value) #Sets DatePickerInputOptions.Selection: Shared date bounds, culture and marks.
Parameters
- datePickerInputOptions ConsoleMonster.Interactive.DatePickerInputOptions
- The instance.
- value ConsoleMonster.Interactive.DateSelectionOptions
- The value.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.DateSelectionOptions>
- Configures the value.
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
- The instance.
- value ConsoleMonster.Interactive.DateSelectionOptions
- The value.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.DateSelectionOptions>
- Configures the value.
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
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.ConsoleAppOptions { SelectionKey = value }; consoleAppOptions.SelectionKey(value);public static CommandOptions Shortcut(CommandOptions commandOptions, KeyChord? value) #Sets CommandOptions.Shortcut: The optional keyboard shortcut.
Parameters
- commandOptions ConsoleMonster.Interactive.CommandOptions
- The instance.
- value ConsoleMonster.Input.KeyChord?
- The value.
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
- The instance.
- value ConsoleMonster.Input.KeyChord?
- The value.
Examples
// C# initializer or property // C# fluent
appCommand.Shortcut = value; appCommand.Shortcut(value);public static LogViewport ShowElapsed(LogViewport logViewport, bool value) #Sets LogViewport.ShowElapsed: Whether to show entry elapsed time.
Parameters
- logViewport ConsoleMonster.Interactive.LogViewport
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static PromptLabels Shown(PromptLabels promptLabels, string value) #Sets PromptLabels.Shown: How many items a filter shows: {0}.
Parameters
- promptLabels ConsoleMonster.Interactive.PromptLabels
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { Shown = value }; promptLabels.Shown(value);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
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.GridOptions { SortColumn = value }; gridOptions.SortColumn(value);public static GridOptions SortDescending(GridOptions gridOptions, bool value) #Sets GridOptions.SortDescending: Sorts descending at the start.
Parameters
- gridOptions ConsoleMonster.Interactive.GridOptions
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static NumberPrompt Step(NumberPrompt numberPrompt, decimal value) #Sets NumberPrompt.Step: The step of Up and Down.
Parameters
- numberPrompt ConsoleMonster.Interactive.NumberPrompt
- The instance.
- value decimal
- The value.
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
- The instance.
- value decimal
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
form.StorageKey = value; Ui.Form().StorageKey(value);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
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.FormOptions { StorageRoot = value }; formOptions.StorageRoot(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
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
form.SubmitText = value; Ui.Form().SubmitText(value);public static PathPrompt Suggestions(PathPrompt pathPrompt, int value) #Sets PathPrompt.Suggestions: How many suggestions are listed.
Parameters
- pathPrompt ConsoleMonster.Interactive.PathPrompt
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
pathPrompt.Suggestions = value; Ui.PathPrompt().Suggestions(value);public static Button TabIndex(Button button, int value) #Sets InputControl.TabIndex: Focus order; equal values preserve declaration order.
Parameters
- button ConsoleMonster.Interactive.Button
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value object?
- The value.
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
- The instance.
- value ConsoleMonster.Output.ITerminalTarget?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.InteractiveOptions { Target = value }; interactiveOptions.Target(value);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
- The instance.
- value ConsoleMonster.Interactive.TerminalHandoff?
- The value.
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
- The instance.
- configure System.Action<ConsoleMonster.Interactive.TerminalHandoff>
- Configures the value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value ConsoleMonster.Styling.ITheme?
- The value.
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
- The instance.
- value System.TimeSpan
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.TerminalChildOptions { Timeout = value }; terminalChildOptions.Timeout(value);public static ReviewModel Title(ReviewModel reviewModel, string? value) #Sets ReviewModel.Title: A heading.
Parameters
- reviewModel ConsoleMonster.Interactive.ReviewModel
- The instance.
- value string?
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
form.Title = value; Ui.Form().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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
formPage.Title = value; formPage.Title(value);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?>
- The instance.
- value string
- The value.
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?>
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
selectPrompt.Title = value; selectPrompt.Title(value);public static DatePicker Today(DatePicker datePicker, DateTime value) #Sets DatePicker.Today: Today emphasis and deterministic initial cursor.
Parameters
- datePicker ConsoleMonster.Interactive.DatePicker
- The instance.
- value System.DateTime
- The value.
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
- The instance.
- value System.DateTime
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.PromptLabels { TypeToFilter = value }; promptLabels.TypeToFilter(value);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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.TreeSelectInputOptions { ValidationMessage = value }; Ui.TreeSelect().ValidationMessage(value);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
- The instance.
- value object?
- The value.
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
- The instance.
- value object?
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value bool
- The value.
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
- The instance to configure.
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
- The instance.
- value object?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value object?
- The value.
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
- The instance.
- value bool
- The value.
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
- The instance to configure.
public static ChoiceField Value(ChoiceField choiceField, object? value) #Sets Field.Value: The current value.
Parameters
- choiceField ConsoleMonster.Interactive.ChoiceField
- The instance.
- value object?
- The value.
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
- The instance.
- value object?
- The value.
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
- The instance.
- value object?
- The value.
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
- The instance.
- value object?
- The value.
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
- The instance.
- value object?
- The value.
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
- The instance.
- value object?
- The value.
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
- The instance.
- value object?
- The value.
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
- The instance.
- value object?
- 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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
confirmPrompt.YesText = value; Ui.ConfirmPrompt().YesText(value);