Table of Contents

Enum VerticalAlignment

Namespace
Xui.Core.UI
Assembly
Core.dll

Specifies how a view should be aligned vertically within its layout bounds. Used by parent containers to control vertical positioning along the block axis.

public enum VerticalAlignment : byte

Fields

Bottom = 3

Align to the bottom edge (or start edge in bottom-up layouts).

Middle = 2

Center vertically within the available space.

Stretch = 0

Stretch to fill the full available vertical space.

Top = 1

Align to the top edge (or start edge in top-down layouts).