I’m designing a WPF application, and I wanted it to have a customized left menu. Actually I would like the left menu to look like on the image:

I know this has something to do with overriding the template, but I’m not sure how to draw that shape. Any suggestions please?
well i don’t know if this is what you want but try this code: