Table of Contents

Enum Grid.AlignContent

Namespace
Xui.Core.UI.Layout
Assembly
Xui.Core.dll

Aligns the grid along the block axis within the container when the grid is smaller than the container. Corresponds to the CSS align-content property on a grid container.

public enum Grid.AlignContent : byte

Fields

Center = 3

Rows are centered on the block axis.

End = 2

Rows are packed toward the end of the block axis.

FirstBaseline = 8

Rows are aligned along their first baseline.

LastBaseline = 9

Rows are aligned along their last baseline.

Normal = 0

Browser default. Acts like Stretch.

SpaceAround = 5

Rows are evenly distributed with equal space around each row.

SpaceBetween = 4

Rows are evenly distributed; first row at start, last at end.

SpaceEvenly = 6

Rows are evenly distributed with equal space between all rows including edges.

Start = 1

Rows are packed toward the start of the block axis.

Stretch = 7

Rows are stretched to fill the container block size.