Closed kornelijepetak closed 1 month ago
I am looking for a way to change the fill color of a svg via XAML. Either using SvgViewbox or <Image> with SvgImage converter.
SvgViewbox
<Image>
SvgImage
The SVG file contains the <path> element with no fill defined.
<path>
fill
Is there an easy non-code-behind way to achieve this?
@kornelijepetak Please can you post a sample SVG. Sometimes it is easier that way, sorry. Also, are you the one creating them? or what control do you have on the source of the SVG?
I am looking for a way to change the fill color of a svg via XAML. Either using
SvgViewbox
or<Image>
withSvgImage
converter.The SVG file contains the
<path>
element with nofill
defined.Is there an easy non-code-behind way to achieve this?