ImageBrush
Inheritance: TileBrush AvaloniaUI documentation: ImageBrush API
Constructors
Constructors
Description
ImageBrush(source: Bitmap)
Creates a ImageBrush widget.
Properties
Properties
Description
reference(value: ViewRef)
Link a ViewRef to access the direct ImageBrush control instance.
Usages
ImageBrush(ImageSource.fromString("icon.png"))
Get access to the underlying ImageBrush
let brushesRef = ViewRef<ImageBrush>()
ImageBrush(ImageSource.fromString("icon.png"))
.reference(brushesRef)
Last updated