Table of Contents

Enum Grid.AlignItems

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

Sets the default block-axis alignment for all grid items within their grid areas. Corresponds to the CSS align-items property on a grid container.

public enum Grid.AlignItems : byte

Fields

Baseline = 5

Items are aligned along their first baseline.

Center = 4

Items are centered on the block axis.

End = 3

Items are packed toward the end of the block axis.

FirstBaseline = 6

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

LastBaseline = 7

Items are aligned along their last baseline.

Normal = 0

Browser default. Acts like Stretch.

Start = 2

Items are packed toward the start of the block axis.

Stretch = 1

Items are stretched to fill the grid area block size.