'ello
I've written a PRISM regionadapter for WindowContainer
When a ViewModel is placed in the region, it wraps it in a ChildWindow object, and adds it to the WindowContainer's Children collection.
This all works fine.
When the window is closed though, it does not remove the ChildWindow from the WindowContainer's Children collection. The ChildWindow's Parent etc is set to null though & when I manually try to remove it from the Children collection, I get a null reference exception
Thanx
Hein
I've written a PRISM regionadapter for WindowContainer
When a ViewModel is placed in the region, it wraps it in a ChildWindow object, and adds it to the WindowContainer's Children collection.
This all works fine.
When the window is closed though, it does not remove the ChildWindow from the WindowContainer's Children collection. The ChildWindow's Parent etc is set to null though & when I manually try to remove it from the Children collection, I get a null reference exception
Thanx
Hein