Table of Contents

Enum FlexBox.AlignItems

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

Sets the default cross-axis alignment for all flex items on a line. Corresponds to the CSS align-items property on a flex container.

public enum FlexBox.AlignItems : byte

Fields

Baseline = 5

Items are aligned along their first baseline.

Center = 4

Items are centered on the cross axis.

FirstBaseline = 6

Items are aligned along their first baseline (same as Baseline).

FlexEnd = 3

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

FlexStart = 2

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

LastBaseline = 7

Items are aligned along their last baseline.

Normal = 0

Browser default. Acts like Stretch.

Stretch = 1

Items are stretched to fill the cross axis.