Class
GridFluent (Interactive)
ConsoleMonster.Interactive
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
- The instance.
- value ConsoleMonster.Interactive.GridSelection
- 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
- The instance.
- value ConsoleMonster.Presenters.PresentationOptions
- 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
- The instance.
- configure System.Action<ConsoleMonster.Presenters.PresentationOptions>
- 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
- The instance.
- value string
- The value.
Returns
Grid The same instance.Examples
// C# initializer or property // C# fluent
grid.Title = value; Ui.Grid().Title(value);