Skip to content
ConsoleMonster
Class

LayoutRegionsFluent

ConsoleMonster.Widgets

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

The fluent methods of LayoutRegions, 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
  • LayoutRegionsFluent

Methods

public static LayoutRegions ActiveRegion(LayoutRegions layoutRegions, string? value) #

Sets LayoutRegions.ActiveRegion: The region shown in narrow mode when no region owns focus.

Parameters

layoutRegions ConsoleMonster.Widgets.LayoutRegions required
The instance.
value string? required
The value.

Returns

LayoutRegions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ConsoleMonster.Widgets.LayoutRegions { ActiveRegion = value };    Ui.LayoutRegions().ActiveRegion(value);
public static LayoutRegions Gap(LayoutRegions layoutRegions, int value) #

Sets LayoutRegions.Gap: The gap in cells between regions.

Parameters

layoutRegions ConsoleMonster.Widgets.LayoutRegions required
The instance.
value int required
The value.

Returns

LayoutRegions The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::ConsoleMonster.Widgets.LayoutRegions { Gap = value };    Ui.LayoutRegions().Gap(value);
public static LayoutRegions NarrowBelow(LayoutRegions layoutRegions, int value) #

Sets LayoutRegions.NarrowBelow: The minimum width for showing regions side by side.

Parameters

layoutRegions ConsoleMonster.Widgets.LayoutRegions required
The instance.
value int required
The value.

Returns

LayoutRegions The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::ConsoleMonster.Widgets.LayoutRegions { NarrowBelow = value };    Ui.LayoutRegions().NarrowBelow(value);