Q:

How to remove space between Grid and Button

I'm using Grid and Button to make an List of buttons.
This is my code
<Grid Grid.Row="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
    <Grid.RowDefinitions>
        <RowDefinition Height="Auto" />
        <RowDefinition Height="Auto" />
    </Grid.RowDefinitions>
    <Button HorizontalAlignment="Stretch" VerticalAlignment="Stretch" 
      BorderThickness="0" Background="Red" Content="dsa" Margin="0" Padding="0"/>
</Grid>

How to remove the space between the Grid with the Button ?
I tried to using padding & margin to 0, but it not affected.

A:

Try to change the Margin of Button,like Margin='-10'. That will remove the space.

