void PageContainer_CurrentPageChanged(object sender, PageType e) { CurrentPage = Pages.GetPageByType(e); NotifyPropertyChanged("CurrentPage"); }
public void SetModel(Model model) { this.model = model; Back = new MvvmCommand(() => Pages.ChangePageTo(PageType.ClientList), () => true); model.SelectedClientChanged += Model_SelectedClientChanged; }