//Events binded to buttons public void LoadPageOne() { SelectedScreen = new FirstChildViewModel(SelectedPerson); }
public AnotherChildViewModel(IEventAggregator eventAggregator, PersonModel personModel, FirstChildViewModel firstChildViewModel, ThirdChildViewModel thirdChildViewModel) { _eventAggregator = eventAggregator; _eventAggregator.Subscribe(this); _person = personModel; _thirdChildViewModel = thirdChildViewModel; }