How to remove and add new view to a region?

Dec 31, 2008 at 4:53 AM
Hi All

I have a region, say, region1. It currently has a view called view1. I want to change the view of the region based on user preferences. Say if the user clicks a link view2, view1 should get removed from region1 and view2 should get added. We are thinking of a controller class to do this job. Is this a right design and does it subscribe to PRISM? Any help will be greatly appreciated. Thanks.

Regards
Cati
Developer
Dec 31, 2008 at 7:14 AM
If you are using content region, it's easier to do. you just need to add View1 to the content region and activate it. then, View2 will be automatically disappeared and View1 will be shown.