I am working on a Metro App using C ++ and XAML. I want to create a polygon and add text inside it.
At first I thought about defining my own Controltemplate and applying it to a Textblock, but unfortunately it does not understand TargetType = "TextBlock".
Secondly, I was thinking about inheriting the Polygon class and see if I can do anything, but this class is sealed.
Any ideas on how to achieve this?
thanks
source share