UIControlContentVerticalAlignment 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
UIControlContentVerticalAlignmentUIControlContentVerticalAlignment
Attributes

Fields

Bottom Bottom 2

Aligns the content vertically at the bottom of the control.

Center Center 0

Aligns the content vertically in the middle of the control.

Fill Fill 3

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

Top Top 1

Aligns the content vertically at the top of the control.

Remarks

An enumeration of valid vertical alignment values.

Applies to