FormattedLabel

Inheritance: Element -> NavigableElement -> VisualElement -> View -> Label Xamarin.Forms documentation: FormattedLabel API / Guide

For details on how the control actually works, please refer to the Xamarin.Forms documentation.

Constructors

Properties

Usages

(FormattedLabel() {
  Span("Hello")
    .font(size = 20., attributes = FontAttributes.Bold)
    
  Span("World")
    .textColor(Color.Red.ToFabColor())
})
  .font(fontFamily = "Consolas")

Get access to the underlying Xamarin.Forms.FormattedLabel #

let formattedLabelRef = ViewRef<Label>()

(FormattedLabel() {
  Span("Hello")
})
    .reference(labelRef)

Last updated