11 instantiations of Typeface
PresentationCore (7)
Core\CSharp\MS\Internal\FontFace\TypefaceCollection.cs (2)
187return new Typeface(_typefaceCollection._fontFamily, new FontStyle((int)face.Style), new FontWeight((int)face.Weight), new FontStretch((int)face.Stretch)); 192return new Typeface(_typefaceCollection._fontFamily, familyTypeface.Style, familyTypeface.Weight, familyTypeface.Stretch);
Core\CSharp\MS\Internal\TextFormatting\TextMarkerSource.cs (1)
86new Typeface(
Core\CSharp\System\Windows\Media\FormattedText.cs (4)
444new Typeface(fontFamily, oldTypeface.Style, oldTypeface.Weight, oldTypeface.Stretch), 670new Typeface(oldTypeface.FontFamily, oldTypeface.Style, weight, oldTypeface.Stretch), 722new Typeface(oldTypeface.FontFamily, style, oldTypeface.Weight, oldTypeface.Stretch), 775new Typeface(oldTypeface.FontFamily, oldTypeface.Style, oldTypeface.Weight, stretch),
PresentationFramework (3)
src\Framework\MS\Internal\Text\DynamicPropertyReader.cs (2)
54return new Typeface(fontFamily, fontStyle, fontWeight, fontStretch); 65return new Typeface(fontFamily, fontStyle, fontWeight, fontStretch);
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (1)
3546Typeface typeface = new Typeface(typefaceName);
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (1)
56static readonly Typeface flowElementCaptionTypeface = new Typeface("Tohoma");
72 references to Typeface
PresentationCore (62)
Core\CSharp\MS\Internal\FontFace\IFontFamily.cs (1)
111ICollection<Typeface> GetTypefaces(FontFamilyIdentifier familyIdentifier);
Core\CSharp\MS\Internal\FontFace\PhysicalFontFamily.cs (1)
480ICollection<Typeface> IFontFamily.GetTypefaces(FontFamilyIdentifier familyIdentifier)
Core\CSharp\MS\Internal\FontFace\TypefaceCollection.cs (11)
29internal unsafe struct TypefaceCollection : ICollection<Typeface> 53public void Add(Typeface item) 63public bool Contains(Typeface item) 65foreach (Typeface t in this) 73public void CopyTo(Typeface[] array, int arrayIndex) 93foreach (Typeface t in this) 128public bool Remove(Typeface item) 137public IEnumerator<Typeface> GetEnumerator() 153private struct Enumerator : IEnumerator<Typeface> 179public Typeface Current 211return ((IEnumerator<Typeface>)this).Current;
Core\CSharp\MS\Internal\Shaping\CompositeFontFamily.cs (1)
275ICollection<Typeface> IFontFamily.GetTypefaces(FontFamilyIdentifier familyIdentifier)
Core\CSharp\MS\Internal\Shaping\GlyphingCache.cs (4)
38private SizeLimitedCache<Typeface, TypefaceMap> _sizeLimitedCache; 42_sizeLimitedCache = new SizeLimitedCache<Typeface, TypefaceMap>(capacity); 46Typeface typeface, 97private TypefaceMap Lookup(Typeface key)
Core\CSharp\MS\Internal\TextFormatting\GenericTextProperties.cs (3)
43Typeface typeface, 117public override Typeface Typeface 209private Typeface _typeface;
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
491Typeface typeface = store.Pap.DefaultTypeface;
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1383internal Typeface Typeface
Core\CSharp\MS\Internal\TextFormatting\TextMarkerSource.cs (1)
82Typeface defaultTypeface = defaultRunProperties.Typeface;
Core\CSharp\MS\Internal\TextFormatting\TextProperties.cs (1)
131internal Typeface DefaultTypeface
Core\CSharp\MS\Internal\TextFormatting\TextShapeableCharacters.cs (1)
198Typeface typeface = _properties.Typeface;
Core\CSharp\System\Windows\Media\FamilyTypeface.cs (1)
46internal FamilyTypeface(Typeface face)
Core\CSharp\System\Windows\Media\FamilyTypefaceCollection.cs (3)
31private ICollection<Typeface> _innerList; 48internal FamilyTypefaceCollection(ICollection<Typeface> innerList) 297foreach (Typeface face in _innerList)
Core\CSharp\System\Windows\Media\FontFamily.cs (1)
272public ICollection<Typeface> GetTypefaces()
Core\CSharp\System\Windows\Media\Fonts.cs (15)
151public static ICollection<Typeface> GetTypefaces(string location) 169public static ICollection<Typeface> GetTypefaces(Uri baseUri) 192public static ICollection<Typeface> GetTypefaces(Uri baseUri, string location) 223public static ICollection<Typeface> SystemTypefaces 309private struct TypefaceCollection : ICollection<Typeface> 320public void Add(Typeface item) 330public bool Contains(Typeface item) 332foreach (Typeface t in this) 340public void CopyTo(Typeface[] array, int arrayIndex) 360foreach (Typeface t in this) 371foreach (Typeface t in this) 387public bool Remove(Typeface item) 396public IEnumerator<Typeface> GetEnumerator() 400foreach (Typeface typeface in family.GetTypefaces()) 413return ((IEnumerable<Typeface>)this).GetEnumerator();
Core\CSharp\System\Windows\Media\FormattedText.cs (13)
56Typeface typeface, 86Typeface typeface, 120Typeface typeface, 152Typeface typeface, 186Typeface typeface, 211Typeface typeface, 221private void InitFormattedText(string textToFormat, CultureInfo culture, FlowDirection flowDirection, Typeface typeface, 439Typeface oldTypeface = runProps.Typeface; 665Typeface oldTypeface = runProps.Typeface; 717Typeface oldTypeface = runProps.Typeface; 770Typeface oldTypeface = runProps.Typeface; 797public void SetFontTypeface(Typeface typeface) 808public void SetFontTypeface(Typeface typeface, int startIndex, int count)
Core\CSharp\System\Windows\Media\TextFormatting\TextRunProperties.cs (1)
37public abstract Typeface Typeface
Core\CSharp\System\Windows\Media\Typeface.cs (2)
699Typeface t = o as Typeface;
PresentationFramework (8)
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\MS\Internal\Text\DynamicPropertyReader.cs (2)
45internal static Typeface GetTypeface(DependencyObject element) 57internal static Typeface GetModifiedTypeface(DependencyObject element, FontFamily fontFamily)
src\Framework\MS\Internal\Text\TextProperties.cs (2)
41public override Typeface Typeface { get { return _typeface; } } 329private Typeface _typeface;
src\Framework\MS\Internal\Text\TextSpanModifier.cs (1)
195public override Typeface Typeface
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (1)
3546Typeface typeface = new Typeface(typefaceName);
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (2)
56static readonly Typeface flowElementCaptionTypeface = new Typeface("Tohoma"); 165public static Typeface FlowElementCaptionTypeface