Any equivalent in Avalonia of good old WPF AddDirtyRect ? #19277
LaurentInSeattle
started this conversation in
General
Replies: 1 comment 1 reply
-
Avalonia/src/Avalonia.Base/Visual.cs Lines 377 to 380 in 3c317f5 You might be confusing it with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Context:
App is updating a writable bitmap given as the source of an Image UI object.
When the WB gets updated, the image is not updated unless InvalidateVisual is invoked.
No need for a layout update, just a redraw is needed. WPF would do that with AddDirtyRect.
Q:
Do we have any better solution than invoking InvalidateVisual ?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions