I am attempting a fairly simple implementation with a Conductor and some Screens.
I have the navigation working where my Screen is activated when I click a RadioButton. However, my OnActivate() method is not being executed.
My structure is setup like this:
- Container (Conductor)
- Screen1 (Screen)
- Screen2 (Screen)
The Container consists of a Grid with two ContentControls. One ContentControl is the Search, and Screen1 or Screen2 is displayed in the ContentControl named "ActiveItem" depending on what is selected from the SideMenu.
So from the SideMenu, I can activate Screen1 by doing this:
public void ShowScreen1()
containerVM = IoC.Get<ContainerViewModel>();
This works and shows the screen within the Container. I can check containerVM.ActiveItem and see that Screen1 is active. But from within Screen1, my OnActivate() method does not execute.
Any ideas why this wouldn't work?
protected override void OnActivate()