Table of Contents

Enum Direction

Namespace
Xui.Core.UI
Assembly
Core.dll

Indicates the semantic inline direction of content, such as left-to-right or right-to-left. Used to resolve text alignment, layout flow, and mirroring behavior.

public enum Direction : byte

Fields

Inherit = 0

Inherit direction from the parent view.

LeftToRight = 1

Left-to-right flow (default for Western languages).

RightToLeft = 2

Right-to-left flow (used in Arabic, Hebrew, etc).