Skip to content
ConsoleMonster
Class

GridFluent (Interactive)

ConsoleMonster.Interactive

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

The fluent methods of Grid, 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
  • GridFluent (Interactive)

Methods

public static Grid OutputMode(Grid grid, GridSelection value) #

Sets Grid.OutputMode: What the grid returns (default GridSelection.Multiple).

Parameters

grid ConsoleMonster.Interactive.Grid required
The instance.
value ConsoleMonster.Interactive.GridSelection required
The value.

Returns

Grid The same instance.

Examples

// C# initializer or property    // C# fluent
grid.OutputMode = value;         Ui.Grid().OutputMode(value);
Presentation 2 overloads
public static Grid Presentation(Grid grid, PresentationOptions value) #

Sets Grid.Presentation: Culture and display options for the presenters.

Parameters

grid ConsoleMonster.Interactive.Grid required
The instance.
value ConsoleMonster.Presenters.PresentationOptions required
The value.

Returns

Grid The same instance.

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 required
The instance.
configure System.Action<ConsoleMonster.Presenters.PresentationOptions> required
Configures the value.

Returns

Grid The same instance.
public static Grid Title(Grid grid, string value) #

Sets Grid.Title: The title.

Parameters

grid ConsoleMonster.Interactive.Grid required
The instance.
value string required
The value.

Returns

Grid The same instance.

Examples

// C# initializer or property    // C# fluent
grid.Title = value;              Ui.Grid().Title(value);