StyledElement

Inheritance: Animatable AvaloniaUI documentation: StyledElement API

Properties

Events

Usages

let textBlockStyle (this: WidgetBuilder<'msg, IFabTextBlock>) =
    this
        .verticalAlignment(VerticalAlignment.Center)
        .foreground(SolidColorBrush(Colors.Black))
            
TextBlock("Hello Wrold")
    .style(textBlockStyle)

Last updated