<UserControl x:Class="ApSLConverTemps.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"  
    Height="300" Width="400">

  <Grid x:Name="LayoutRoot" Background="White" >
    <Grid.ColumnDefinitions>
      <ColumnDefinition Width="Auto" />
      <ColumnDefinition />
    </Grid.ColumnDefinitions>
    <Grid.RowDefinitions>
      <RowDefinition />
      <RowDefinition Height="Auto" />
      <RowDefinition Height="Auto" />
      <RowDefinition Height="Auto" />
      <RowDefinition Height="Auto" />
      <RowDefinition Height="Auto" />
      <RowDefinition />
    </Grid.RowDefinitions>
    <sdk:Label Grid.ColumnSpan="4"
         Style="{StaticResource EstiloTextoCabecera}">
      Conversión entre grados Centígrados y Fahrenheit
    </sdk:Label>
    <sdk:Label Grid.Column="0" Grid.Row="1" Content="Grados:"
               Style="{StaticResource EstiloLabel}" />
    <TextBox Name="ctGrados" Grid.Column="1" Grid.Row="1"
             Style="{StaticResource EstiloTextBox}"/>
    <Button Grid.Column="1" Grid.Row="2" Name="btConvertir"
            Content="Convertir" Style="{StaticResource EstiloButton}" Click="btConvertir_Click" />
    <Button Grid.Column="1" Grid.Row="3" Name="btDetalles"
            Content="Detalles" Style="{StaticResource EstiloButton}" Click="btDetalles_Click" />
    <RadioButton Grid.Column="1" Grid.Row="4" Name="boConvCF"
                 Content="Centígrados a Fahrenheit" IsChecked="True"
                 Style="{StaticResource EstiloRadioButton}"/>
    <RadioButton Grid.Column="1" Grid.Row="5" Name="boConvFC"
                 Content="Fahrenheit a Centígrados"
                 Style="{StaticResource EstiloRadioButton}"/>
    <sdk:Label Grid.Column="1" Grid.Row="6" Name="etError"
               Content="Error:" Style="{StaticResource EstiloLabel}" />
  </Grid>
</UserControl>
