UITextAlignment Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An enumeration of text alignments.
public enum UITextAlignment
type UITextAlignment =
- Inheritance
-
UITextAlignment
Name | Value | Description |
---|---|---|
Left | 0 | Text is left-aligned. |
Center | 1 | Text is centered. |
Right | 2 | Text is right-aligned. |
Justified | 3 | Text spreads to the margins. |
Natural | 4 | Alignment is based on the text's script. |