0
votes

I am a beginner to Windows Phone. I am using Visual Studio 2012 and Windows Phone 8. How to add footage icons to the interface of Windows Phone 8 application ?

like this

I want to open different interfaces when user clicks that buttons. How can I achieve that ?

Where can I find the standard icons in apps ?

1
The "footage" is called the "application bar". msdn.microsoft.com/en-us/library/windowsphone/develop/… - Kevin Gosse

1 Answers

3
votes

The standard icons pack for Windows Phone 8 you can find here:

Dark Theme

C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Icons\Dark

Light Theme

C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Icons\Light


Add an image to the project.

In Xaml:

xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"

<phone:PhoneApplicationPage.ApplicationBar>
    <shell:ApplicationBar>
        <shell:ApplicationBarIconButton IconUri="/Assets/add.png"
                                        Text="Add" 
                                        Click="AddAppBarBtn_Click" />
    </shell:ApplicationBar>
</phone:PhoneApplicationPage.ApplicationBar>

In cs:

private void AddAppBarBtn_Click(object sender, EventArgs e)
        {
           // Code 
        }