18 instantiations of FontFamily
PresentationCore (11)
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (2)
803fontFamilyList[i++] = new FontFamily(fontFamilyBaseUri, friendlyName); 849return new FontFamily(fontFamilyBaseUri, friendlyName);
Core\CSharp\MS\Internal\FontFace\PhysicalFontFamily.cs (1)
482return new TypefaceCollection(new FontFamily(familyIdentifier), _family);
Core\CSharp\MS\Internal\Shaping\CompositeFontFamily.cs (1)
277return new TypefaceCollection(new FontFamily(familyIdentifier), FamilyTypefaces);
Core\CSharp\MS\Internal\Shaping\TypefaceMap.cs (1)
761new FontFamily[] { new FontFamily(baseUri, familyName) },
Core\CSharp\MS\Internal\TextFormatting\TextMarkerSource.cs (1)
87new FontFamily("Wingdings"),
Core\CSharp\System\Windows\Media\FontFamily.cs (1)
70internal static FontFamily FontFamilyGlobalUI = new FontFamily(GlobalUI);
Core\CSharp\System\Windows\Media\FontFamilyConverter.cs (1)
129return new FontFamily(baseUri, s);
Core\CSharp\System\Windows\Media\FontFamilyValueSerializer.cs (1)
45return new FontFamily(value);
Core\CSharp\System\Windows\Media\FormattedText.cs (1)
403SetFontFamily(new FontFamily(fontFamily), startIndex, count);
Core\CSharp\System\Windows\Media\Typeface.cs (1)
63new FontFamily(typefaceName),
PresentationFramework (5)
src\Framework\MS\Internal\PtsHost\ListMarkerSourceInfo.cs (2)
86Typeface typeface = DynamicPropertyReader.GetModifiedTypeface(list, new FontFamily("Wingdings")); 140Typeface typeface = DynamicPropertyReader.GetModifiedTypeface(list, new FontFamily("Wingdings"));
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (1)
255element.SetValue(TextElement.FontFamilyProperty, new FontFamily(_fontFamily));
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4387bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.FontFamily(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1275case KnownElements.FontFamily: o = new System.Windows.Media.FontFamily(); break;
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (1)
54static readonly FontFamily flowElementCaptionFontFamily = new FontFamily("Tohoma");
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspectorFontAndColorDictionary.cs (1)
52Add(keyValuePair.Key, new FontFamily(drawingFontFamily.Name));
148 references to FontFamily
PresentationCore (63)
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (5)
790internal FontFamily[] GetFontFamilies(Uri fontFamilyBaseUri, string fontFamilyLocationReference) 792FontFamily[] fontFamilyList = new FontFamily[FamilyCount]; 806FontFamily fontFamily; 835private FontFamily CreateFontFamily(CompositeFontFamily compositeFontFamily, Uri fontFamilyBaseUri, string fontFamilyLocationReference)
Core\CSharp\MS\Internal\FontFace\TypefaceCollection.cs (3)
31private FontFamily _fontFamily; 37public TypefaceCollection(FontFamily fontFamily, Text.TextInterface.FontFamily family) 44public TypefaceCollection(FontFamily fontFamily, FamilyTypefaceCollection familyTypefaceCollection)
Core\CSharp\MS\Internal\Shaping\CompositeFontFamily.cs (4)
28using FontFamily = System.Windows.Media.FontFamily; 382_firstFontFamily = FontFamily.FindFontFamilyFromFriendlyNameList(_fontInfo.FamilyMaps[0].Target); 386_firstFontFamily = FontFamily.LookupFontFamily(FontFamily.NullFontFamilyCanonicalName);
Core\CSharp\MS\Internal\Shaping\TypefaceMap.cs (12)
42private FontFamily[] _fontFamilies; 56FontFamily fontFamily, 57FontFamily fallbackFontFamily, 67new FontFamily[] { fontFamily } 68: new FontFamily[] { fontFamily, fallbackFontFamily }; 697fontFamily = FontFamily.LookupFontFamily(FontFamily.NullFontFamilyCanonicalName); 761new FontFamily[] { new FontFamily(baseUri, familyName) }, 782FontFamily[] familyList, 870FontFamily[] familyList, 910targetFamily = FontFamily.LookupFontFamilyAndFace(canonicalFamilyReference, ref canonicalStyle, ref canonicalWeight, ref canonicalStretch); 972targetFamily = FontFamily.LookupFontFamilyAndFace(canonicalFamilyReference, ref canonicalStyle, ref canonicalWeight, ref canonicalStretch);
Core\CSharp\System\Windows\Media\FontFamily.cs (3)
70internal static FontFamily FontFamilyGlobalUI = new FontFamily(GlobalUI); 302FontFamily f = o as FontFamily;
Core\CSharp\System\Windows\Media\FontFamilyConverter.cs (6)
64FontFamily fontFamily = context.Instance as FontFamily; 79else if (destinationType == typeof(FontFamily)) 144FontFamily fontFamily = value as FontFamily; 219name = FontFamily.GlobalUI;
Core\CSharp\System\Windows\Media\FontFamilyValueSerializer.cs (4)
53FontFamily fontFamily = value as FontFamily; 66FontFamily fontFamily = value as FontFamily;
Core\CSharp\System\Windows\Media\Fonts.cs (12)
56public static ICollection<FontFamily> GetFontFamilies(string location) 74public static ICollection<FontFamily> GetFontFamilies(Uri baseUri) 98public static ICollection<FontFamily> GetFontFamilies(Uri baseUri, string location) 211public static ICollection<FontFamily> SystemFontFamilies 257private static ICollection<FontFamily> CreateFamilyCollection( 271FontFamily[] fontFamilyList = familyCollection.GetFontFamilies(fontFamilyBaseUri, fontFamilyLocationReference); 273return Array.AsReadOnly<FontFamily>(fontFamilyList); 290private static ICollection<FontFamily> CreateDefaultFamilyCollection() 311private IEnumerable<FontFamily> _families; 313public TypefaceCollection(IEnumerable<FontFamily> families) 398foreach (FontFamily family in _families) 429private static readonly ICollection<FontFamily> _defaultFontCollection = CreateDefaultFamilyCollection();
Core\CSharp\System\Windows\Media\FormattedText.cs (2)
410public void SetFontFamily(FontFamily fontFamily) 421public void SetFontFamily(FontFamily fontFamily, int startIndex, int count)
Core\CSharp\System\Windows\Media\Typeface.cs (12)
40private FontFamily _fontFamily; 48private FontFamily _fallbackFontFamily; 80FontFamily fontFamily, 90FontFamily.FontFamilyGlobalUI 105FontFamily fontFamily, 109FontFamily fallbackFontFamily 129public FontFamily FontFamily 202internal FontFamily FallbackFontFamily 711internal bool CompareFallbackFontFamily(FontFamily fallbackFontFamily) 758FontFamily sourceFontFamily = FontFamily; 781firstFontFamily = FontFamily.LookupFontFamily(FontFamily.NullFontFamilyCanonicalName);
PresentationFramework (78)
src\Framework\MS\Internal\PtsHost\FigureHelper.cs (2)
241FontFamily pageFontFamily = (FontFamily)structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty);
src\Framework\MS\Internal\PtsHost\PtsHelper.cs (5)
877FontFamily pageFontFamily = (FontFamily)structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty); 907FontFamily pageFontFamily, 948FontFamily pageFontFamily, 1003FontFamily pageFontFamily,
src\Framework\MS\Internal\PtsHost\Section.cs (4)
229FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty); 377FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty);
src\Framework\MS\Internal\PtsHost\SubpageParagraph.cs (6)
223FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty); 409FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty); 578FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty);
src\Framework\MS\Internal\Text\DynamicPropertyReader.cs (5)
49FontFamily fontFamily = (FontFamily) element.GetValue(TextElement.FontFamilyProperty); 57internal static Typeface GetModifiedTypeface(DependencyObject element, FontFamily fontFamily) 216FontFamily fontFamily = (FontFamily)d.GetValue(TextElement.FontFamilyProperty);
src\Framework\System\Windows\Controls\AccessText.cs (2)
164public FontFamily FontFamily 166get { return (FontFamily) GetValue(FontFamilyProperty); }
src\Framework\System\Windows\Controls\Control.cs (2)
181public FontFamily FontFamily 183get { return (FontFamily) GetValue(FontFamilyProperty); }
src\Framework\System\Windows\Controls\DataGridTextColumn.cs (2)
310public FontFamily FontFamily 312get { return (FontFamily)GetValue(FontFamilyProperty); }
src\Framework\System\Windows\Controls\Page.cs (2)
489public FontFamily FontFamily 491get { return (FontFamily) GetValue(FontFamilyProperty); }
src\Framework\System\Windows\Controls\StickyNote.cs (3)
354typeof(FontFamily), 363public FontFamily CaptionFontFamily 365get { return (FontFamily) GetValue(CaptionFontFamilyProperty); }
src\Framework\System\Windows\Controls\TextBlock.cs (5)
663public FontFamily FontFamily 665get { return (FontFamily) GetValue(FontFamilyProperty); } 674public static void SetFontFamily(DependencyObject element, FontFamily value) 688public static FontFamily GetFontFamily(DependencyObject element) 695return (FontFamily)element.GetValue(FontFamilyProperty);
src\Framework\System\Windows\Controls\TextBox.cs (2)
1871FontFamily fontFamily = (FontFamily)this.GetValue(FontFamilyProperty);
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (2)
171return GetFontFamilyName((FontFamily)tp.GetValue(TextElement.FontFamilyProperty), tp); 1276private static string GetFontFamilyName(FontFamily fontFamily, ITextPointer context)
src\Framework\System\Windows\Documents\FlowDocument.cs (2)
217public FontFamily FontFamily 219get { return (FontFamily) GetValue(FontFamilyProperty); }
src\Framework\System\Windows\Documents\TextElement.cs (8)
467typeof(FontFamily), 481public FontFamily FontFamily 483get { return (FontFamily) GetValue(FontFamilyProperty); } 492public static void SetFontFamily(DependencyObject element, FontFamily value) 506public static FontFamily GetFontFamily(DependencyObject element) 513return (FontFamily)element.GetValue(FontFamilyProperty); 1646FontFamily value = o as FontFamily;
src\Framework\System\Windows\Documents\TextSchema.cs (5)
638else if (value1 is FontFamily) 640FontFamily fontFamily1 = (FontFamily)value1; 641FontFamily fontFamily2 = (FontFamily)value2;
src\Framework\System\windows\Documents\TextSelection.cs (2)
2243FontFamily fontFamily = (FontFamily)currentTextSelection.GetPropertyValue(TextElement.FontFamilyProperty);
src\Framework\System\Windows\Documents\TextStore.cs (4)
723(FontFamily)UiScope.GetValue(TextElement.FontFamilyProperty), 743(FontFamily)position.GetValue(TextElement.FontFamilyProperty), 2626private static string GetFontFamilyName(FontFamily fontFamily, XmlLanguage language) 2658private void PrepareAttributes(InputScope inputScope, double fontSize, FontFamily fontFamily, XmlLanguage language, Visual visual, int count, Guid[] filterAttributes)
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
306case 214: t = () => typeof(FontFamily); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4385typeof(System.Windows.Media.FontFamily),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5758case KnownElements.FontFamily: t = typeof(System.Windows.Media.FontFamily); break;
src\Framework\System\Windows\SystemFonts.cs (12)
36public static FontFamily IconFontFamily 114public static FontFamily CaptionFontFamily 194public static FontFamily SmallCaptionFontFamily 274public static FontFamily MenuFontFamily 351public static FontFamily StatusFontFamily 432public static FontFamily MessageFontFamily 1047private static FontFamily _iconFontFamily; 1048private static FontFamily _messageFontFamily; 1049private static FontFamily _statusFontFamily; 1050private static FontFamily _menuFontFamily; 1051private static FontFamily _smallCaptionFontFamily; 1052private static FontFamily _captionFontFamily;
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (2)
54static readonly FontFamily flowElementCaptionFontFamily = new FontFamily("Tohoma"); 155public static FontFamily FlowNodeCaptionFontFamily
System.Activities.Presentation (5)
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (2)
2061FontFamily fontFamily = values.OfType<FontFamily>().FirstOrDefault();
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerColors.cs (3)
536public static FontFamily FontFamily 591private static FontFamily GetFontFamily(string key) 593return (FontFamily)GetFontOrColor(key, SystemFonts.MessageFontFamily, SystemFonts.MessageFontFamily);