title: How to continously update shapes on a Canvas in WPF?
body: <p>I have a <code>Canvas</code> control in my WPF app, and I am creating lots of shapes in a different thread and adding them to the canvas (using <code>Dispatcher</code>), but since I am recreating the childrens (they are dynamic and generated from other data, and the number of them change at runtime), I call:</p>
  
  <pre><code>canvas.Children.Clear();
  </code></pre>
  
  <p>but doing so makes the "flashes" the canvas, so gives a flickering look as the canvas is getting cleaned and populated. Is it possible to make this appear "continuous" so the clean canvas step is not visible?</p>
  
  <p>I am not sure if I need to use the above call or do something else to avoid it.</p>