API Reference
Class
GridFluent
The fluent methods of Grid, generated from its public properties: With... sets a property and Add... adds to a collection, both returning the same instance.
Inheritance
- Object
- GridFluent
Methods
public static Grid WithColumnGap(Grid grid, Int32 value) #Returns:
GridSets Grid.ColumnGap: Blank columns between cells (default 1).
Parameters
- grid ConsoleMonster.Layout.Grid
- The instance.
- value System.Int32
- The value.
Returns
The same instance.
public static Grid WithFillHeight(Grid grid, Boolean value = true) #Returns:
GridSets Grid.FillHeight: Whether rows grow to fill spare height in a bounded region (default true).
Parameters
- grid ConsoleMonster.Layout.Grid
- The instance.
- value System.Boolean = true
- The value (default true).
Returns
The same instance.
public static Grid WithMinColumnWidth(Grid grid, Int32 value) #Returns:
GridSets Grid.MinColumnWidth: The narrowest column before the grid reduces its column count (default 24).
Parameters
- grid ConsoleMonster.Layout.Grid
- The instance.
- value System.Int32
- The value.
Returns
The same instance.
public static Grid WithRowGap(Grid grid, Int32 value) #Returns:
GridSets Grid.RowGap: Blank rows between grid rows (default 0).
Parameters
- grid ConsoleMonster.Layout.Grid
- The instance.
- value System.Int32
- The value.
Returns
The same instance.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?