Reputation: 4332
Where to get the available icons for app development.
<Button Content="Button" Click="GoBack" IsEnabled="{Binding Frame.CanGoBack, ElementName=pageRoot}" Style="{StaticResource BackButtonStyle}" HorizontalAlignment="Left" Margin="10,15,0,0" VerticalAlignment="Top" Height="55"/>
Example : Style="{StaticResource BackButtonStyle}" Where to get to see all the available icons with name such as BackButtonStyle and others before using them.
Thanks
Upvotes: 1
Views: 608
Reputation: 39988
When you create a new project the VS gives you StandardStyles.xaml
which is in Common
folder. There you can find the comented button style like this
<!--
Standard AppBarButton Styles for use with Button and ToggleButton
An AppBarButton Style is provided for each of the glyphs in the Segoe UI Symbol font.
Uncomment any style you reference (as not all may be required).
-->
<!--
<Style x:Key="SkipBackAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}">
<Setter Property="AutomationProperties.AutomationId" Value="SkipBackAppBarButton"/>
<Setter Property="AutomationProperties.Name" Value="Skip Back"/>
<Setter Property="Content" Value=""/>
</Style>
<Style x:Key="SkipAheadAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}">
<Setter Property="AutomationProperties.AutomationId" Value="SkipAheadAppBarButton"/>
<Setter Property="AutomationProperties.Name" Value="Skip Ahead"/>
<Setter Property="Content" Value=""/>
</Style>
....
....
To use these just uncomment it. For more read the msdn docs here
Upvotes: 1
Reputation: 17855
These "icons" are actually characters in Segoe UI Symbol font. There are multiple ways to see what's available:
StandardStyles.xaml
file in Common
folder of Windows Store app templates for Windows 8. You'll find a lot of commented out button styles for AppBar
, all based on characters from this same font. They can be used in AppBar
by just uncommenting them, but you can also create a style based on BackButtonStyle
with a diferent character for the content. Search for SkipBackAppBarButtonStyle
in the file to find the first one.Symbol
enumeration for use with SymbolIcon
class. It's an improved way for creating AppBarButton
in Windows 8.1 (there's a sample at the bottom of the last linked page).Upvotes: 1
Reputation: 593
Go to your C drive --> Program Files (x86 or not if your OS is 32 bit) --> Microsoft SDKs --> Windows Phone --> v 8.0 --> Icons. They are available for dark and light backgrounds as well as in vector form for editing in Illustrator and such. You can copy and paste the specific ones you want into your project folder and reference them.
Upvotes: 1