<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  HorizontalAlignment="Stretch" VerticalAlignment="Stretch">

<!-- Example 3-36. A resizable layout -->

<ScrollViewer HorizontalScrollBarVisibility="Auto">
  <Grid>
    <Grid.ColumnDefinitions>
      <ColumnDefinition />
      <ColumnDefinition />
      <ColumnDefinition />
    </Grid.ColumnDefinitions>
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto" />
    </Grid.RowDefinitions>

    <Button Grid.Column="0">Stretched</Button>
    <Button Grid.Column="1">Stretched</Button>
    <Button Grid.Column="2">Stretched</Button>
  </Grid>
</ScrollViewer>

<!-- End of Example 3-36. -->

</Page>