Controls how the auto-placement algorithm works for a CSS Grid container, specifying exactly how auto-placed items get flowed into the grid.
It only takes effect on an element with DisplayStyle.Grid.
| Property | Description |
|---|---|
| Row | Items are placed by filling each row in turn, adding new rows as necessary. This is the default. |
| Column | Items are placed by filling each column in turn, adding new columns as necessary. |
| RowDense | Like GridAutoFlow.Row, but uses a dense packing algorithm that fills holes earlier in the grid. |
| ColumnDense | Like GridAutoFlow.Column, but uses a dense packing algorithm that fills holes earlier in the grid. |