Table of Contents

Enum FlexBox.JustifyContent

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

Aligns flex items along the main axis when there is free space. Corresponds to the CSS justify-content property on a flex container.

public enum FlexBox.JustifyContent : byte

Fields

Center = 3

Items are centered along the main axis.

End = 8

Items are packed toward the end of the main axis.

FlexEnd = 2

Items are packed toward the flex-end edge of the main axis.

FlexStart = 1

Items are packed toward the flex-start edge of the main axis.

Normal = 0

Browser default. Acts like FlexStart.

SpaceAround = 5

Items are evenly distributed with equal space around each item.

SpaceBetween = 4

Items are evenly distributed; first item at start, last at end.

SpaceEvenly = 6

Items are evenly distributed with equal space between all items including edges.

Start = 7

Items are packed toward the start of the main axis.