I am trying to set the StrokeThickness of the line is more than 1. But StrokeThickness is not applied properly in the line which is in the right side of the grid. left side line is working properly. Code snippet
<Grid
x:Name="BottomRightPanel"
Width="500"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Background="Yellow">
<Line
x:Name="line"
Stroke="Black"
StrokeThickness="5"
X1="0"
X2="0"
Y1="0"
Y2="50" />
<Line
x:Name="line1"
Stroke="Black"
StrokeThickness="5"
X1="500"
X2="500"
Y1="0"
Y2="50">
</Line>
</Grid>
Screenshot:
