<!-- Window1.xaml -->
<Window
  x:Class="Containment.Window1"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  Title="Containment">
  <!--<Button Width="100" Height="100">Hi</Button>-->
  <!--<Button Width="100" Height="100" Content="Hi" />-->
  <!--<Button Width="100" Height="100">
        <Button.Content>Hi</Button.Content>
    </Button>-->
  <!--<Button Width="100" Height="100">
    <Image Source="tom.png" />
  </Button>-->
  <!--<Button Width="100" Height="100">
        <TextBox Width="75">edit me</TextBox>
    </Button>-->
  <!-- WARNING: doesn't work! -->
  <!--
    <Button.Content>
      <TextBlock>Tom: </TextBlock>
      <Image Source="tom.png" />
    </Button.Content>
  </Button>-->
  <Button Width="100" Height="100">
    <Button.Content>
      <Grid>
        <Grid.RowDefinitions>
          <RowDefinition />
          <RowDefinition />
        </Grid.RowDefinitions>
        <Image Grid.Row="0" Source="tom.png" />
        <TextBlock Grid.Row="1" HorizontalAlignment="Center">Tom</TextBlock>
      </Grid>
    </Button.Content>
  </Button>
</Window>
