VisualBrush

Inheritance: TileBrush AvaloniaUI documentation: VisualBrush API

Constructors

Constructors
Description

VisualBrush(content: WidgetBuilder<'msg, #IFabVisual>)

Creates a VisualBrush widget.

Properties

Properties
Description

reference(value: ViewRef)

Link a ViewRef to access the direct VisualBrush control instance.

Usages

VisualBrush(TextBlock("Hello"))

Get access to the underlying VisualBrush

let brushesRef = ViewRef<VisualBrush>()

VisualBrush(TextBlock("Hello"))
    .reference(brushesRef)

Last updated