Mar 6, 2012 at 4:13 PM
Edited Mar 7, 2012 at 8:51 AM
I have a ViewModel that contains another ViewModel that I want to render occasionally on screen using the <Popup> control. I have a ContentControl inside the popup as follows:
<Popup IsOpen="True" >
<TextBlock Text="This is a popup" />
<ContentControl x:Name="Types" />
This is wired up using Caliburn and should show the View based on the ViewModel type but it doesn't.
I have another area of the UI that is not inside a Popup using the same mechanism and that is showing the View correctly.
* The above xaml is for testing purposes only.