Edytuj

Udostępnij za pośrednictwem


UITextView.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

Attributes

Remarks

Assignment to this property will affect all the text in the UITextView. If multiple text-styles are desired, the application developer must use the AttributedText property.

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

Applies to

See also