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 :
We will add now for each button an event as we did in the previous workshops :
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 :
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 :
No comments:
Post a Comment