Working with the Application Bar - Day 3 - Part 4

Download this episode

Download Video

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

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    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?

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.