UIKit.UITextView.Font Property
This property holds the font that will be used to display the text.

Syntax

[get: Foundation.Export("font")]
[set: Foundation.Export("setFont:")]
public virtual UIFont Font { get; set; }

See Also

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

Value

The default value is null (the default font is UIFont.PreferredBody).

This value can be null.

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.

Requirements

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