19 instantiations of FontStretch
PresentationCore (17)
MS\Internal\FontCache\FamilyCollection.cs (1)
407fontStretch = new FontStretch((int)font.Stretch);
MS\Internal\FontFace\CompositeFontParser.cs (1)
653FontStretch fontStretch = new FontStretch();
MS\Internal\FontFace\PhysicalFontFamily.cs (1)
215_style = new MatchingStyle(new FontStyle((int)face.Style), new FontWeight((int)face.Weight), new FontStretch((int)face.Stretch));
MS\Internal\FontFace\TypefaceCollection.cs (1)
155return new Typeface(_typefaceCollection._fontFamily, new FontStyle((int)face.Style), new FontWeight((int)face.Weight), new FontStretch((int)face.Stretch));
System\Windows\FontStretch.cs (1)
43return new FontStretch(stretchValue);
System\Windows\FontStretchConverter.cs (1)
68FontStretch fontStretch = new FontStretch();
System\Windows\FontStretches.cs (10)
21public static FontStretch UltraCondensed { get { return new FontStretch(1); } } 26public static FontStretch ExtraCondensed { get { return new FontStretch(2); } } 31public static FontStretch Condensed { get { return new FontStretch(3); } } 36public static FontStretch SemiCondensed { get { return new FontStretch(4); } } 41public static FontStretch Normal { get { return new FontStretch(5); } } 46public static FontStretch Medium { get { return new FontStretch(5); } } 51public static FontStretch SemiExpanded { get { return new FontStretch(6); } } 56public static FontStretch Expanded { get { return new FontStretch(7); } } 61public static FontStretch ExtraExpanded { get { return new FontStretch(8); } } 66public static FontStretch UltraExpanded { get { return new FontStretch(9); } }
System\Windows\Media\GlyphTypeface.cs (1)
590return new FontStretch((int)_font.Stretch);
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4792DefaultConstructor = delegate () { return new System.Windows.FontStretch(); },
System\Windows\Markup\KnownTypes.cs (1)
1270case KnownElements.FontStretch: o = new System.Windows.FontStretch(); break;
107 references to FontStretch
PresentationCore (78)
MS\Internal\FontCache\CachedTypeface.cs (3)
24private FontStretch _canonicalStretch; 32FontStretch canonicalStretch, 59internal FontStretch CanonicalStretch
MS\Internal\FontCache\FamilyCollection.cs (1)
327ref FontStretch fontStretch
MS\Internal\FontFace\CompositeFontParser.cs (1)
653FontStretch fontStretch = new FontStretch();
MS\Internal\FontFace\FontDifferentiator.cs (2)
26FontStretch stretch) 39FontStretch fontStretch
MS\Internal\FontFace\IFontFamily.cs (2)
57FontStretch stretch 64IDeviceFont GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch);
MS\Internal\FontFace\MatchingStyle.cs (1)
32FontStretch stretch
MS\Internal\FontFace\PhysicalFontFamily.cs (4)
70FontStretch stretch 80IDeviceFont IFontFamily.GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch) 113FontStretch stretch 138FontStretch stretch,
MS\Internal\Shaping\CompositeFontFamily.cs (5)
195FontStretch stretch 213IDeviceFont IFontFamily.GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch) 380FontStretch stretch 399FontStretch stretch 433FontStretch stretch
MS\Internal\Shaping\CompositeTypefaceMetrics.cs (2)
33private FontStretch _stretch; 57FontStretch stretch
MS\Internal\Shaping\TypefaceMap.cs (5)
34private FontStretch _canonicalStretch; 49FontStretch canonicalStretch, 487FontStretch canonicalStretch, 870FontStretch canonicalStretch = _canonicalStretch; 979FontStretch canonicalStretch,
System\Windows\FontStretch.cs (18)
39public static FontStretch FromOpenTypeStretch(int stretchValue) 68public static int Compare(FontStretch left, FontStretch right) 79public static bool operator<(FontStretch left, FontStretch right) 90public static bool operator<=(FontStretch left, FontStretch right) 101public static bool operator>(FontStretch left, FontStretch right) 112public static bool operator>=(FontStretch left, FontStretch right) 124public static bool operator==(FontStretch left, FontStretch right) 136public static bool operator!=(FontStretch left, FontStretch right) 147public bool Equals(FontStretch obj) 160if (!(obj is FontStretch)) 162return this == (FontStretch)obj;
System\Windows\FontStretchConverter.cs (7)
68FontStretch fontStretch = new FontStretch(); 89if (destinationType != null && value is FontStretch) 93MethodInfo mi = typeof(FontStretch).GetMethod("FromOpenTypeStretch", new Type[]{typeof(int)}); 94FontStretch c = (FontStretch)value; 99FontStretch c = (FontStretch)value;
System\Windows\FontStretches.cs (12)
21public static FontStretch UltraCondensed { get { return new FontStretch(1); } } 26public static FontStretch ExtraCondensed { get { return new FontStretch(2); } } 31public static FontStretch Condensed { get { return new FontStretch(3); } } 36public static FontStretch SemiCondensed { get { return new FontStretch(4); } } 41public static FontStretch Normal { get { return new FontStretch(5); } } 46public static FontStretch Medium { get { return new FontStretch(5); } } 51public static FontStretch SemiExpanded { get { return new FontStretch(6); } } 56public static FontStretch Expanded { get { return new FontStretch(7); } } 61public static FontStretch ExtraExpanded { get { return new FontStretch(8); } } 66public static FontStretch UltraExpanded { get { return new FontStretch(9); } } 68internal static bool FontStretchStringToKnownStretch(string s, IFormatProvider provider, ref FontStretch fontStretch) 143fontStretch = FontStretch.FromOpenTypeStretch(stretchValue);
System\Windows\Media\FamilyTypeface.cs (2)
72public FontStretch Stretch 315private FontStretch _stretch;
System\Windows\Media\FontFamily.cs (4)
329FontStretch stretch = FontStretches.Normal; 411FontStretch stretch = FontStretches.Normal; 440ref FontStretch stretch 478ref FontStretch stretch
System\Windows\Media\FormattedText.cs (2)
703public void SetFontStretch(FontStretch stretch) 714public void SetFontStretch(FontStretch stretch, int startIndex, int count)
System\Windows\Media\GlyphTypeface.cs (1)
585public FontStretch Stretch
System\Windows\Media\Typeface.cs (6)
33private FontStretch _stretch; 70FontStretch stretch 95FontStretch stretch, 140public FontStretch Stretch 327internal FontStretch CanonicalStretch 733FontStretch canonicalStretch = _stretch;
PresentationFramework (29)
MS\Internal\Text\DynamicPropertyReader.cs (4)
42FontStretch fontStretch = (FontStretch) element.GetValue(TextElement.FontStretchProperty); 53FontStretch fontStretch = (FontStretch) element.GetValue(TextElement.FontStretchProperty);
System\Windows\Controls\AccessText.cs (2)
206public FontStretch FontStretch 208get { return (FontStretch) GetValue(FontStretchProperty); }
System\Windows\Controls\Control.cs (2)
219public FontStretch FontStretch 221get { return (FontStretch) GetValue(FontStretchProperty); }
System\Windows\Controls\StickyNote.cs (3)
356typeof(FontStretch), 365public FontStretch CaptionFontStretch 367get { return (FontStretch) GetValue(CaptionFontStretchProperty); }
System\Windows\Controls\TextBlock.cs (5)
743public FontStretch FontStretch 745get { return (FontStretch) GetValue(FontStretchProperty); } 754public static void SetFontStretch(DependencyObject element, FontStretch value) 765public static FontStretch GetFontStretch(DependencyObject element) 769return (FontStretch)element.GetValue(FontStretchProperty);
System\Windows\Documents\FixedSOMTextRun.cs (2)
363public FontStretch FontStretch 429private FontStretch _fontStretch;
System\Windows\Documents\FlowDocument.cs (2)
253public FontStretch FontStretch 255get { return (FontStretch) GetValue(FontStretchProperty); }
System\Windows\Documents\TextElement.cs (6)
586typeof(FontStretch), 595public FontStretch FontStretch 597get { return (FontStretch) GetValue(FontStretchProperty); } 606public static void SetFontStretch(DependencyObject element, FontStretch value) 617public static FontStretch GetFontStretch(DependencyObject element) 621return (FontStretch)element.GetValue(FontStretchProperty);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
310case 217: t = () => typeof(FontStretch); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4789typeof(System.Windows.FontStretch),
System\Windows\Markup\KnownTypes.cs (1)
5764case KnownElements.FontStretch: t = typeof(System.Windows.FontStretch); break;