Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <phone:PhoneApplicationPage
- x:Class="La_Ruta_Maya.pages.country"
- 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" d:DesignWidth="480" d:DesignHeight="768"
- FontFamily="{StaticResource PhoneFontFamilyNormal}"
- FontSize="{StaticResource PhoneFontSizeNormal}"
- Foreground="{StaticResource PhoneForegroundBrush}"
- SupportedOrientations="Portrait" Orientation="Portrait"
- shell:SystemTray.IsVisible="True"
- xmlns:my="clr-namespace:Microsoft.Phone.Controls.Maps;assembly=Microsoft.Phone.Controls.Maps" Loaded="PhoneApplicationPage_Loaded_1">
- <!--LayoutRoot is the root grid where all page content is placed-->
- <Grid x:Name="LayoutRoot" Background="Transparent">
- <!--Pivot Control-->
- <controls:Pivot Title="¡CONOCE MÁS SOBRE!" Grid.RowSpan="2" Grid.ColumnSpan="2">
- <!--Pivot item one-->
- <controls:PivotItem x:Name="mapName">
- <controls:PivotItem.Header>
- <TextBlock Name="txtMapName" Text=""/>
- </controls:PivotItem.Header>
- <Grid>
- <my:Map
- Name="map1"
- Height="auto"
- Width="auto"
- CredentialsProvider="Ap9iyEIwF_bdxEYm85OiIgP3IIgsgGzoyAmH5KhrBuGbE8DVVdtJh1rX1vA8waza"
- ZoomLevel="8"
- />
- </Grid>
- </controls:PivotItem>
- <!--Pivot item two-->
- <controls:PivotItem Header="lugares">
- <Grid>
- <ListBox x:Name="ruinsList" Height="auto" Tap="PhoneList_Tap">
- <ListBox.ItemTemplate>
- <DataTemplate>
- <StackPanel Orientation="Horizontal">
- <Image HorizontalAlignment="Left" Height="100" VerticalAlignment="Top" Width="100" Source="{Binding image}"/>
- <TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="{Binding name}" VerticalAlignment="Top" Style="{StaticResource PhoneTextTitle2Style}"/>
- </StackPanel>
- </DataTemplate>
- </ListBox.ItemTemplate>
- </ListBox>
- </Grid>
- </controls:PivotItem>
- </controls:Pivot>
- </Grid>
- </phone:PhoneApplicationPage>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement