Is it possible in WPF to draw the background of a window the following way:
- the background of the window is for instance white
- vertical colored lines of 20 pixels width with a same-size gap in between, so that you get a red-striped pattern
- horizontal colored lines of 20 pixels height in the same color, also with a same-size gap in between
- the areas where the horizontal and vertical red lines overlap each other should be shown in white again, so that you get kind of a checkered pattern
I know how to draw lines in WPF and I know how to repeat a drawing to fill the whole background, but I don't know how the manage the part with the overlapping colors vanishing.