Table of Contents

Enum HorizontalAlignment

Namespace
Xui.Core.UI
Assembly
Core.dll

Specifies how a view should be aligned horizontally within its layout bounds. Used by parent containers during layout to position the view along the inline axis.

public enum HorizontalAlignment : byte

Fields

Center = 2

Center horizontally within the available space.

Left = 1

Align to the left edge (or start edge in LTR layouts).

Right = 3

Align to the right edge (or start edge in RTL layouts).

Stretch = 0

Stretch to fill the full available horizontal space.