Skip to content

Instantly share code, notes, and snippets.

@sandorfr
Created November 16, 2012 20:19
Show Gist options
  • Save sandorfr/4090538 to your computer and use it in GitHub Desktop.
Save sandorfr/4090538 to your computer and use it in GitHub Desktop.
<Button Style="{StaticResource HomeAppBarButtonStyle}" AutomationProperties.Name="Test" />
<Style x:Key="HomeAppBarButtonStyle" TargetType="Button" BasedOn="{StaticResource AppBarButtonStyle}">
<Setter Property="AutomationProperties.AutomationId" Value="HomeAppBarButton"/>
<Setter Property="AutomationProperties.Name" Value="Home"/>
<Setter Property="Content" Value="&#xE10F;"/>
</Style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment