Home > Article, WPF > Special Characters in XAML

Special Characters in XAML

XAML is valid XML , So if you want to use any of the special characters in it  ( such as  &, <, >,’,” , etc) as normal characters, you must “escape” them .

There is an article about it from MSDN : How to: Use Special Characters in XAML.

&lt;    <        Less than
&gt;    >        Greater than
&amp;   &        Ampersand
&apos;  '        Single quote
&quot;  "        Double quote
Categories: Article, WPF
  1. No comments yet.
  1. No trackbacks yet.

Leave a comment