Tuesday, 8 July 2014

Working with ApplicationBar in Visual Studio 2013 in Windows Phone 8

create a new project (Windows Phone 8 Blank App Silverlight) , then follow these steps :
In the MainPage.xaml , go to the bottom of the page and add these lines of code and watch what’s happening :

Capture

We will add now for each button an event as we did in the previous workshops :
Capture

The most important thing in this workshop is to be able to handle the application bar not the events , as you can notice here I’ve added  two buttons and two menu items , you can add up to 4 buttons and assign them with application bar images and it will look like this :
IC531092

If you’re wondering how to get these pictures , go to Program Files –>Microsoft SDK’s —>Windows Phone–>V8.0–>Icons and you will find Dark and Lignt icons there :
Capture

No comments:

Post a Comment