shortcut

Adding an ApplicationBar in Windows Phone 7 using Visual Studio

One of the nice features of Windows Phone 7 is the shortcut or the Application bar . ApplicationBar is like a Menu that is built into the WP7 and provides a consistent look and feel to the Applications .

The Applicationbar can contain

  • Icon Buttons
  • The ellipsis that can help to expand and collapse the application bar
  • Menu Item – you can also add a menu item

Note that You can only have 4 icon buttons.

Adding an application bar in Visual Studio 2010 is very simple .

When you create a new project , just open the MainPage.XAML file , and look for the following commented code at the end

<!--Sample code showing usage of ApplicationBar--> <!-- <phone:PhoneApplicationPage.ApplicationBar> <shell:ApplicationBar

read more