UITextAlignment Enum
Definition
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.
[ObjCRuntime.Native]
public enum UITextAlignment
[ObjCRuntime.Native(ConvertToManaged="UITextAlignmentExtensions.ToManaged", ConvertToNative="UITextAlignmentExtensions.ToNative")]
public enum UITextAlignment
[<ObjCRuntime.Native>]
type UITextAlignment =
[<ObjCRuntime.Native(ConvertToManaged="UITextAlignmentExtensions.ToManaged", ConvertToNative="UITextAlignmentExtensions.ToNative")>]
type UITextAlignment =
- Inheritance
-
UITextAlignment
- Attributes
Fields
| 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. |