Working with the Application Bar - Day 3 - Part 4

Sign in to queue

Description

The application bar allows each page in your Silverlight Phone application to display up to four icons along the bottom, and this group of icons can be expanded to display a list of menu commands. This video demonstrates how to uncomment out the Application Bar template on a new Silverlight Phone page, how to add / remove and set the properties of buttons and menu commands, and how to respond to click events for each of those items.

Download the source code in c#

Download the source code in VB.Net

Embed

Download

Download this episode

The Discussion

  • User profile image
    Sven

    Thank you for the tip with the menu bar image to be set to Content - it may have taken you an hour; I would have probably never figured that one out :)  Quirky stuff!

  • User profile image
    Roberto

    You added icons when the phone is in a dark theme. How can you mke the icons addapt to the theme the user selects?

  • User profile image
    Clint

    @Roberto: always use white icons for the App bar.  It automagically will adapt them to the new theme.

  • User profile image
    Mintydog

    Short and sweet, I like it.

    You said you can have a max of 4 menu bar items, could you select one of the tasks from the scroll bar to change those 4 menu items into 4 new ones with new functions?

Add Your 2 Cents