SolidColorBrush

Inheritance: Brush AvaloniaUI documentation: SolidColorBrush API

Constructors

ConstructorsDescription

SolidColorBrush(color: Color)

Creates a SolidColorBrush widget.

Properties

PropertiesDescription

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)

Last updated