Back to API Reference
Enum

VerticalAlignment

Specifies vertical text alignment within the layout bounds.

public static readonly VerticalAlignment Top = 0

Align text to the top edge.

public static readonly VerticalAlignment Middle = 1

Center text vertically.

public static readonly VerticalAlignment Bottom = 2

Align text to the bottom edge.