I have a border and a text block inside with the same background color, and there is a hairline gap in between them showing parent background which is white. How to get rid of it
<Border Background="Red" CornerRadius="5" BorderThickness="3" BorderBrush="Red">
<TextBlock Background="Red"></TextBlock>
</Border>
Thanks