<phone:PhoneApplicationPage 
    x:Class="TFC_ClientApp.MainPage"
    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: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">

    <!--LayoutRoot es la cuadrícula raíz donde se coloca todo el contenido de la página-->
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contiene el nombre de la aplicación y el título de la página-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
            <TextBlock x:Name="ApplicationTitle" Text="PERSONAL FITNESS" Style="{StaticResource TFC_TextBlock}" Foreground="#FF22BBF0" />
            <TextBlock x:Name="PageTitle" Text="Acceso" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}" Foreground="#FF22BBF0"/>
        </StackPanel>

        <!--ContentPanel. Colocar aquí el contenido adicional-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            <TextBlock Height="30" HorizontalAlignment="Left" Margin="12,94,0,0" Name="textblock1" Text="Usuario" VerticalAlignment="Top" Style="{StaticResource TFC_TextBlock}"  />
            <TextBox Height="72" HorizontalAlignment="Left" Margin="8,120,0,0" Name="textBoxUsername" Text="edu" VerticalAlignment="Top" Width="442" Style="{StaticResource TFC_TextBox}" />
            <TextBlock Height="30" HorizontalAlignment="Left" Margin="12,234,0,0" Name="textblock2" Text="Contraseña" VerticalAlignment="Top" Style="{StaticResource TFC_TextBlock}" />
            <PasswordBox Height="72" HorizontalAlignment="Left" Margin="8,260,0,0" Name="textBoxPass" Password="123456" VerticalAlignment="Top" Width="442" Style="{StaticResource TFC_PasswordBox}" />
            <Button Content="Entrar" Height="72" HorizontalAlignment="Left" Margin="145,376,0,0" Name="button1" VerticalAlignment="Top" Width="160" Click="button1_Click"  Style="{StaticResource TFC_Button}"/>
        </Grid>
    </Grid>
 
    <!--Código de ejemplo que muestra el uso de ApplicationBar-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Botón 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Botón 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="Elemento de menú 1"/>
                <shell:ApplicationBarMenuItem Text="Elemento de menú 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>