You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I create a Binding on Brush property of GeometryDrawing. However when the property in viewmodel changes, the drawing's color does not change.
I'm using Avalonia 11.2.3, .Net 8.0 and Window 11.
To Reproduce
Create a new project like this. After clicking the ChangeBackground Button, the TextBlock changes to Red while the GeometryDrawing remains blue.
Currently I'm trying to find all Image control and call InvalidateVisual method on them when the specific propery changed (or do it regularly in timer). It works, however I also worry about the performance.
Describe the bug
I create a Binding on
Brush
property ofGeometryDrawing
. However when the property in viewmodel changes, the drawing's color does not change.I'm using Avalonia 11.2.3, .Net 8.0 and Window 11.
To Reproduce
Create a new project like this. After clicking the ChangeBackground
Button
, theTextBlock
changes toRed
while theGeometryDrawing
remains blue.AvaloniaApplication.zip
Expected behavior
No response
Avalonia version
11.2.3
OS
Windows
Additional context
No response
The text was updated successfully, but these errors were encountered: