Edit

Share via


UITextView.Font Property

Definition

This property holds the font that will be used to display the text.

public virtual UIKit.UIFont Font { [Foundation.Export("font", ObjCRuntime.ArgumentSemantic.Strong)] get; [Foundation.Export("setFont:", ObjCRuntime.ArgumentSemantic.Strong)] set; }
member this.Font : UIKit.UIFont with get, set

Property Value

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

This value can be null.

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.

Applies to

See also