ItemCollection cannot provide a sync root for synchronization because the underlying collection can be changed. Use ItemsControl.ItemsSource ...

ItemCollection cannot provide a sync root for synchronization because the underlying collection can be changed. Use ItemsControl.ItemsSource or ItemCollection.InnerList to get the sync root for the respective inner collections.