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