Class
LayoutRegionsFluent
ConsoleMonster.Widgets
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
- The instance.
- value string?
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.LayoutRegions { NarrowBelow = value }; Ui.LayoutRegions().NarrowBelow(value);