XML pays special attention to a few specific characters, such as & and < and >...
On XAML
<Button ... >
<Click Me>
</Button>.
<Click Me>
</Button>.
This would not work,The solution is to replace the offending characters with entity
references—specific codes that the XAML parser will interpret correctly
references—specific codes that the XAML parser will interpret correctly
Here’s the corrected markup that uses the appropriate character entities:
<Button ... >
<Click Me>
</Button>
<Button ... >
<Click Me>
</Button>
Special Character | Character Entity |
Less than ( < ) | < |
Greater than ( > ) | > |
Ampersand ( & ) | & |
Quotation Mark ( “ ) | " |
Have a nice day... 'N happy Coding :)
No comments:
Post a Comment