iOS Guides | Samples

MonoTouch.UIKit.UITextAlignment Enumeration

An enumeration of text alignments.


public enum UITextAlignment


Member NameDescription
CenterText is centered.
JustifiedText spreads to the margins.
LeftText is left-aligned.
NaturalAlignment is based on the text's script.
RightText is right-aligned.


Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions:

The members of MonoTouch.UIKit.UITextAlignment are listed below.

See Also: Enum

Public Fields

CenterUITextAlignment. Text is centered.
JustifiedUITextAlignment. Text spreads to the margins.
LeftUITextAlignment. Text is left-aligned.
NaturalUITextAlignment. Alignment is based on the text's script.
RightUITextAlignment. Text is right-aligned.