Application Bar Sample

This sample demonstrates how you can test app bar properties, including opacity, color, and mode, in a plain page, a pivot page, and a panorama page.

4.6 Star
20,633 times
Add to favorites
E-mail Twitter Digg Facebook
    Copyright (c) 2011 Microsoft Corporation.  All rights reserved.
    Use of this sample source code is subject to the terms of the Microsoft license 
    agreement under which you licensed this sample source code and is provided AS-IS.
    If you did not accept the terms of the license agreement, you are not authorized 
    to use this sample source code.  For the terms of the license, please see the 
    license agreement between you and Microsoft.
    To see all Code Samples for Windows Phone, visit 
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;

namespace sdkAppBarCS
    public partial class MainPage : PhoneApplicationPage
        // Constructor
        public MainPage()

        private void linkPlainPage_Click(object sender, RoutedEventArgs e)
            NavigationService.Navigate(new Uri("/PlainPage.xaml", UriKind.Relative));

        private void linkPivotPage_Click(object sender, RoutedEventArgs e)
            NavigationService.Navigate(new Uri("/PivotPage.xaml", UriKind.Relative));

        private void linkPanoramaPage_Click(object sender, RoutedEventArgs e)
            NavigationService.Navigate(new Uri("/PanoramaPage.xaml", UriKind.Relative));