Table of Contents

Enum Grid.JustifyContent

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

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

public enum Grid.JustifyContent : byte

Fields

Center = 3

Grid is centered along the inline axis.

End = 2

Grid is packed toward the end of the inline axis.

Left = 4

Grid is packed toward the left end of the inline axis.

Normal = 0

Browser default. Acts like Start.

Right = 5

Grid is packed toward the right end of the inline axis.

SpaceAround = 7

Columns are evenly distributed with equal space around each column.

SpaceBetween = 6

Columns are evenly distributed; first column at start, last at end.

SpaceEvenly = 8

Columns are evenly distributed with equal space between all columns including edges.

Start = 1

Grid is packed toward the start of the inline axis.

Stretch = 9

Columns are stretched to fill the container inline size.