special character wpf

a simple WPF question. I would like to have a button with content="<" (the "backward button") How to I achieve this because the following is wrong:

Content="<"

Answers


<Button Content="&lt;"/>

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 '&lt;'.


try this :

Content = "&lt;"

this article should help, basically you need to use

    <Button Content="&lt;" />

if you search a list of this codes, they are alled ISO codes


Need Your Help

Facebook Feed Dialog - limit on Link size?

facebook api feed

I have a link that is 1068 characters long. The Facebook dialog appears but displays an error message:

I need some help finding things in lists in lists (among other things)

python list machine-learning artificial-intelligence

I'm 14 (15 in less than an hour actually :D ) and I'm really struggling on this.