Skip to content

Instantly share code, notes, and snippets.

@eternaltung
Created September 1, 2013 16:15
Show Gist options
  • Save eternaltung/6405450 to your computer and use it in GitHub Desktop.
Save eternaltung/6405450 to your computer and use it in GitHub Desktop.
<phone:PhoneApplicationPage
x:Class="AppBar.PivotPage1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" >
<phone:PhoneApplicationPage.Resources>
<shell:ApplicationBar x:Key="Appbar1" IsVisible="True" Mode="Default">
<shell:ApplicationBarIconButton Text="button" IconUri="/Assets/AppBar/appbar.add.rest.png"/>
</shell:ApplicationBar>
<shell:ApplicationBar x:Key="Appbar2" IsVisible="True" Mode="Default">
<shell:ApplicationBarIconButton Text="button" IconUri="/Assets/AppBar/appbar.back.rest.png"/>
</shell:ApplicationBar>
</phone:PhoneApplicationPage.Resources>
<Grid x:Name="LayoutRoot" Background="Transparent">
<controls:Pivot Title="MY APPLICATION" Name="Testpivot">
<controls:PivotItem Header="item1">
<Grid/>
</controls:PivotItem>
<controls:PivotItem Header="item2">
<Grid/>
</controls:PivotItem>
</controls:Pivot>
</Grid>
</phone:PhoneApplicationPage>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment