I'm having an issue in my ASP.NET WPF project, which a image inside a border is overflowing the border limits. Follow bellow my code:
        <Border CornerRadius="20" Grid.Column="0" Grid.Row="0"  >
            <Button HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch">
                <Image Source="{Binding ImagePath}" />
            </Button>
        </Border>