C
C#3mo ago
kuki

[WPF] Svg changing fill during runtime.

Hello, is there any way to achieve this in wpf ? or perhaps any alternative like changing between two vectors (one regular other one is for hover). Thanks in advance.
1 Reply
Mayor McCheese
Mayor McCheese3mo ago
The easiest thing is probably to tokenize the raw svg and set the tokens before use. fill="{{FillColor}}" replace {{FillColor}} with your color.

Did you find this page helpful?