In WinRT StandardStyles.xaml already defined lots of styles. Here is one example from the StandardStyles.xaml file.
<Style x:Key="SaveAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}">
<Setter Property="AutomationProperties.AutomationId" Value="SaveAppBarButton"/>
<Setter Property="AutomationProperties.Name" Value="Save"/>
<Setter Property="Content" Value=""/>
</Style>
To look for more style, open the Windows Character map and type Segoe UI Symbol from the Font combo box and here you will see all the symbols.
<Style x:Key="SaveAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}">
<Setter Property="AutomationProperties.AutomationId" Value="SaveAppBarButton"/>
<Setter Property="AutomationProperties.Name" Value="Save"/>
<Setter Property="Content" Value=""/>
</Style>
To look for more style, open the Windows Character map and type Segoe UI Symbol from the Font combo box and here you will see all the symbols.
No comments:
Post a Comment