17 instantiations of FontFamily
PresentationCore (11)
MS\Internal\FontCache\FamilyCollection.cs (2)
623fontFamilyList[i++] = new FontFamily(fontFamilyBaseUri, friendlyName); 669return new FontFamily(fontFamilyBaseUri, friendlyName);
MS\Internal\FontFace\PhysicalFontFamily.cs (1)
438return new TypefaceCollection(new FontFamily(familyIdentifier), _family);
MS\Internal\Shaping\CompositeFontFamily.cs (1)
260return new TypefaceCollection(new FontFamily(familyIdentifier), FamilyTypefaces);
MS\Internal\Shaping\TypefaceMap.cs (1)
744new FontFamily[] { new FontFamily(baseUri, familyName) },
MS\Internal\TextFormatting\TextMarkerSource.cs (1)
78new FontFamily("Wingdings"),
System\Windows\Media\FontFamily.cs (1)
46internal static FontFamily FontFamilyGlobalUI = new FontFamily(GlobalUI);
System\Windows\Media\FontFamilyConverter.cs (1)
112return new FontFamily(baseUri, s);
System\Windows\Media\FontFamilyValueSerializer.cs (1)
42return new FontFamily(value);
System\Windows\Media\FormattedText.cs (1)
376SetFontFamily(new FontFamily(fontFamily), startIndex, count);
System\Windows\Media\Typeface.cs (1)
51new FontFamily(typefaceName),
PresentationFramework (5)
MS\Internal\PtsHost\ListMarkerSourceInfo.cs (2)
81Typeface typeface = DynamicPropertyReader.GetModifiedTypeface(list, new FontFamily("Wingdings")); 134Typeface typeface = DynamicPropertyReader.GetModifiedTypeface(list, new FontFamily("Wingdings"));
System\Windows\Documents\FixedSOMTextRun.cs (1)
246element.SetValue(TextElement.FontFamilyProperty, new FontFamily(_fontFamily));
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4389bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.FontFamily(); };
System\Windows\Markup\KnownTypes.cs (1)
1274case KnownElements.FontFamily: o = new System.Windows.Media.FontFamily(); break;
WindowsFormsIntegration (1)
System\Windows\Integration\Convert.cs (1)
221return new SWM.FontFamily(sdFamily.Name);
146 references to FontFamily
PresentationCore (63)
MS\Internal\FontCache\FamilyCollection.cs (5)
610internal FontFamily[] GetFontFamilies(Uri fontFamilyBaseUri, string fontFamilyLocationReference) 612FontFamily[] fontFamilyList = new FontFamily[FamilyCount]; 626FontFamily fontFamily; 655private FontFamily CreateFontFamily(CompositeFontFamily compositeFontFamily, Uri fontFamilyBaseUri, string fontFamilyLocationReference)
MS\Internal\FontFace\TypefaceCollection.cs (3)
14private FontFamily _fontFamily; 20public TypefaceCollection(FontFamily fontFamily, Text.TextInterface.FontFamily family) 27public TypefaceCollection(FontFamily fontFamily, FamilyTypefaceCollection familyTypefaceCollection)
MS\Internal\Shaping\CompositeFontFamily.cs (4)
19using FontFamily = System.Windows.Media.FontFamily; 365_firstFontFamily = FontFamily.FindFontFamilyFromFriendlyNameList(_fontInfo.FamilyMaps[0].Target); 369_firstFontFamily = FontFamily.LookupFontFamily(FontFamily.NullFontFamilyCanonicalName);
MS\Internal\Shaping\TypefaceMap.cs (12)
32private FontFamily[] _fontFamilies; 46FontFamily fontFamily, 47FontFamily fallbackFontFamily, 57new FontFamily[] { fontFamily } 58: new FontFamily[] { fontFamily, fallbackFontFamily }; 680fontFamily = FontFamily.LookupFontFamily(FontFamily.NullFontFamilyCanonicalName); 744new FontFamily[] { new FontFamily(baseUri, familyName) }, 765FontFamily[] familyList, 853FontFamily[] familyList, 893targetFamily = FontFamily.LookupFontFamilyAndFace(canonicalFamilyReference, ref canonicalStyle, ref canonicalWeight, ref canonicalStretch); 955targetFamily = FontFamily.LookupFontFamilyAndFace(canonicalFamilyReference, ref canonicalStyle, ref canonicalWeight, ref canonicalStretch);
System\Windows\Media\FontFamily.cs (3)
46internal static FontFamily FontFamilyGlobalUI = new FontFamily(GlobalUI); 277FontFamily f = o as FontFamily;
System\Windows\Media\FontFamilyConverter.cs (6)
47FontFamily fontFamily = context.Instance as FontFamily; 62else if (destinationType == typeof(FontFamily)) 124FontFamily fontFamily = value as FontFamily; 196name = FontFamily.GlobalUI;
System\Windows\Media\FontFamilyValueSerializer.cs (4)
50FontFamily fontFamily = value as FontFamily; 63FontFamily fontFamily = value as FontFamily;
System\Windows\Media\Fonts.cs (12)
41public static ICollection<FontFamily> GetFontFamilies(string location) 58public static ICollection<FontFamily> GetFontFamilies(Uri baseUri) 81public static ICollection<FontFamily> GetFontFamilies(Uri baseUri, string location) 192public static ICollection<FontFamily> SystemFontFamilies 232private static ICollection<FontFamily> CreateFamilyCollection( 246FontFamily[] fontFamilyList = familyCollection.GetFontFamilies(fontFamilyBaseUri, fontFamilyLocationReference); 248return Array.AsReadOnly<FontFamily>(fontFamilyList); 260private static ICollection<FontFamily> CreateDefaultFamilyCollection() 281private IEnumerable<FontFamily> _families; 283public TypefaceCollection(IEnumerable<FontFamily> families) 363foreach (FontFamily family in _families) 394private static readonly ICollection<FontFamily> _defaultFontCollection = CreateDefaultFamilyCollection();
System\Windows\Media\FormattedText.cs (2)
383public void SetFontFamily(FontFamily fontFamily) 394public void SetFontFamily(FontFamily fontFamily, int startIndex, int count)
System\Windows\Media\Typeface.cs (12)
28private FontFamily _fontFamily; 36private FontFamily _fallbackFontFamily; 68FontFamily fontFamily, 78FontFamily.FontFamilyGlobalUI 93FontFamily fontFamily, 97FontFamily fallbackFontFamily 114public FontFamily FontFamily 187internal FontFamily FallbackFontFamily 696internal bool CompareFallbackFontFamily(FontFamily fallbackFontFamily) 743FontFamily sourceFontFamily = FontFamily; 766firstFontFamily = FontFamily.LookupFontFamily(FontFamily.NullFontFamilyCanonicalName);
PresentationFramework (78)
MS\Internal\PtsHost\FigureHelper.cs (2)
236FontFamily pageFontFamily = (FontFamily)structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty);
MS\Internal\PtsHost\PtsHelper.cs (5)
771FontFamily pageFontFamily = (FontFamily)structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty); 801FontFamily pageFontFamily, 842FontFamily pageFontFamily, 893FontFamily pageFontFamily,
MS\Internal\PtsHost\Section.cs (4)
218FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty); 360FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty);
MS\Internal\PtsHost\SubpageParagraph.cs (6)
205FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty); 379FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty); 539FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty);
MS\Internal\Text\DynamicPropertyReader.cs (5)
40FontFamily fontFamily = (FontFamily) element.GetValue(TextElement.FontFamilyProperty); 48internal static Typeface GetModifiedTypeface(DependencyObject element, FontFamily fontFamily) 207FontFamily fontFamily = (FontFamily)d.GetValue(TextElement.FontFamilyProperty);
System\Windows\Controls\AccessText.cs (2)
162public FontFamily FontFamily 164get { return (FontFamily) GetValue(FontFamilyProperty); }
System\Windows\Controls\Control.cs (2)
171public FontFamily FontFamily 173get { return (FontFamily) GetValue(FontFamilyProperty); }
System\Windows\Controls\DataGridTextColumn.cs (2)
306public FontFamily FontFamily 308get { return (FontFamily)GetValue(FontFamilyProperty); }
System\Windows\Controls\Page.cs (2)
474public FontFamily FontFamily 476get { return (FontFamily) GetValue(FontFamilyProperty); }
System\Windows\Controls\StickyNote.cs (3)
328typeof(FontFamily), 337public FontFamily CaptionFontFamily 339get { return (FontFamily) GetValue(CaptionFontFamilyProperty); }
System\Windows\Controls\TextBlock.cs (5)
629public FontFamily FontFamily 631get { return (FontFamily) GetValue(FontFamilyProperty); } 640public static void SetFontFamily(DependencyObject element, FontFamily value) 651public static FontFamily GetFontFamily(DependencyObject element) 655return (FontFamily)element.GetValue(FontFamilyProperty);
System\Windows\Controls\TextBox.cs (2)
1871FontFamily fontFamily = (FontFamily)this.GetValue(FontFamilyProperty);
System\Windows\Controls\TextRangeAdaptor.cs (2)
161return GetFontFamilyName((FontFamily)tp.GetValue(TextElement.FontFamilyProperty), tp); 1265private static string GetFontFamilyName(FontFamily fontFamily, ITextPointer context)
System\Windows\Documents\FlowDocument.cs (2)
209public FontFamily FontFamily 211get { return (FontFamily) GetValue(FontFamilyProperty); }
System\Windows\Documents\TextElement.cs (8)
461typeof(FontFamily), 475public FontFamily FontFamily 477get { return (FontFamily) GetValue(FontFamilyProperty); } 486public static void SetFontFamily(DependencyObject element, FontFamily value) 497public static FontFamily GetFontFamily(DependencyObject element) 501return (FontFamily)element.GetValue(FontFamilyProperty); 1594FontFamily value = o as FontFamily;
System\Windows\Documents\TextSchema.cs (5)
635else if (value1 is FontFamily) 637FontFamily fontFamily1 = (FontFamily)value1; 638FontFamily fontFamily2 = (FontFamily)value2;
System\windows\Documents\TextSelection.cs (2)
2232FontFamily fontFamily = (FontFamily)currentTextSelection.GetPropertyValue(TextElement.FontFamilyProperty);
System\Windows\Documents\TextStore.cs (4)
849(FontFamily)UiScope.GetValue(TextElement.FontFamilyProperty), 869(FontFamily)position.GetValue(TextElement.FontFamilyProperty), 2736private static string GetFontFamilyName(FontFamily fontFamily, XmlLanguage language) 2763private void PrepareAttributes(InputScope inputScope, double fontSize, FontFamily fontFamily, XmlLanguage language, Visual visual, int count, Guid[] filterAttributes)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
308case 214: t = () => typeof(FontFamily); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4387typeof(System.Windows.Media.FontFamily),
System\Windows\Markup\KnownTypes.cs (1)
5768case KnownElements.FontFamily: t = typeof(System.Windows.Media.FontFamily); break;
System\Windows\SystemFonts.cs (12)
31public static FontFamily IconFontFamily 109public static FontFamily CaptionFontFamily 189public static FontFamily SmallCaptionFontFamily 269public static FontFamily MenuFontFamily 346public static FontFamily StatusFontFamily 442public static FontFamily MessageFontFamily 1057private static FontFamily _iconFontFamily; 1058private static FontFamily _messageFontFamily; 1059private static FontFamily _statusFontFamily; 1060private static FontFamily _menuFontFamily; 1061private static FontFamily _smallCaptionFontFamily; 1062private static FontFamily _captionFontFamily;
WindowsFormsIntegration (5)
System\Windows\Integration\Convert.cs (1)
218internal static SWM.FontFamily ToSystemWindowsFontFamily(SD.FontFamily sdFamily)
System\Windows\Integration\WindowsFormsHost.cs (2)
621public SWM.FontFamily FontFamily 623get { return (SWM.FontFamily)GetValue(FontFamilyProperty); }
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (2)
137SWM.FontFamily family = value as SWM.FontFamily;