<?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>WPF 3.5 SP1 feature: StringFormat</title><link>http://blogs.msdn.com/llobo/archive/2008/05/19/wpf-3-5-sp1-feature-stringformat.aspx</link><description>One of the new features in 3.5 SP1 is stringformat. The usage is pretty simple. So following are simple snippets showing its use &amp;lt; TextBox Text = " {Binding Path=Double, StringFormat=F3 } " /&amp;gt; &amp;lt; TextBox Text = " {Binding Path=Double, StringFormat=Amount:</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: WPF 3.5 SP1 feature: StringFormat</title><link>http://blogs.msdn.com/llobo/archive/2008/05/19/wpf-3-5-sp1-feature-stringformat.aspx#8519379</link><pubDate>Mon, 19 May 2008 20:58:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8519379</guid><dc:creator>karl1406</dc:creator><description>&lt;p&gt;Nice post. &amp;nbsp;Like that multi-binding example.&lt;/p&gt;
&lt;p&gt;I have not tried the new SP1 yet because I'm doing Silverlight and don't want to give that up until the tools release.&lt;/p&gt;
&lt;p&gt;Did you try this with the decimal data type instead of double? &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I had to write a special converter to handle the decimal data type because the &amp;quot;$&amp;quot; was blowing up the type converter for a decimal data type. &amp;nbsp;My converter strips out the &amp;quot;$&amp;quot; before the string to decimal conversion takes place.&lt;/p&gt;
&lt;p&gt;Did you try this with nullable properties on the data object. &amp;nbsp;I wrote a series of converters to handle nullable data types.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Karl&lt;/p&gt;
</description></item><item><title>WPF 3.5 SP1 Feature - StringFormat</title><link>http://blogs.msdn.com/llobo/archive/2008/05/19/wpf-3-5-sp1-feature-stringformat.aspx#8519410</link><pubDate>Mon, 19 May 2008 21:14:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8519410</guid><dc:creator>Zuker On Foundations</dc:creator><description>&lt;p&gt;Via this post . I won&amp;amp;#39;t elaborate so much about it, do read Lester&amp;amp;#39;s post in the link above.&lt;/p&gt;
</description></item><item><title>Link Listing - May 19, 2008</title><link>http://blogs.msdn.com/llobo/archive/2008/05/19/wpf-3-5-sp1-feature-stringformat.aspx#8521807</link><pubDate>Tue, 20 May 2008 09:43:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8521807</guid><dc:creator>Christopher Steen</dc:creator><description>&lt;p&gt;ASP.NET Integrated social networking in ASP.NET [Via: 100muses ] Sharepoint When to dispose of objects...&lt;/p&gt;
</description></item><item><title>Using Binding.StringFormat</title><link>http://blogs.msdn.com/llobo/archive/2008/05/19/wpf-3-5-sp1-feature-stringformat.aspx#8521825</link><pubDate>Tue, 20 May 2008 09:46:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8521825</guid><dc:creator>Rudi Grobler</dc:creator><description>&lt;p&gt;I know I am a little late on blogging about .NET 3.5 SP1, but here goes... This is a huge release...&lt;/p&gt;
</description></item><item><title>re: WPF 3.5 SP1 feature: StringFormat</title><link>http://blogs.msdn.com/llobo/archive/2008/05/19/wpf-3-5-sp1-feature-stringformat.aspx#8522203</link><pubDate>Tue, 20 May 2008 12:09:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8522203</guid><dc:creator>Cornel</dc:creator><description>&lt;p&gt;In WinForms exists something related?&lt;/p&gt;
</description></item><item><title>re: WPF 3.5 SP1 feature: StringFormat</title><link>http://blogs.msdn.com/llobo/archive/2008/05/19/wpf-3-5-sp1-feature-stringformat.aspx#8523780</link><pubDate>Tue, 20 May 2008 19:37:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8523780</guid><dc:creator>llester</dc:creator><description>&lt;p&gt;Karl, decimals work fine and nullable values also seem fine :)&lt;/p&gt;
</description></item><item><title>May 20th Links: ASP.NET, ASP.NET AJAX, .NET, Visual Studio, Silverlight, WPF</title><link>http://blogs.msdn.com/llobo/archive/2008/05/19/wpf-3-5-sp1-feature-stringformat.aspx#8526562</link><pubDate>Wed, 21 May 2008 08:25:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8526562</guid><dc:creator>Community Blogs</dc:creator><description>&lt;p&gt;Apologies for the sparseness of my posting the last few weeks - work and life have been busy here lately&lt;/p&gt;
</description></item><item><title>re: WPF 3.5 SP1 feature: StringFormat</title><link>http://blogs.msdn.com/llobo/archive/2008/05/19/wpf-3-5-sp1-feature-stringformat.aspx#8527602</link><pubDate>Wed, 21 May 2008 14:16:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8527602</guid><dc:creator>Dmitrij Zaharov</dc:creator><description>&lt;p&gt;Seems that Binding is getting even more functionality than before :)&lt;/p&gt;
</description></item><item><title>WPF/Silverlight/XAML Web News - 2008/05/23</title><link>http://blogs.msdn.com/llobo/archive/2008/05/19/wpf-3-5-sp1-feature-stringformat.aspx#8541398</link><pubDate>Fri, 23 May 2008 23:28:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8541398</guid><dc:creator>Rob Relyea - Xamlified</dc:creator><description>&lt;p&gt;My latest links about WPF (Apps, Controls, 3.5sp1 beta, HowTo, for LOB), Silverlight, XAML and URLs WPF&lt;/p&gt;
</description></item><item><title>Links op 20 mei: ASP.NET, ASP.NET AJAX, .NET, Visual Studio, Silverlight, WPF</title><link>http://blogs.msdn.com/llobo/archive/2008/05/19/wpf-3-5-sp1-feature-stringformat.aspx#8545142</link><pubDate>Sat, 24 May 2008 10:35:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8545142</guid><dc:creator>Scott Guthrie's Blog in Dutch</dc:creator><description>&lt;p&gt;Mijn verontschuldigingen voor de weinige posts de laatste weken. Mijn werk en leven zijn enorm de druk&lt;/p&gt;
</description></item><item><title>re: WPF 3.5 SP1 feature: StringFormat</title><link>http://blogs.msdn.com/llobo/archive/2008/05/19/wpf-3-5-sp1-feature-stringformat.aspx#8555213</link><pubDate>Tue, 27 May 2008 20:39:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8555213</guid><dc:creator>Jon</dc:creator><description>&lt;p&gt;This is good news. This is what I was looking for in the original WPF. Having to create an IValueConverter to do simple formatting was a pain. It looks like there are a few different ways to escape the {} characters?&lt;/p&gt;
</description></item><item><title>Trying out Binding.StringFormat</title><link>http://blogs.msdn.com/llobo/archive/2008/05/19/wpf-3-5-sp1-feature-stringformat.aspx#8560262</link><pubDate>Fri, 30 May 2008 00:31:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8560262</guid><dc:creator>Mike Hillberg's Blog on Wpf (.Net and Silverlight)</dc:creator><description>&lt;p&gt;StringFormat is a new property in .Net 3.5 SP1, which is currently in Beta. See Scott’s blog for more&lt;/p&gt;
</description></item><item><title>[WPF] Data Binding Quick Reference</title><link>http://blogs.msdn.com/llobo/archive/2008/05/19/wpf-3-5-sp1-feature-stringformat.aspx#8568234</link><pubDate>Sun, 01 Jun 2008 23:31:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8568234</guid><dc:creator>Frédéric Hamel</dc:creator><description>&lt;p&gt;Vous trouverez ici les principales syntaxes permettant de r&amp;#233;aliser un Data Binding en WPF. Le but ici&lt;/p&gt;
</description></item><item><title>re: WPF 3.5 SP1 feature: StringFormat</title><link>http://blogs.msdn.com/llobo/archive/2008/05/19/wpf-3-5-sp1-feature-stringformat.aspx#8570391</link><pubDate>Tue, 03 Jun 2008 01:04:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8570391</guid><dc:creator>James Hurst</dc:creator><description>&lt;p&gt;Would it be too much trouble to post an example that actually works?&lt;/p&gt;
</description></item><item><title>Liens du 20 mai: ASP.NET, ASP.NET AJAX, .NET, Visual Studio, Silverlight, WPF </title><link>http://blogs.msdn.com/llobo/archive/2008/05/19/wpf-3-5-sp1-feature-stringformat.aspx#8570944</link><pubDate>Tue, 03 Jun 2008 07:42:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8570944</guid><dc:creator>Scott Guthrie's Blog in French</dc:creator><description>&lt;p&gt;Mes excuses pour le peu de publications au cours des derni&amp;#232;res semaines – le travail et la vie en g&amp;#233;n&amp;#233;rale&lt;/p&gt;
</description></item><item><title>re: WPF 3.5 SP1 feature: StringFormat</title><link>http://blogs.msdn.com/llobo/archive/2008/05/19/wpf-3-5-sp1-feature-stringformat.aspx#8573263</link><pubDate>Wed, 04 Jun 2008 16:01:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8573263</guid><dc:creator>Christian</dc:creator><description>&lt;p&gt;Hi! &lt;/p&gt;
&lt;p&gt;I like the string.format feature. But there is one problem:&lt;/p&gt;
&lt;p&gt;If the value you are binding to is null the formated string will show&lt;/p&gt;
&lt;p&gt;{DependencyProperty.UnsetValue}.&lt;/p&gt;
&lt;p&gt;I would expect it to show simply nothing.&lt;/p&gt;
&lt;p&gt;Will that be fixed in the final release?&lt;/p&gt;
</description></item><item><title>WPF 3.5 SP1 feature: StringFormat</title><link>http://blogs.msdn.com/llobo/archive/2008/05/19/wpf-3-5-sp1-feature-stringformat.aspx#8576743</link><pubDate>Fri, 06 Jun 2008 04:54:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8576743</guid><dc:creator>tomledk</dc:creator><description>&lt;p&gt;Endelig! En af de nye features der kommer med WPF 3.5 SP1 er StringFormat. Lester har skrevet en fin&lt;/p&gt;
</description></item><item><title>May 20th Links: ASP.NET, ASP.NET AJAX, .NET, Visual Studio, Silverlight, WPF</title><link>http://blogs.msdn.com/llobo/archive/2008/05/19/wpf-3-5-sp1-feature-stringformat.aspx#8601185</link><pubDate>Sun, 15 Jun 2008 18:25:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8601185</guid><dc:creator>Readed By Wrocław NUG members</dc:creator><description>&lt;p&gt;Apologies for the sparseness of my posting the last few weeks - work and life have been busy here lately&lt;/p&gt;
</description></item><item><title>Formating Data using StringFormat (Data Binding)</title><link>http://blogs.msdn.com/llobo/archive/2008/05/19/wpf-3-5-sp1-feature-stringformat.aspx#8966359</link><pubDate>Fri, 26 Sep 2008 14:53:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8966359</guid><dc:creator>WPF Tools Blog</dc:creator><description>&lt;p&gt;I wrote some postings about data binding in the past (see here , here and here ). It is a pretty cool&lt;/p&gt;
</description></item><item><title>WPF 3.5 SP1 Feature - StringFormat</title><link>http://blogs.msdn.com/llobo/archive/2008/05/19/wpf-3-5-sp1-feature-stringformat.aspx#9320832</link><pubDate>Thu, 15 Jan 2009 16:46:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9320832</guid><dc:creator>Zuker On Foundations</dc:creator><description>&lt;p&gt;Via this post . I won&amp;amp;#39;t elaborate so much about it, do read Lester&amp;amp;#39;s post in the link above.&lt;/p&gt;
</description></item></channel></rss>