|
by Paul Stovell via Paul Stovell on 6/3/2008 8:53:36 AM
One of the upcoming additions in .NET 3.5 SP1 is a StringFormat parameter you can pass along with your bindings. Sacha Barber has an example of how to use it:
<TextBlock
Text="{Binding Path=AccountBalance, StringFormat='You have {0:c} in your bank account.'}"
/>
However, if you can’t install the service pack or you [...]
... [ read more ]
|