TextView
Link runs.Properties
FontDesign
The base font design: system, rounded, serif or monospaced.
Type: FontDesign
FontSize
Base font size in points, scaled by Dynamic Type and overriding TextStyle.
NaN falls back to the text style, or 17 points without one.
FontWeight
The base font weight the runs build on.
Type: Bindable<FontWeight>
IsSelectable
Whether the text can be selected and copied.
A
Linkrun forces selection on, since UIKit only makes text items tappable while the view is selectable.
LetterSpacing
Extra points between characters (negative tightens).
Type: double
LineSpacing
Extra points between lines.
Type: double
LinkColor
Color the links paint in, or null for the app tint.
MaxFontSize
The largest point size Dynamic Type may produce, or NaN for no upper bound.
Set this and
MinFontSizeto the same value for fixed-size text.
Type: double
MaxLines
Maximum number of lines, or 0 for unlimited (wraps freely).
MinFontSize
The smallest point size Dynamic Type may produce, or NaN for no lower bound.
Type: double
Spans
The styled runs to display; a plain string becomes an unstyled run, a Link a tappable one.
Changes replace the attributed text without animation.
Live when the list is an
ObservableCollection.
Type: BindableList<Span>
TextAlignment
Horizontal alignment of the text.
Type: Bindable<TextAlignment>
TextColor
Base text color, or null for the system label color.
TextStyle
The step of the native type hierarchy the text follows, or null to size it by FontSize.
Type: TextStyle?