Unloaded Event of a View

Nov 28, 2008 at 11:20 AM
Hi All,

I am removing a attaching View1 of ModuleA in a ItemsControl, After Doing some work I am removing the View1 of ModuleA and adding a View2 of ModuleB. (Replacing a view a ItemsControl). While I have removed a view, its unloaded event is not triggering. Please suggest me how can I trigger the unloaded event of that view.

Dec 1, 2008 at 12:41 PM


I am not sure the order of actions you take, but I think losing them is default behavior of Prism in these cases. Take a look of Ade Miller's post of Prism EventAggregator, which probably will explain the question you are facing and possible way forward.

You can find Add's blog post at