<Window x:Class="MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  Title="Ventana WPF" Height="300" Width="400" Name="VentanaWPF">
  <!--
  <Grid>
    <Label Content="etiqueta" Name="etSaludo" HorizontalContentAlignment="Center"  VerticalContentAlignment="Center"  Width="120" Height="30"
      FontStyle="Normal" FontSize="14"  HorizontalAlignment="Left" VerticalAlignment="Top"  Margin="80,30,0,0" TabIndex="1" />
    <Button Content="Haga _clic aquí" Name="btSaludo" Height="23" Width="120"
      HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="80,0,0,50" TabIndex="0" ToolTip="Botón de pulsación" Click="btSaludo_Click" />
  </Grid>

  <Canvas Background="LightBlue" >
    <Label Canvas.Left="80" Canvas.Top="30" Content="etiqueta" Name="label1" Width="120" Height="30" />
    <Button Canvas.Left="80" Canvas.Bottom="50" Content="Haga clic aquí" Height="23" Name="button1" Width="120" />
  </Canvas>

  <StackPanel Orientation="Vertical">
    <Label Content="etiqueta" Name="label1" />
    <Button Content="Botón 1" Name="button1" />
    <Button Content="Botón 2" Name="button2" />
  </StackPanel>

  <WrapPanel>
    <Label Content="Label" Name="label1" Width="120" />
    <Button Content="Botón 1" Name="button1" Width="75" />
    <Button Content="Botón 2" Name="button2" Width="75" />
    <Button Content="Botón 3" Name="button3" Width="75" />
    <Button Content="Botón 4" Name="button4" Width="75" />
  </WrapPanel>

  <DockPanel>
    <Border DockPanel.Dock="Top" BorderBrush="Silver" BorderThickness="1" Height="25">
      <TextBlock Name="textBlock1" Text=" Barra de menús" />
    </Border>
    <Border DockPanel.Dock="Top" BorderBrush="Silver" BorderThickness="1" Height="25">
      <TextBlock Name="textBlock2" Text=" Barra de herramientas" />
    </Border>
    <Border DockPanel.Dock="Bottom" BorderBrush="Silver" BorderThickness="1" Height="25">
      <TextBlock Name="textBlock3" Text=" Barra de estado" />
    </Border>
    <Border DockPanel.Dock="Left" BorderBrush="Silver" BorderThickness="1" Width="85">
      <TextBlock Name="textBlock4" Text=" Columna izda." />
    </Border>
    <Border BorderBrush="Silver" BorderThickness="1">
      <TextBlock Name="textBlock5" Text=" Columna dcha." />
    </Border>
  </DockPanel>
-->

  <Grid ShowGridLines="True">
    <Grid.ColumnDefinitions>
      <ColumnDefinition Width="Auto" />
      <ColumnDefinition Width="2*" />
      <ColumnDefinition Width="*"/>
      <ColumnDefinition Width="*"/>
    </Grid.ColumnDefinitions>
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto" />
      <RowDefinition Height="Auto" />
      <RowDefinition Height="*" />
      <RowDefinition Height="Auto" />
    </Grid.RowDefinitions>

    <Image Grid.Row="0" Grid.Column="0" Source="libro.ico" />
    <TextBlock Padding="10,3,10,3" Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="3" TextWrapping="Wrap">
      Escriba el nombre del documento, especificando la ruta
      completa, que desea procesar:
    </TextBlock>
    <TextBlock Grid.Row="1" Grid.Column="0">Abrir:</TextBlock>
    <TextBox Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="3" />
    <Button Margin="10, 1, 10, 15" Grid.Row="3" Grid.Column="2">Aceptar</Button>
    <Button Margin="10, 1, 10, 15" Grid.Row="3" Grid.Column="3">Cancelar</Button>
  </Grid>
</Window>
