Tuesday, January 29, 2013

WinRT: AppBar button values

WinRT gives you a lot of AppBar buttons out-of-the-box. These buttons can be found in the StandardStyles.xaml(don’t forget to comment them out if you want to use them) and are styled like this:

I wanted to create my own button and I was wondering where the value of the Content property(&#xE112) is coming from…

To find the related icon you’ll have to open the Character Map program & select the Segoe UI Symbol from the font list.

image

If you click on a specific character you see the value that is used inside the Content property(without the &#x at the beginning).

image

No comments: