Szerkesztés

Megosztás a következőn keresztül:


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

Name Value Description
Center 0

Indicates that the content will be horizontally centered.

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.

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.

Trailing 5

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

Remarks

An enumeration of valid horizontal alignment values.

Applies to