19 instantiations of FontStretch
PresentationCore (17)
MS\Internal\FontCache\FamilyCollection.cs (1)
408fontStretch = new FontStretch((int)font.Stretch);
MS\Internal\FontFace\CompositeFontParser.cs (1)
654FontStretch fontStretch = new FontStretch();
MS\Internal\FontFace\PhysicalFontFamily.cs (1)
216_style = new MatchingStyle(new FontStyle((int)face.Style), new FontWeight((int)face.Weight), new FontStretch((int)face.Stretch));
MS\Internal\FontFace\TypefaceCollection.cs (1)
156return new Typeface(_typefaceCollection._fontFamily, new FontStyle((int)face.Style), new FontWeight((int)face.Weight), new FontStretch((int)face.Stretch));
System\Windows\FontStretch.cs (1)
44return new FontStretch(stretchValue);
System\Windows\FontStretchConverter.cs (1)
69FontStretch fontStretch = new FontStretch();
System\Windows\FontStretches.cs (10)
22public static FontStretch UltraCondensed { get { return new FontStretch(1); } } 27public static FontStretch ExtraCondensed { get { return new FontStretch(2); } } 32public static FontStretch Condensed { get { return new FontStretch(3); } } 37public static FontStretch SemiCondensed { get { return new FontStretch(4); } } 42public static FontStretch Normal { get { return new FontStretch(5); } } 47public static FontStretch Medium { get { return new FontStretch(5); } } 52public static FontStretch SemiExpanded { get { return new FontStretch(6); } } 57public static FontStretch Expanded { get { return new FontStretch(7); } } 62public static FontStretch ExtraExpanded { get { return new FontStretch(8); } } 67public static FontStretch UltraExpanded { get { return new FontStretch(9); } }
System\Windows\Media\GlyphTypeface.cs (1)
591return new FontStretch((int)_font.Stretch);
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4793DefaultConstructor = delegate () { return new System.Windows.FontStretch(); },
System\Windows\Markup\KnownTypes.cs (1)
1271case KnownElements.FontStretch: o = new System.Windows.FontStretch(); break;
107 references to FontStretch
PresentationCore (78)
MS\Internal\FontCache\CachedTypeface.cs (3)
25private FontStretch _canonicalStretch; 33FontStretch canonicalStretch, 60internal FontStretch CanonicalStretch
MS\Internal\FontCache\FamilyCollection.cs (1)
328ref FontStretch fontStretch
MS\Internal\FontFace\CompositeFontParser.cs (1)
654FontStretch fontStretch = new FontStretch();
MS\Internal\FontFace\FontDifferentiator.cs (2)
27FontStretch stretch) 40FontStretch fontStretch
MS\Internal\FontFace\IFontFamily.cs (2)
58FontStretch stretch 65IDeviceFont GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch);
MS\Internal\FontFace\MatchingStyle.cs (1)
33FontStretch stretch
MS\Internal\FontFace\PhysicalFontFamily.cs (4)
71FontStretch stretch 81IDeviceFont IFontFamily.GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch) 114FontStretch stretch 139FontStretch stretch,
MS\Internal\Shaping\CompositeFontFamily.cs (5)
196FontStretch stretch 214IDeviceFont IFontFamily.GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch) 381FontStretch stretch 400FontStretch stretch 434FontStretch stretch
MS\Internal\Shaping\CompositeTypefaceMetrics.cs (2)
34private FontStretch _stretch; 58FontStretch stretch
MS\Internal\Shaping\TypefaceMap.cs (5)
35private FontStretch _canonicalStretch; 50FontStretch canonicalStretch, 488FontStretch canonicalStretch, 871FontStretch canonicalStretch = _canonicalStretch; 980FontStretch canonicalStretch,
System\Windows\FontStretch.cs (18)
40public static FontStretch FromOpenTypeStretch(int stretchValue) 69public static int Compare(FontStretch left, FontStretch right) 80public static bool operator<(FontStretch left, FontStretch right) 91public static bool operator<=(FontStretch left, FontStretch right) 102public static bool operator>(FontStretch left, FontStretch right) 113public static bool operator>=(FontStretch left, FontStretch right) 125public static bool operator==(FontStretch left, FontStretch right) 137public static bool operator!=(FontStretch left, FontStretch right) 148public bool Equals(FontStretch obj) 161if (!(obj is FontStretch)) 163return this == (FontStretch)obj;
System\Windows\FontStretchConverter.cs (7)
69FontStretch fontStretch = new FontStretch(); 90if (destinationType != null && value is FontStretch) 94MethodInfo mi = typeof(FontStretch).GetMethod("FromOpenTypeStretch", new Type[]{typeof(int)}); 95FontStretch c = (FontStretch)value; 100FontStretch c = (FontStretch)value;
System\Windows\FontStretches.cs (12)
22public static FontStretch UltraCondensed { get { return new FontStretch(1); } } 27public static FontStretch ExtraCondensed { get { return new FontStretch(2); } } 32public static FontStretch Condensed { get { return new FontStretch(3); } } 37public static FontStretch SemiCondensed { get { return new FontStretch(4); } } 42public static FontStretch Normal { get { return new FontStretch(5); } } 47public static FontStretch Medium { get { return new FontStretch(5); } } 52public static FontStretch SemiExpanded { get { return new FontStretch(6); } } 57public static FontStretch Expanded { get { return new FontStretch(7); } } 62public static FontStretch ExtraExpanded { get { return new FontStretch(8); } } 67public static FontStretch UltraExpanded { get { return new FontStretch(9); } } 69internal static bool FontStretchStringToKnownStretch(string s, IFormatProvider provider, ref FontStretch fontStretch) 144fontStretch = FontStretch.FromOpenTypeStretch(stretchValue);
System\Windows\Media\FamilyTypeface.cs (2)
73public FontStretch Stretch 316private FontStretch _stretch;
System\Windows\Media\FontFamily.cs (4)
330FontStretch stretch = FontStretches.Normal; 412FontStretch stretch = FontStretches.Normal; 441ref FontStretch stretch 479ref FontStretch stretch
System\Windows\Media\FormattedText.cs (2)
704public void SetFontStretch(FontStretch stretch) 715public void SetFontStretch(FontStretch stretch, int startIndex, int count)
System\Windows\Media\GlyphTypeface.cs (1)
586public FontStretch Stretch
System\Windows\Media\Typeface.cs (6)
34private FontStretch _stretch; 71FontStretch stretch 96FontStretch stretch, 141public FontStretch Stretch 328internal FontStretch CanonicalStretch 734FontStretch canonicalStretch = _stretch;
PresentationFramework (29)
MS\Internal\Text\DynamicPropertyReader.cs (4)
43FontStretch fontStretch = (FontStretch) element.GetValue(TextElement.FontStretchProperty); 54FontStretch fontStretch = (FontStretch) element.GetValue(TextElement.FontStretchProperty);
System\Windows\Controls\AccessText.cs (2)
207public FontStretch FontStretch 209get { return (FontStretch) GetValue(FontStretchProperty); }
System\Windows\Controls\Control.cs (2)
220public FontStretch FontStretch 222get { return (FontStretch) GetValue(FontStretchProperty); }
System\Windows\Controls\StickyNote.cs (3)
357typeof(FontStretch), 366public FontStretch CaptionFontStretch 368get { return (FontStretch) GetValue(CaptionFontStretchProperty); }
System\Windows\Controls\TextBlock.cs (5)
744public FontStretch FontStretch 746get { return (FontStretch) GetValue(FontStretchProperty); } 755public static void SetFontStretch(DependencyObject element, FontStretch value) 766public static FontStretch GetFontStretch(DependencyObject element) 770return (FontStretch)element.GetValue(FontStretchProperty);
System\Windows\Documents\FixedSOMTextRun.cs (2)
364public FontStretch FontStretch 430private FontStretch _fontStretch;
System\Windows\Documents\FlowDocument.cs (2)
254public FontStretch FontStretch 256get { return (FontStretch) GetValue(FontStretchProperty); }
System\Windows\Documents\TextElement.cs (6)
587typeof(FontStretch), 596public FontStretch FontStretch 598get { return (FontStretch) GetValue(FontStretchProperty); } 607public static void SetFontStretch(DependencyObject element, FontStretch value) 618public static FontStretch GetFontStretch(DependencyObject element) 622return (FontStretch)element.GetValue(FontStretchProperty);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
311case 217: t = () => typeof(FontStretch); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4790typeof(System.Windows.FontStretch),
System\Windows\Markup\KnownTypes.cs (1)
5765case KnownElements.FontStretch: t = typeof(System.Windows.FontStretch); break;