public void SetViewModel(IPageViewModel model) { ViewModel = model; DataContext = ViewModel; }
public Page2() { InitializeComponent(); ViewModel = PageViewModel; }
public Page6Alternate() { InitializeComponent(); ViewModel = Page6ViewModel; }
public void SetViewModel(IPageViewModel model) { ViewModel = model; DataContext = ViewModel; PageLogic = model as Page5ViewModel; }