Advertisement
FANMixco

country.xaml

Sep 19th, 2013
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.92 KB | None | 0 0
  1. <phone:PhoneApplicationPage
  2.    x:Class="La_Ruta_Maya.pages.country"
  3.    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4.    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5.    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
  6.    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
  7.    xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
  8.    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9.    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10.    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768"
  11.    FontFamily="{StaticResource PhoneFontFamilyNormal}"
  12.    FontSize="{StaticResource PhoneFontSizeNormal}"
  13.    Foreground="{StaticResource PhoneForegroundBrush}"
  14.    SupportedOrientations="Portrait"  Orientation="Portrait"
  15.    shell:SystemTray.IsVisible="True"
  16.    xmlns:my="clr-namespace:Microsoft.Phone.Controls.Maps;assembly=Microsoft.Phone.Controls.Maps" Loaded="PhoneApplicationPage_Loaded_1">
  17.  
  18.     <!--LayoutRoot is the root grid where all page content is placed-->
  19.     <Grid x:Name="LayoutRoot" Background="Transparent">
  20.  
  21.        
  22.         <!--Pivot Control-->
  23.         <controls:Pivot Title="¡CONOCE MÁS SOBRE!" Grid.RowSpan="2" Grid.ColumnSpan="2">
  24.  
  25.             <!--Pivot item one-->
  26.             <controls:PivotItem x:Name="mapName">
  27.                 <controls:PivotItem.Header>
  28.                     <TextBlock Name="txtMapName" Text=""/>
  29.                 </controls:PivotItem.Header>
  30.                 <Grid>
  31.                     <my:Map
  32.                        Name="map1"
  33.                        Height="auto"
  34.                        Width="auto"
  35.                        CredentialsProvider="Ap9iyEIwF_bdxEYm85OiIgP3IIgsgGzoyAmH5KhrBuGbE8DVVdtJh1rX1vA8waza"
  36.                        ZoomLevel="8"
  37.                    />
  38.                 </Grid>
  39.             </controls:PivotItem>
  40.  
  41.             <!--Pivot item two-->
  42.             <controls:PivotItem Header="lugares">
  43.                 <Grid>
  44.                     <ListBox x:Name="ruinsList" Height="auto" Tap="PhoneList_Tap">
  45.  
  46.                         <ListBox.ItemTemplate>
  47.                             <DataTemplate>
  48.                                 <StackPanel Orientation="Horizontal">
  49.                                     <Image HorizontalAlignment="Left" Height="100" VerticalAlignment="Top" Width="100" Source="{Binding image}"/>
  50.                                     <TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="{Binding name}" VerticalAlignment="Top"  Style="{StaticResource PhoneTextTitle2Style}"/>
  51.                                 </StackPanel>
  52.  
  53.                             </DataTemplate>
  54.                         </ListBox.ItemTemplate>
  55.                     </ListBox>
  56.  
  57.                 </Grid>
  58.             </controls:PivotItem>
  59.         </controls:Pivot>
  60.     </Grid>
  61.  
  62. </phone:PhoneApplicationPage>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement