iOS Guides | Samples

MonoTouch.UIKit.UIControlContentHorizontalAlignment Enumeration

An enumeration of horizontal alignments available to text and images.

Syntax

[MonoTouch.ObjCRuntime.Native]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.WatchOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIControlContentHorizontalAlignment

Remarks

An enumeration of valid horizontal alignment values.

Members

Member NameDescription
CenterIndicates that the content will be horizontally centered.
FillIndicates that the content will fill the control, stretching and wrapping as necessary.
LeftIndicates that the content will be horizontally aligned from the left edge.
RightIndicates that the content will be horizontally aligned from the right edge.

Requirements

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

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

See Also: Enum

Public Fields

CenterUIControlContentHorizontalAlignment. Indicates that the content will be horizontally centered.
FillUIControlContentHorizontalAlignment. Indicates that the content will fill the control, stretching and wrapping as necessary.
LeftUIControlContentHorizontalAlignment. Indicates that the content will be horizontally aligned from the left edge.
RightUIControlContentHorizontalAlignment. Indicates that the content will be horizontally aligned from the right edge.