<Window x:Class="MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Name="formPrincipal" Title="Conversión de temperaturas"
        Height="160" Width="300"
        MinHeight="160" MinWidth="300"
        MaxHeight="260" MaxWidth="450" Loaded="formPrincipal_Loaded">
  <Grid PreviewTextInput="ValidarTecla_PreviewTextInput">
    <Grid.RowDefinitions>
      <RowDefinition Height="*" />
      <RowDefinition Height="*" />
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
      <ColumnDefinition Width="Auto" />
      <ColumnDefinition Width="*" />
    </Grid.ColumnDefinitions>
    <Label Content="Grados _centígrados:" Margin="10,15,0,0" Name="etGradosC" Target="{Binding ElementName=ctGradosC}" VerticalAlignment="Top" />
    <TextBox Grid.Column="1" Margin="20,20,10,0" Name="ctGradosC" Text="0,00" HorizontalContentAlignment="Right" VerticalAlignment="Top" TabIndex="0" GotKeyboardFocus="ctGrados_GotKeyboardFocus" />
    <Label Grid.Row="1" Content="Grados _Fahrenheit:" Margin="10,15,0,0" Name="etGradosF" Target="{Binding ElementName=ctGradosF}" VerticalAlignment="Top" />
    <TextBox Grid.Column="1" Grid.Row="1" Margin="20,20,10,0" Name="ctGradosF" Text="32,00" HorizontalContentAlignment="Right" VerticalAlignment="Top" TabIndex="1" GotKeyboardFocus="ctGrados_GotKeyboardFocus" />
  </Grid>
</Window>
