I am developing Windows Phone 7 and want to format the string that I attached to.
For some reason, I cannot use StringFormat as shown below. The option simply does not exist.
<TextBlock Text="{Binding Distance, StringFormat=\{0\}km}" />
Why is StringFormat not supported for Windows Phone 7?
source
share