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