WPF rectangle - round just top corners

后端 未结 4 1939

How can I have just the top corners rounded for a WPF rectangle?

I created a border and set the CornerRadius property and inside the border I\'ve added my

4条回答
  •  暖寄归人
    2021-01-31 01:48

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

提交回复
热议问题