title: Updating a TreeView ItemsSource in another thread
body: <p>I have a function like this:</p>
  
  <pre><code>public void UpdateList()
  {
  BindList = Model.GetList();
  TreeView1.ItemsSource = BindList;
  }
  </code></pre>
  
  <p>UpdateList() needs to be called (and the tree view list therefore reloaded) every time the user performs some action. It currently works, it's just very slow so I want to do it in another thread.</p>
  
  <p>I am quite new to WPF... on WinForms programs I used to make delegates and check if InvokeRequired, etc. But I have found this does not work in WPF.</p>
  
  <p>So if I want to call UpdateList() such that it runs in another thread, and the ItemsSource is updated from that other thread, how should I do it?</p>
  
  <p>Thanks</p>