UIControlContentVerticalAlignment Enum

Definition

An enumeration of vertical alignments available to text and images.

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

Fields

Bottom 2

Aligns the content vertically at the bottom of the control.

Center 0

Aligns the content vertically in the middle of the control.

Fill 3

Aligns the content vertically to fill the content rectangle, potentially stretching content.

Top 1

Aligns the content vertically at the top of the control.

Remarks

An enumeration of valid vertical alignment values.

Applies to