This is somewhat a general question about rectangles with border radii. I’m working with a developer that’s taking my Photoshop comps and applying the designs to a prototype in Blend. They’ve told me that in Blend it’s not possible to create a rectangle with only 2 curved corners. Supposedly you have to have all 4 corners with a border radius or none at all. Ideally I’d like only the top left and right corners with a border radius of 10 and the bottom edges without a curve. I’d just like to know if this is possible to do.
2
Answers
It is not be possible with Rectangle. But it is possible using Border.
The values will be applied in this fashion – “TopLeft TopRight BottomRight BottomLeft”
Using Clip : RectangleGeometry
Using VisualBrush