GridList<T>.CreateWithColumns
CreateWithColumns(IList<T>, int)
Wraps the provided source in a GridList<T> with a dynamic number of rows and a fixed number of columns
Declaration
public static GridList<T> CreateWithColumns(IList<T> source, int columns)
Parameters
| Type | Name | Description |
|---|---|---|
| IList<T> | source | The underlying list to wrap in a in a GridList<T> |
| int | columns | The number of columns in the grid |
Returns
| Type | Description |
|---|---|
| GridList<T> | A new grid wrapping |