Skip to content
ConsoleMonster
Class

TreeSelectFluent

ConsoleMonster.Interactive

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

The fluent methods of TreeSelect, 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
  • TreeSelectFluent

Methods

Disabled 2 overloads
public static TreeSelect Disabled(TreeSelect treeSelect, bool value) #

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

Parameters

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

Returns

TreeSelect The same instance.

Examples

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

Sets InputControl.Disabled to true.

Parameters

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

Returns

TreeSelect The same instance.
public static TreeSelect Filter(TreeSelect treeSelect, string value) #

Sets TreeSelect.Filter: The substring search over node names and bounded display values.

Parameters

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

Returns

TreeSelect The same instance.

Examples

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

Sets TreeSelect.Height: Natural viewport rows.

Parameters

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

Returns

TreeSelect The same instance.

Examples

// C# initializer or property    // C# fluent
treeSelect.Height = value;       treeSelect.Height(value);
public static TreeSelect Label(TreeSelect treeSelect, string? value) #

Sets InputControl.Label: The visible label, or null to use the name.

Parameters

treeSelect ConsoleMonster.Interactive.TreeSelect required
The instance.
value string? required
The value.

Returns

TreeSelect The same instance.

Examples

// C# initializer or property    // C# fluent
treeSelect.Label = value;        treeSelect.Label(value);
public static TreeSelect TabIndex(TreeSelect treeSelect, int value) #

Sets InputControl.TabIndex: Focus order; equal values preserve declaration order.

Parameters

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

Returns

TreeSelect The same instance.

Examples

// C# initializer or property    // C# fluent
treeSelect.TabIndex = value;     treeSelect.TabIndex(value);
public static TreeSelect ValidationMessage(TreeSelect treeSelect, string? value) #

Sets InputControl.ValidationMessage: The current validation message below the control, or null.

Parameters

treeSelect ConsoleMonster.Interactive.TreeSelect required
The instance.
value string? required
The value.

Returns

TreeSelect The same instance.

Examples

// C# initializer or property            // C# fluent
treeSelect.ValidationMessage = value;    treeSelect.ValidationMessage(value);