<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.silverlight.net/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>Data Binding – Data Conversion</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/12/data-binding-data-conversion.aspx</link><description>One of the more interesting topics that arise in Data-binding is that of Data Conversion. So much can be accomplished without explicit conversion that it is easy to overlook… until you hit the real world. To see this, I'll make a small modification to</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Mini-Tutorial – Element Binding</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/12/data-binding-data-conversion.aspx#254975</link><pubDate>Wed, 22 Jul 2009 05:52:43 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:254975</guid><dc:creator>Microsoft Weblogs</dc:creator><description>&lt;p&gt;What It Is With element binding, it is now possible to bind the value of one object in your UI directly&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=254975" width="1" height="1"&gt;</description></item><item><title>Mini-Tutorial – Element Binding</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/12/data-binding-data-conversion.aspx#254951</link><pubDate>Wed, 22 Jul 2009 04:54:37 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:254951</guid><dc:creator>Jesse Liberty - Silverlight Geek</dc:creator><description>&lt;p&gt;What It Is With element binding, it is now possible to bind the value of one object in your UI directly&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=254951" width="1" height="1"&gt;</description></item><item><title>??berblick Data-Binding at Programming with Silverlight, WPF &amp;amp; .NET</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/12/data-binding-data-conversion.aspx#136701</link><pubDate>Mon, 24 Nov 2008 22:16:18 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:136701</guid><dc:creator>??berblick Data-Binding at Programming with Silverlight, WPF &amp; .NET</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;??berblick Data-Binding at Programming with Silverlight, WPF &amp;amp;amp; .NET&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=136701" width="1" height="1"&gt;</description></item><item><title>Data Binding in Silverlight with Jesse Liberty</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/12/data-binding-data-conversion.aspx#136569</link><pubDate>Mon, 24 Nov 2008 20:35:24 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:136569</guid><dc:creator>Data Binding in Silverlight with Jesse Liberty</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Data Binding in Silverlight with Jesse Liberty&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=136569" width="1" height="1"&gt;</description></item><item><title>Data Binding in Silverlight</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/12/data-binding-data-conversion.aspx#134981</link><pubDate>Fri, 21 Nov 2008 03:49:33 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:134981</guid><dc:creator>Data Binding in Silverlight</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Data Binding in Silverlight&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=134981" width="1" height="1"&gt;</description></item><item><title>Silverlight Tipps vom Insider</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/12/data-binding-data-conversion.aspx#116692</link><pubDate>Fri, 24 Oct 2008 09:07:55 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:116692</guid><dc:creator>Silverlight Tipps vom Insider</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Silverlight Tipps vom Insider&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=116692" width="1" height="1"&gt;</description></item><item><title>So Much Technology – So Little Time</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/12/data-binding-data-conversion.aspx#116119</link><pubDate>Thu, 23 Oct 2008 15:50:57 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:116119</guid><dc:creator>Microsoft Weblogs</dc:creator><description>&lt;p&gt;We have, I think, officially passed the point where anyone can keep up with the new technology available&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=116119" width="1" height="1"&gt;</description></item><item><title>So Much Technology – So Little Time</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/12/data-binding-data-conversion.aspx#116104</link><pubDate>Thu, 23 Oct 2008 15:21:40 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:116104</guid><dc:creator>Jesse Liberty - Silverlight Geek</dc:creator><description>&lt;p&gt;We have, I think, officially passed the point where anyone can keep up with the new technology available&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=116104" width="1" height="1"&gt;</description></item><item><title>Silverlight Resources</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/12/data-binding-data-conversion.aspx#113699</link><pubDate>Mon, 20 Oct 2008 20:20:00 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:113699</guid><dc:creator>Khurram Aziz</dc:creator><description>&lt;p&gt;Announcements &lt;a rel="nofollow" target="_new" href="http://weblogs.asp.net/scottgu/archive/2008/10/14/silverlight-2-released.aspx"&gt;weblogs.asp.net/.../silverlight-2-released.aspx&lt;/a&gt; &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/somasegar/archive/2008/10/14/silverlight-tools-support-w-expression-blend-2-sp1.aspx"&gt;blogs.msdn.com/.../silverlight-tools-support-w-expression-blend-2-sp1.aspx&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=113699" width="1" height="1"&gt;</description></item><item><title>Silverlight news for October 14, 2008</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/12/data-binding-data-conversion.aspx#108402</link><pubDate>Tue, 14 Oct 2008 09:14:22 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:108402</guid><dc:creator>Silverlight news for October 14, 2008</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Silverlight news for October 14, 2008&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=108402" width="1" height="1"&gt;</description></item><item><title>Data Binding – Data Validation</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/12/data-binding-data-conversion.aspx#107614</link><pubDate>Mon, 13 Oct 2008 17:09:43 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:107614</guid><dc:creator>Mirrored Blogs</dc:creator><description>&lt;p&gt;The third and final Data Binding topic I&amp;amp;#39;d like to cover for now is Data Validation. I&amp;amp;#39;ll modify&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=107614" width="1" height="1"&gt;</description></item><item><title>Data Binding – Data Validation</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/12/data-binding-data-conversion.aspx#107610</link><pubDate>Mon, 13 Oct 2008 17:06:41 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:107610</guid><dc:creator>Microsoft Weblogs</dc:creator><description>&lt;p&gt;The third and final Data Binding topic I'd like to cover for now is Data Validation. I'll modify the&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=107610" width="1" height="1"&gt;</description></item><item><title>Data Binding – Data Validation</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/12/data-binding-data-conversion.aspx#107602</link><pubDate>Mon, 13 Oct 2008 16:30:14 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:107602</guid><dc:creator>Jesse Liberty - Silverlight Geek</dc:creator><description>&lt;p&gt;The third and final Data Binding topic I'd like to cover for now is Data Validation. I'll modify the&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=107602" width="1" height="1"&gt;</description></item><item><title>re: Data Binding – Data Conversion</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/12/data-binding-data-conversion.aspx#107563</link><pubDate>Mon, 13 Oct 2008 16:07:39 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:107563</guid><dc:creator>gcorchon</dc:creator><description>&lt;p&gt;Sorry, I think I haven't explained myself correctly, and probably this is not the best post to talk about it since it is not related to databinding.&lt;/p&gt;
&lt;p&gt;I meant that there are a bunch of properties such as the Background or Fill in some controls those are of type Brush and you can set directly in the XAML code an ARGB value or an element from the Colors enumeration and they are automatically converted without any explicit conversion to a SolidColorBrush. So, since these values are in fact strings, where are they being converted?&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=107563" width="1" height="1"&gt;</description></item><item><title>re: Data Binding – Data Conversion</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/12/data-binding-data-conversion.aspx#107483</link><pubDate>Mon, 13 Oct 2008 13:24:44 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:107483</guid><dc:creator>jesseliberty</dc:creator><description>&lt;p&gt;gcorchon... &amp;gt;&amp;gt;Regading the type conversion, how do you convert an ARGB string value to a SolidColorBrush object for properties such as the background property in a grid without any explicit type converter?&amp;lt;&amp;lt;&amp;lt;&lt;/p&gt;
&lt;p&gt;Did I say something to imply that you can? I would in fact make an instance of IConverter to do this, assuming you are talking about binding. &amp;nbsp;You can have the conversion done implicitly if you know the color at design time (e..g, &lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;SomeControl Background=&amp;quot;Red&amp;quot; ...&lt;/p&gt;
&lt;p&gt;but if you mean databinding then i believe you need a converter that you'd write.&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=107483" width="1" height="1"&gt;</description></item></channel></rss>