Edit

Share via


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

Name Value Description
Center 0

Aligns the content vertically in the middle of the control.

Top 1

Aligns the content vertically at the top of the control.

Bottom 2

Aligns the content vertically at the bottom of the control.

Fill 3

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

Remarks

An enumeration of valid vertical alignment values.

Applies to