Exemplo n.º 1
0
 static void OpenInNewWindow(object s, RoutedEventArgs args)
 {
     if (s is FrameworkElement f && f.Tag is InstalledFont fnt)
     {
         _ = FontMapView.CreateNewViewForFontAsync(fnt, null, f.DataContext as CharacterRenderingOptions);
     }
 }
Exemplo n.º 2
0
 static void OpenInNewWindow(object s, RoutedEventArgs args)
 {
     if (s is FrameworkElement f && f.Tag is InstalledFont fnt)
     {
         _ = FontMapView.CreateNewViewForFontAsync(fnt);
     }
 }