If you have an ItemsControl that is throwing an exception telling you the collection is read-only when you call Clear() on the Items property before resetting the data binding, try setting the ItemsSource property to null instead.
I write to discover what I believe
If you have an ItemsControl that is throwing an exception telling you the collection is read-only when you call Clear() on the Items property before resetting the data binding, try setting the ItemsSource property to null instead.