TextAlignment Enumeration

Defines how text is aligned.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public enum TextAlignment

Members

Left0 The text is left-aligned.
Center1 The text is centered.
Right2 The text is right-aligned.
Start3 The beginning of the text is aligned to the edge of the available space.
End4 The end of the text is aligned to the edge of the available space.
DetectFromContent5 Text alignment is inferred from the text content.
Justify6 Text is justified within the available space.

See Also