Beispiel #1
0
 private void Page_Loaded(object sender, RoutedEventArgs e)
 {
     if (AssociatedViewModel == null && AssociatedInteractions == null)
     {
         AssociatedViewModel    = App.CurrentInstance.FilesystemViewModel;
         AssociatedInteractions = App.CurrentInstance.InteractionOperations;
         if (App.CurrentInstance == null)
         {
             App.CurrentInstance = VerticalTabView.GetCurrentSelectedTabInstance <ModernShellPage>();
         }
     }
 }
Beispiel #2
0
 public override DependencyObject ContainerFromItem(ITabItem item) => VerticalTabView.ContainerFromItem(item);