UITextView.Font 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.
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
- AllowsEditingTextAttributes
- AttributedText
- DataDetectorTypes
- Editable
- Text
- TextAlignment
- <xref:UIKit.UITextView.TextContainerInsert>
- TextColor
- TypingAttributes