Reputation: 1944
I'm trying to create a pause style button in XAML. To create the standard two side-by-side bars, it seems like I should be able to draw a single rectangle, and the apply some sort of transformation to duplicate it and offset the duplicated rectangle, but I've no idea where to begin. Creating two rectangles doesn't seem like the right approach to me, but I don't really know enough about XAML to know for sure
Upvotes: 2
Views: 70
Reputation: 43596
Simple solution is to use the pause symbol from the Webdings font, no elements, transforms required
Example:
<Button FontFamily="Webdings" FontSize="20" Content=";" />
Upvotes: 2