title: Drawing to a brush
body: <p>I have made a control which inherits TextBox, and I'm trying to give a notebook grid:</p>
  
  <p><img src="https://i.stack.imgur.com/BHYSp.jpg" alt="Notebook page"></p>
  
  <p>I already have the code that will specify where to draw the lines including all of the grids features, but I'm not sure what to draw it to.
  I've Googled a lot and searched for a brush that will let me have the same interface as a DrawingContext (so I could call drawingContext.DrawLine() etc.), or something familiar, but I couldn't find any!</p>
  
  <p><strong>So how can I achieve to get my grid background?</strong></p>
  
  <p><em>P.S I can't create a static bmp file and load it, because the grid color and spacing would most certainly change</em></p>