編輯

共用方式為


UITextField.TextAlignment Property

Definition

How the Text should be aligned.

public virtual UIKit.UITextAlignment TextAlignment { [Foundation.Export("textAlignment")] get; [Foundation.Export("setTextAlignment:")] set; }
member this.TextAlignment : UIKit.UITextAlignment with get, set

Property Value

Values UITextAlignment.Justified and UITextAlignment.Natural are not supported.

Attributes

Remarks

The value of this property applies both the the Text and Placeholder.

Applies to