I have a ListBox with its ItemSource bound to an ObservableCollection.
I have an attached behavior activated in this ListBox. This attached behavior hooks into the change event for the ItemsSource property. When this event is fired it checks if the new ItemsSource value is of type INotifyCollectionChanged and if so, it hooks into its CollectionChanged event as well.
But when this event is fired, I don't have access to the ListBox anymore, just to the ObservableCollection.
Is there an event in the ListBox that fires, when the content of its ItemsSource is changed? So that I have access to the ListBox?