title: Using BindingOperations.EnableCollectionSynchronization
body: <p>I have two WPF applications "UI", "Debugger" and one ClassLibrary "BL". UI references to Debugger and BL. Debugger references to BL. 
  I have collection in BL called MyCollection. UI app starts the Debugger app and Debugger binds to a collection MyCollection in BL. When I try changing the MyCollection collection from UI app I am getting exception.</p>
  
  <pre><code>A first chance exception of type 'System.NotSupportedException' occurred in PresentationFramework.dll
  
  Additional information: This type of CollectionView does not support changes to its SourceCollection from a thread different from the Dispatcher thread.
  </code></pre>
  
  <p>I was googling around and found this: <a href="http://msdn.microsoft.com/en-us/library/hh198845%28v=vs.110%29.aspx" rel="noreferrer">BindingOperations.EnableCollectionSynchronization</a>
  I can't figure out how to use it. I don't want to reference to any UI dlls from my BL project. Can anybody assist me on that?</p>
  
  <p>Thanks for the help!</p>