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