19 instantiations of FontStretch
PresentationCore (17)
MS\Internal\FontCache\FamilyCollection.cs (1)
423fontStretch = new FontStretch((int)font.Stretch);
MS\Internal\FontFace\CompositeFontParser.cs (1)
665FontStretch fontStretch = new FontStretch();
MS\Internal\FontFace\PhysicalFontFamily.cs (1)
225_style = new MatchingStyle(new FontStyle((int)face.Style), new FontWeight((int)face.Weight), new FontStretch((int)face.Stretch));
MS\Internal\FontFace\TypefaceCollection.cs (1)
170return new Typeface(_typefaceCollection._fontFamily, new FontStyle((int)face.Style), new FontWeight((int)face.Weight), new FontStretch((int)face.Stretch));
System\Windows\FontStretch.cs (1)
48return new FontStretch(stretchValue);
System\Windows\FontStretchConverter.cs (1)
84FontStretch fontStretch = new FontStretch();
System\Windows\FontStretches.cs (10)
23public static FontStretch UltraCondensed { get { return new FontStretch(1); } } 28public static FontStretch ExtraCondensed { get { return new FontStretch(2); } } 33public static FontStretch Condensed { get { return new FontStretch(3); } } 38public static FontStretch SemiCondensed { get { return new FontStretch(4); } } 43public static FontStretch Normal { get { return new FontStretch(5); } } 48public static FontStretch Medium { get { return new FontStretch(5); } } 53public static FontStretch SemiExpanded { get { return new FontStretch(6); } } 58public static FontStretch Expanded { get { return new FontStretch(7); } } 63public static FontStretch ExtraExpanded { get { return new FontStretch(8); } } 68public static FontStretch UltraExpanded { get { return new FontStretch(9); } }
System\Windows\Media\GlyphTypeface.cs (1)
600return new FontStretch((int)_font.Stretch);
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4428bamlType.DefaultConstructor = delegate() { return new System.Windows.FontStretch(); };
System\Windows\Markup\KnownTypes.cs (1)
1277case KnownElements.FontStretch: o = new System.Windows.FontStretch(); break;
107 references to FontStretch
PresentationCore (78)
MS\Internal\FontCache\CachedTypeface.cs (3)
27private FontStretch _canonicalStretch; 35FontStretch canonicalStretch, 62internal FontStretch CanonicalStretch
MS\Internal\FontCache\FamilyCollection.cs (1)
343ref FontStretch fontStretch
MS\Internal\FontFace\CompositeFontParser.cs (1)
665FontStretch fontStretch = new FontStretch();
MS\Internal\FontFace\FontDifferentiator.cs (2)
29FontStretch stretch) 42FontStretch fontStretch
MS\Internal\FontFace\IFontFamily.cs (2)
62FontStretch stretch 69IDeviceFont GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch);
MS\Internal\FontFace\MatchingStyle.cs (1)
38FontStretch stretch
MS\Internal\FontFace\PhysicalFontFamily.cs (4)
80FontStretch stretch 90IDeviceFont IFontFamily.GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch) 123FontStretch stretch 148FontStretch stretch,
MS\Internal\Shaping\CompositeFontFamily.cs (5)
204FontStretch stretch 222IDeviceFont IFontFamily.GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch) 389FontStretch stretch 408FontStretch stretch 442FontStretch stretch
MS\Internal\Shaping\CompositeTypefaceMetrics.cs (2)
38private FontStretch _stretch; 62FontStretch stretch
MS\Internal\Shaping\TypefaceMap.cs (5)
43private FontStretch _canonicalStretch; 58FontStretch canonicalStretch, 496FontStretch canonicalStretch, 879FontStretch canonicalStretch = _canonicalStretch; 988FontStretch canonicalStretch,
System\Windows\FontStretch.cs (18)
44public static FontStretch FromOpenTypeStretch(int stretchValue) 73public static int Compare(FontStretch left, FontStretch right) 84public static bool operator<(FontStretch left, FontStretch right) 95public static bool operator<=(FontStretch left, FontStretch right) 106public static bool operator>(FontStretch left, FontStretch right) 117public static bool operator>=(FontStretch left, FontStretch right) 129public static bool operator==(FontStretch left, FontStretch right) 141public static bool operator!=(FontStretch left, FontStretch right) 152public bool Equals(FontStretch obj) 165if (!(obj is FontStretch)) 167return this == (FontStretch)obj;
System\Windows\FontStretchConverter.cs (7)
84FontStretch fontStretch = new FontStretch(); 105if (destinationType != null && value is FontStretch) 109MethodInfo mi = typeof(FontStretch).GetMethod("FromOpenTypeStretch", new Type[]{typeof(int)}); 110FontStretch c = (FontStretch)value; 115FontStretch c = (FontStretch)value;
System\Windows\FontStretches.cs (12)
23public static FontStretch UltraCondensed { get { return new FontStretch(1); } } 28public static FontStretch ExtraCondensed { get { return new FontStretch(2); } } 33public static FontStretch Condensed { get { return new FontStretch(3); } } 38public static FontStretch SemiCondensed { get { return new FontStretch(4); } } 43public static FontStretch Normal { get { return new FontStretch(5); } } 48public static FontStretch Medium { get { return new FontStretch(5); } } 53public static FontStretch SemiExpanded { get { return new FontStretch(6); } } 58public static FontStretch Expanded { get { return new FontStretch(7); } } 63public static FontStretch ExtraExpanded { get { return new FontStretch(8); } } 68public static FontStretch UltraExpanded { get { return new FontStretch(9); } } 70internal static bool FontStretchStringToKnownStretch(string s, IFormatProvider provider, ref FontStretch fontStretch) 145fontStretch = FontStretch.FromOpenTypeStretch(stretchValue);
System\Windows\Media\FamilyTypeface.cs (2)
89public FontStretch Stretch 332private FontStretch _stretch;
System\Windows\Media\FontFamily.cs (4)
352FontStretch stretch = FontStretches.Normal; 434FontStretch stretch = FontStretches.Normal; 463ref FontStretch stretch 501ref FontStretch stretch
System\Windows\Media\FormattedText.cs (2)
732public void SetFontStretch(FontStretch stretch) 743public void SetFontStretch(FontStretch stretch, int startIndex, int count)
System\Windows\Media\GlyphTypeface.cs (1)
595public FontStretch Stretch
System\Windows\Media\Typeface.cs (6)
43private FontStretch _stretch; 80FontStretch stretch 105FontStretch stretch, 150public FontStretch Stretch 337internal FontStretch CanonicalStretch 743FontStretch canonicalStretch = _stretch;
PresentationFramework (29)
MS\Internal\Text\DynamicPropertyReader.cs (4)
49FontStretch fontStretch = (FontStretch) element.GetValue(TextElement.FontStretchProperty); 60FontStretch fontStretch = (FontStretch) element.GetValue(TextElement.FontStretchProperty);
System\Windows\Controls\AccessText.cs (2)
209public FontStretch FontStretch 211get { return (FontStretch) GetValue(FontStretchProperty); }
System\Windows\Controls\Control.cs (2)
229public FontStretch FontStretch 231get { return (FontStretch) GetValue(FontStretchProperty); }
System\Windows\Controls\StickyNote.cs (3)
390typeof(FontStretch), 399public FontStretch CaptionFontStretch 401get { return (FontStretch) GetValue(CaptionFontStretchProperty); }
System\Windows\Controls\TextBlock.cs (5)
756public FontStretch FontStretch 758get { return (FontStretch) GetValue(FontStretchProperty); } 767public static void SetFontStretch(DependencyObject element, FontStretch value) 778public static FontStretch GetFontStretch(DependencyObject element) 782return (FontStretch)element.GetValue(FontStretchProperty);
System\Windows\Documents\FixedSOMTextRun.cs (2)
366public 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)
602typeof(FontStretch), 611public FontStretch FontStretch 613get { return (FontStretch) GetValue(FontStretchProperty); } 622public static void SetFontStretch(DependencyObject element, FontStretch value) 633public static FontStretch GetFontStretch(DependencyObject element) 637return (FontStretch)element.GetValue(FontStretchProperty);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
313case 217: t = () => typeof(FontStretch); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4426typeof(System.Windows.FontStretch),
System\Windows\Markup\KnownTypes.cs (1)
5771case KnownElements.FontStretch: t = typeof(System.Windows.FontStretch); break;