UIControlContentHorizontalAlignment Enum

Definition

An enumeration of horizontal alignments available to text and images.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIControlContentHorizontalAlignment
type UIControlContentHorizontalAlignment = 
Inheritance
UIControlContentHorizontalAlignment
Attributes

Fields

Center 0

Indicates that the content will be horizontally centered.

Fill 3

Indicates that the content will fill the control, stretching and wrapping as necessary.

Leading 4

Indicates that the content will be horizontally aligned from the leading edge.

Left 1

Indicates that the content will be horizontally aligned from the left edge.

Right 2

Indicates that the content will be horizontally aligned from the right edge.

Trailing 5

Indicates that the content will be horizontally aligned from the trailing edge.

Remarks

An enumeration of valid horizontal alignment values.

Applies to