I'm trying to wrap a TextBlock's Text property (which is a string that is pulled from the database) in quotes without using a converter; I'd never tried the Binding's StringFormat property before today, and I seem to be doing something wrong.
Here is the code that isn't working:
<TextBlock Text="{Binding QuoteText, StringFormat='\"{0}\"'}" />
Any ideas?
This is XML, so "
is your friend.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With