[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
The easiest thing is probably to tokenize the raw svg and set the tokens before use.
fill="{{FillColor}}"
replace {{FillColor}} with your color.