iOS Guides | Samples

MonoTouch.UIKit.UITextAlignment Enumeration

An enumeration of text alignments.

Syntax

[MonoTouch.ObjCRuntime.Native]
public enum UITextAlignment

Members

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.

Requirements

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

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.