Can't use apostrophe in StringFormat of a XAML binding?
I'm not sure if it's a bug, but I tested this method, and it works:
<TextBlock Text="{Binding MyValue, StringFormat='The value is \'{0}\''}" />
Seems like single quotes within StringFormat have to be escaped using \
as opposed to the traditional XML style '
Try to use \
before &apos
:
<TextBlock Text="{Binding MyValue, StringFormat='The value is \'{0}\''}"/>