Closed bergsteinne closed 1 year ago
For monochrome yes, see the SvgIcon samples in WpfTestResourceSvg.
Thank you, one question regarding SvgIcon: In the samples you refer to, the source is set via
Could I do the same and set the source of the SvgIcon to a svg file?
Could I do the same and set the source of the SvgIcon to a svg file?
Yes, it supports both SvgSource and UriSource properties similar to other controls.
Thanks - sorry for the newbie question but how would the xaml def. be for UriSource to a local file using SvgIcon?
In the same file you will see controls using "Source", this is the same as "UriSource". The "Source" is maintained for backward compatibility.
Hello,
Is it possible to change the color of an svg in svgImage at runtime in wpf?
Best,