title: Fast lightweight method to draw in DataGrid
body: <p>I need some kind of timeline in a "datagrid" and the character has quite a few lines.</p>
  
  <p><img src="https://i.stack.imgur.com/hNHEd.png" alt="https://www.dropbox.com/s/idz0zuk8u3jla11/img.PNG?m"></p>
  
  <p>The left side of my datagrid works very well because there is only text.</p>
  
  <p>The right side is a little bit laggy.</p>
  
  <p>Actually, I have my DataGridTemplateColumn at the first index of the timeline part.</p>
  
  <p>My DataGridTemplateColumn uses my UserControl as DataTemplate, where I have drawn my lines/rectangles for the entire line. This works because I set the left margin of the objects as example 500 so it appears over the other columns at the right side...</p>
  
  <p>The usercontrol is a simple grid where I have placed my rectangles dynamically.</p>
  
  <p>Other columns are also DataGridTemplateColumn but they are empty.</p>
  
  <p>Now, my idea is to make only a single column where I can place a large usercontrol and that draws the timeline for the line.</p>
  
  <p>What is the best practice to do that?</p>
  
  <p>thanks</p>