
I didn't catch the CollectionChanged event of the IViewsCollection when I close a view.
It should raise with the Remove action no ?
MyRegionManager.Regions["Main"].Views.CollectionChanged +=new System.Collections.Specialized.NotifyCollectionChangedEventHandler(Views_CollectionChanged);
void Views_CollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e)
{
// this event should be thrown with e.Action == System.Collections.Specialized.NotifyCollectionChangedAction.Remove
}
Thanks for help.