Skip to content
ConsoleMonster
Class

TreeSelectInputOptionsFluent

ConsoleMonster.Interactive

Namespace
ConsoleMonster.Interactive
Assembly
ConsoleMonster
Modifiers
static
Attributes
GeneratedCode("ConsoleMonster.Generators", "1.0.0")

The fluent methods of TreeSelectInputOptions, generated from its public properties: A property-named method sets a property and Add... adds to a collection, both returning the same instance.

Inheritance

  • object
  • TreeSelectInputOptionsFluent

Methods

public static TreeSelectInputOptions Configure(TreeSelectInputOptions treeSelectInputOptions, Action<TreeSelectInputOptions> configure) #

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

Parameters

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

Returns

TreeSelectInputOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::ConsoleMonster.Interactive.TreeSelectInputOptions { OnChange = value };    Ui.TreeSelect().Configure(configured => configured.OnChange = value);
Disabled 2 overloads
public static TreeSelectInputOptions Disabled(TreeSelectInputOptions treeSelectInputOptions, bool value) #

Sets AppInputOptions.Disabled: Disables editing and keyboard focus.

Parameters

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

Returns

TreeSelectInputOptions The same instance.

Examples

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

Sets AppInputOptions.Disabled to true.

Parameters

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

Returns

TreeSelectInputOptions The same instance.
Explorer 2 overloads
public static TreeSelectInputOptions Explorer(TreeSelectInputOptions treeSelectInputOptions, ObjectExplorer? value) #

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

Parameters

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

Returns

TreeSelectInputOptions The same instance.

Examples

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

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

Parameters

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

Returns

TreeSelectInputOptions The same instance.
public static TreeSelectInputOptions Height(TreeSelectInputOptions treeSelectInputOptions, int value) #

Sets TreeSelectInputOptions.Height: Natural visible content rows.

Parameters

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

Returns

TreeSelectInputOptions The same instance.

Examples

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

Sets AppInputOptions.Key: The unique application-state key.

Parameters

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

Returns

TreeSelectInputOptions The same instance.

Examples

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

Sets AppInputOptions.Label: The visible label; null uses the key.

Parameters

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

Returns

TreeSelectInputOptions The same instance.

Examples

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

Sets AppInputOptions.TabIndex: Keyboard focus order; equal values preserve declaration order.

Parameters

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

Returns

TreeSelectInputOptions The same instance.

Examples

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

Sets AppInputOptions.ValidationMessage: Initial validation text.

Parameters

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

Returns

TreeSelectInputOptions The same instance.

Examples

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