Span
Inheritance: Element }) Xamarin.Forms documentation: Span API
For details on how the control actually works, please refer to the Xamarin.Forms documentation.
Constructors
Constructors | Description |
---|---|
Span(text: string) | Define a Span widget with a text |
Properties
Properties | Description |
---|---|
backgroundColor(light: FabColor, ?dark: FabColor) | Sets the background color depending if light or dark mode |
characterSpacing(value: float) | Sets the character spacing |
font(?size: float, ?namedSize: NamedSize, ?attributes: FontAttributes, ?fontFamily: string) | Sets the font |
lineHeight(value: float) | Sets the line height |
style(value: Style) | Sets the style to apply |
textColor(light: FabColor, ?dark: FabColor) | Sets the text color depending if light or dark mode |
textDecorations(value: TextDecorations) | Sets the text decoration |
textTransform(value: TextTransform) | Sets the text transformation |
gestureRecognizers() | Sets a collection of gesture recognizers to attach to this widget |
reference(value: ViewRef<Span>) | Sets a |
Usages
Get access to the underlying Xamarin.Forms.Span
Last updated