public void SetModel(Model model) { this.model = model; Return = new MvvmCommand(() => Pages.ChangePageTo(PageType.StudentList), () => true); Random = new MvvmCommand( () => }
void PageContainer_CurrentPageChanged(object sender, PageType e) { CurrentPage = Pages.GetPageByType(e); NotifyPropertyChanged("CurrentPage"); }