Edit

Share via


UITextAlignment Enum

Definition

An enumeration of text alignments.

public enum UITextAlignment
type UITextAlignment = 
Inheritance
UITextAlignment

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.

Applies to