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


Need Your Help

How to create a custom Debugger Visualizer in VS2010 to visualize a class which is non-Serializable?

c# visual-studio-2010 debuggervisualizer

I want to visualize an object with a custom Debugger Visualizer in VS2010. But the object of that class does not have Serializable property.

Woocommerce: Minimum Quantity for Overall Product Category, not variations

php wordpress woocommerce

So, I already have a plugin ("Advanced Product Quantities") installed that allows me to set minimum quantities for categories and products. However, what I'm trying to do is set a minimum quantity ...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.