special character wpf special character wpf wpf wpf

special character wpf


<Button Content="<"/>

Remember that XAML is still XML, so the same escapes apply.

This is also what the compiler tells you in that case, at least it does for me:

The open angle bracket character '<' is not valid in an attribute. It should be written as '<'.


this article should help, basically you need to use

    <Button Content="<" />