How can I create a brush (DrawingBrush) for stripes as shown in the blog:
http://blog.pixelingene.com/2008/09/quick-tip-to-get-a-striped-background/
I can’t use it because it uses scale transform, which means if the UI element is small, the stripes are pretty much not visible or too close together.
I can’t use image brush because I need to bind the colors.
Creates downward 45 degree angle stripe pattern.
Alter viewport to change size of stripes
Alternatively you could bind the scale transform to the height and width of the control using multibinding. Then with a converter, you alter the scale to the max of height or width, then the stripes will remain the same size.