UIControlContentHorizontalAlignment 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
UIControlContentHorizontalAlignmentUIControlContentHorizontalAlignment
Attributes

Fields

Center Center 0

Indicates that the content will be horizontally centered.

Fill Fill 3

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

Leading Leading 4

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

Left Left 1

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

Right Right 2

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

Trailing Trailing 5

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

Remarks

An enumeration of valid horizontal alignment values.

Applies to