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>(); } } }
public override DependencyObject ContainerFromItem(ITabItem item) => VerticalTabView.ContainerFromItem(item);