VisualBrush

Inheritance: TileBrush AvaloniaUI documentation: VisualBrush API

Constructors

ConstructorsDescription

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

Creates a VisualBrush widget.

Properties

PropertiesDescription

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