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

<!-- Example 3-23. Margin vs Padding -->

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

  <Button Grid.Column="0" Margin="20" Padding="0" >Click me!</Button>
  <Button Grid.Column="1" Margin="10" Padding="10">Click me!</Button>
  <Button Grid.Column="2" Margin="0"  Padding="20">Click me!</Button>

</Grid>

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

</Page>