WPF rectangle - round just top corners?

The problem you've got is that the rectangle is "overflowing" the rounded corners of your border A rectangle can't have rounded corners, so if you just put the background colour on the border and remove the rectangle: Border BorderThickness="1" Grid. Row="0" Grid. ColumnSpan="2" CornerRadius="50,50,0,0" BorderBrush="Black" Background="#FF5A9AE0.

The problem you've got is that the rectangle is "overflowing" the rounded corners of your border. A rectangle can't have rounded corners, so if you just put the background colour on the border and remove the rectangle: You'll get your desired effect.

Set the RadiusX and RadiusY properties on the rectangle, this will give it rounded corners.

Or you can build your own replacement Rectangle per codeproject.com/KB/WPF/PartiallyRoundedR....

The problem you've got is that the rectangle is "overflowing" the rounded corners of your border.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions