I am creating WPF app (using Prims+Mef). I have a single region in Shell (Say MainRegion). On Loading a Module A, I am attaching an View One (with toolbar etc.) into the MainRegion.
Now I have a requirement, such that if I click a button on the View One, it will attach another View (say View Two) into the View One. I am putting some snippets of this,
<ItemsControl Name="MainRegion" cal:RegionManager.RegionName="MainRegion" />
<Button>Add New View</Button>
<ItemsControl Name="MainPageRegion" cal:RegionManager.RegionName="MainPageRegion" />
Now I want to attach View Two Inside View One on click of a Button in View One. Is this possible.
Any pointers/links/ideas are appreciated.