GridExtensions Class
Contains extension methods for
Grid
.
public static class GridExtensions
- Namespace
- Spectre
.Console
Methods
-
static Grid AddColumns
(Grid, GridColumn[]) - Adds a column to the grid.
-
static Grid AddColumns
(Grid, int) - Adds a column to the grid.
-
static Grid AddEmptyRow
(Grid) - Adds an empty row to the grid.
-
static Grid AddRow
(Grid, string[]) - Adds a new row to the grid.
-
static Grid Width
(Grid, int?) - Sets the grid width.