TextAlignment Enumeration
Defines how text is aligned.
Namespace: Avalonia.MediaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public enum TextAlignment
Public Enumeration TextAlignment
| Left | 0 |
The text is left-aligned.
|
| Center | 1 |
The text is centered.
|
| Right | 2 |
The text is right-aligned.
|
| Start | 3 |
The beginning of the text is aligned to the edge of the available space.
|
| End | 4 |
The end of the text is aligned to the edge of the available space.
|
| DetectFromContent | 5 |
Text alignment is inferred from the text content.
|
| Justify | 6 |
Text is justified within the available space.
|