Rounding the corners of a rectangle or a border is nothing new, but what if you want to clip other FrameworkElements such as images or buttons. The first step is to look at how to generate the necessary clipping geometries to give you the rounded corners.
Take a look at the clipping of the following rectangle that rounds each corner with a radius of 10.
Clip="M0,10C0,4.5 4.5,0 10,0L118,0C123.5,0 128,4.5 128,10L128,86C128,91.5 123.5,96 118,96L10,96C4.5,96 0,91.5 0,86z"
The quickest way I’ve found to decode clipping strings is to let Blend do it for you. After selecting the rectangle in Blend, select the Clip ...