Monday, November 19, 2012

Styles for App Bar buttons

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="&#xE105;"/>
    </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

How to upload app to macOS

1. Open Terminal Press Cmd (⌘) + Space , type Terminal , and hit Enter . 2. Navigate to Your Build Output Directory Your .app file is likel...