I need to make this shape on a windows phone 8 using XAML:

It is easy to make a rectangle with rounded corners, and the gray background also. But to make the top of the rectangle to be as shown seems very hard. Can someone give me a hint? It’s been 2 years since I used XAML, and I am removeing the rust.
nah not really, it’s actually pretty simple and there’s multiple ways to accomplish the same effect. Here’s an example.
You can trade the
Border‘s that were used forRectangle‘s if you like, hope this helps.