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
(5)
20,632 times
Add to favorites
3/5/2013
E-mail Twitter del.icio.us 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 http://go.microsoft.com/fwlink/?LinkID=219604 
'  
'
Partial Public Class MainPage
    Inherits PhoneApplicationPage
    ' Constructor
    Public Sub New()
        InitializeComponent()
    End Sub

    Private Sub linkPlainPage_Click(ByVal sender As Object, ByVal e As RoutedEventArgs)
        NavigationService.Navigate(New Uri("/PlainPage.xaml", UriKind.Relative))
    End Sub

    Private Sub linkPivotPage_Click(ByVal sender As Object, ByVal e As RoutedEventArgs)
        NavigationService.Navigate(New Uri("/PivotPage.xaml", UriKind.Relative))
    End Sub

    Private Sub linkPanoramaPage_Click(ByVal sender As Object, ByVal e As RoutedEventArgs)
        NavigationService.Navigate(New Uri("/PanoramaPage.xaml", UriKind.Relative))
    End Sub
End Class