Closed Fi0x closed 3 years ago
does it work when you call https://github.com/dotnetprojects/SVGImage/blob/80c89fbf6a3aa2551018cae156aaf761bc97696c/Source/SVGImage/SVG/SVGImage.cs#L221
then i think we need a ChangeNotification in this dependecy property:
but I've no time to work on this at the moment. Maybe you could and create a pull req?
So I tried to replace SetImage
with ReRenderSvg
, but unfortunately this does not work.
I'm currently very busy myself, but if I find some time, I'll create a pull-request.
Had the same issue, was able to reproduce this in a simple sample on the example app (double click the rect-image to randomly change color)
this code resolved it for me: https://github.com/dotnetprojects/SVGImage/pull/49
When I change the
OverrideColor
property, the image does not get re-loaded with the new value. I have to use a workaround that usesSetImage
.But I don't think that this is intentional?