public static void TabAddLink(ModernTab tab, string display, string source) { Link link = new Link(); link.DisplayName = display; link.Source = new Uri(source, System.UriKind.Relative); tab.Links.Add(link); }
private void OnLoaded(object sender, RoutedEventArgs routedEventArgs) { KListe = UIHelper.FindVisualChildByName <ModernTab>(Application.Current.MainWindow, "mt_Kurse"); Test.Text = KListe.SelectedSource.OriginalString.Split(Char.Parse("=")).Last(); }