I\'m learning WPF on my own and I can\'t seem to find a way to make this work.
Here\'s my code:
Or, perhaps, you could use Visual Brush: