Search code examples
xmlxamlwindows-8windows-runtimewinrt-xaml

"&#xE100" values in StandardStyles


Sorry for the confusing title, but I'm not sure what to call those. I'm talking about this:

<Style x:Key="SkipBackAppBarButtonStyle" TargetType="Button" BasedOn="{StaticResource AppBarButtonStyle}">
    <Setter Property="AutomationProperties.AutomationId" Value="SkipBackAppBarButton"/>
    <Setter Property="AutomationProperties.Name" Value="Skip Back"/>
    <Setter Property="Content" Value="&#xE100;"/> <!-- This one -->
</Style>

There are several of those in StandardStyles.xaml, but I have no idea how it works, any idea?

Thanks!


Solution

  • These are XML/hex-encoded Unicode characters in the Segoe UI font. Basically icons in form of typeface glyps. There is a "Styles Browser" app in the WinRT XAML Toolkit that shows all the icons, including the full set of 150 icons that Tim Heuer shared in his blog post.