Contains extension methods for Grid.
Methods
public static Grid AddColumns(Grid grid, int count)
Adds a column to the grid.
Parameters:
grid (Grid)The grid to add the column to.
count (int)The number of columns to add.
Returns:
The same instance so that multiple calls can be chained.
public static Grid AddColumns(Grid grid, GridColumn[] columns)
Adds a column to the grid.
Parameters:
grid (Grid)The grid to add the column to.
columns (GridColumn[])The columns to add.
Returns:
The same instance so that multiple calls can be chained.
public static Grid AddEmptyRow(Grid grid)
Adds an empty row to the grid.
Parameters:
grid (Grid)The grid to add the row to.
Returns:
The same instance so that multiple calls can be chained.
public static Grid AddRow(Grid grid, string[] columns)
Adds a new row to the grid.
Parameters:
grid (Grid)The grid to add the row to.
columns (string[])The columns to add.
Returns:
The same instance so that multiple calls can be chained.
public static Grid Width(Grid grid, int? width)
Sets the grid width.
Parameters:
grid (Grid)The grid.
width (int?)The width.
Returns:
The same instance so that multiple calls can be chained.