Пример #1
0
 public void Show(IView view, IViewModel vm)
 {
     ((UserControl)view).DataContext = vm;
     MainViewContainer.Content = view;
     if (vm.IsFullScreen())
     {
         NavigationContainer.Visibility = Visibility.Hidden;
     }
     else
     {
         NavigationContainer.Visibility = Visibility.Visible;
     }
 }