Change color of svgImage at runtime #253
Unanswered
bergsteinne
asked this question in
Q&A
Replies: 5 comments
|
For monochrome yes, see the SvgIcon samples in WpfTestResourceSvg. |
0 replies
|
Thank you, one question regarding SvgIcon: In the samples you refer to, the source is set via svgc:SvgIcon.SvgSource <![CDATA[ Could I do the same and set the source of the SvgIcon to a svg file? |
0 replies
Yes, it supports both SvgSource and UriSource properties similar to other controls. |
0 replies
|
Thanks - sorry for the newbie question but how would the xaml def. be for UriSource to a local file using SvgIcon? |
0 replies
|
In the same file you will see controls using "Source", this is the same as "UriSource". The "Source" is maintained for backward compatibility. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
Is it possible to change the color of an svg in svgImage at runtime in wpf?
Best,
All reactions