In my XAML file I want to display this text which contains double and single quotation marks:
You shoul
You should encode the special characters:
<TextBlock Text='You shouldn't choose "Copy if New":'/>
'
for '
"
for "
There are defined XML escapes &
"
for " and &
'
for ' -- if the XML handling in XAML
doesn't interpret those properly, then start to worry.
If you don't want to encode special chars you could use:
<TextBlock>
<TextBlock.Text>
You shouldn't choose "Copy if New":
<TextBlock.Text>
</TexBlock>