UIKit.UITextView.TextAlignment Property
How the UITextField.Text should be aligned.

Syntax

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

See Also

UITextView.AllowsEditingTextAttributes
UITextView.AttributedText
UITextView.DataDetectorTypes
UITextView.Editable
UITextView.Font
UITextView.Text
UITextView.TextContainerInsert
UITextView.TextColor
UITextView.TypingAttributes

Value

Remarks

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

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

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0