-
Hi all, I'm trying to bind the SVGString property of the SvgViewbox with my viewmodel. Setting the source in the xaml is not a problem, I do this like this:
But when I'm trying to set the same value in my bound property:
It is throwing me an exception: I must be doing something wrong. Thanks for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I should not have included CDATA. Issue resolved. |
Beta Was this translation helpful? Give feedback.
SVGViewModel.SVGString = @"<svg><circle cx=""50"" cy=""50"" r=""40"" stroke=""black"" stroke-width=""3"" fill=""red"" /></svg>";
I should not have included CDATA. Issue resolved.