SolidColorBrush

Inheritance: Brush\ AvaloniaUI documentation: SolidColorBrush API

Constructors

Constructors Description
SolidColorBrush(color: Color) Creates a SolidColorBrush widget.

Properties

Properties Description
reference(value: ViewRef) Link a ViewRef to access the direct SolidColorBrush control instance.

Usages

SolidColorBrush(Colors.Maroon)

Get access to the underlying SolidColorBrush

let brushesRef = ViewRef<SolidColorBrush>()

SolidColorBrush(Colors.Maroon)
    .reference(transformRef)