<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Binding an embedded image using a value converter</title><link>http://blogs.msdn.com/jitghosh/archive/2008/10/25/binding-an-embedded-image-using-a-value-converter.aspx</link><description>Recently I needed to bind some embedded images to data templates. If you look at the Image type in Silverlight 2, you will see that it exposes a Source property of type ImageSource that can be set to the URI of an image either relative to the XAP, or</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Binding an embedded image using a value converter</title><link>http://blogs.msdn.com/jitghosh/archive/2008/10/25/binding-an-embedded-image-using-a-value-converter.aspx#9473176</link><pubDate>Fri, 13 Mar 2009 17:11:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9473176</guid><dc:creator>Stephen Murillo</dc:creator><description>&lt;p&gt;This is an old blog but I bumped into it when I was looking for a solution, so I thought I would comment for anyone else who reads it. This solution will work and some people would prefer it, but there is a way to specify a resource in the URI. You can use the format: &amp;quot;/assemblyShortName;component/resourceLocation&amp;quot;.&lt;/p&gt;
&lt;p&gt;For example, in this case it would be &amp;quot;/Foo;component/images/bar.png&amp;quot;. But make sure to tag the image as a &amp;quot;Resource&amp;quot; and not an &amp;quot;Embedded Resource&amp;quot; in Visual Studio.&lt;/p&gt;
&lt;p&gt;For more information click here:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/library/cc296240"&gt;http://msdn.microsoft.com/en-us/library/cc296240&lt;/a&gt;(VS.95).aspx&lt;/p&gt;
</description></item></channel></rss>