UITextView.TextAlignment Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- AllowsEditingTextAttributes
- AttributedText
- DataDetectorTypes
- Editable
- Font
- Text
- <xref:UIKit.UITextView.TextContainerInsert>
- TextColor
- TypingAttributes