Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: childwindow & windowcontainer

$
0
0
'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

Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>