19 instantiations of FontStretch
PresentationCore (17)
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (1)
573fontStretch = new FontStretch((int)font.Stretch);
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (1)
672FontStretch fontStretch = new FontStretch();
Core\CSharp\MS\Internal\FontFace\PhysicalFontFamily.cs (1)
254_style = new MatchingStyle(new FontStyle((int)face.Style), new FontWeight((int)face.Weight), new FontStretch((int)face.Stretch));
Core\CSharp\MS\Internal\FontFace\TypefaceCollection.cs (1)
187return new Typeface(_typefaceCollection._fontFamily, new FontStyle((int)face.Style), new FontWeight((int)face.Weight), new FontStretch((int)face.Stretch));
Core\CSharp\System\Windows\FontStretch.cs (1)
51return new FontStretch(stretchValue);
Core\CSharp\System\Windows\FontStretchConverter.cs (1)
87FontStretch fontStretch = new FontStretch();
Core\CSharp\System\Windows\FontStretches.cs (10)
25public static FontStretch UltraCondensed { get { return new FontStretch(1); } } 30public static FontStretch ExtraCondensed { get { return new FontStretch(2); } } 35public static FontStretch Condensed { get { return new FontStretch(3); } } 40public static FontStretch SemiCondensed { get { return new FontStretch(4); } } 45public static FontStretch Normal { get { return new FontStretch(5); } } 50public static FontStretch Medium { get { return new FontStretch(5); } } 55public static FontStretch SemiExpanded { get { return new FontStretch(6); } } 60public static FontStretch Expanded { get { return new FontStretch(7); } } 65public static FontStretch ExtraExpanded { get { return new FontStretch(8); } } 70public static FontStretch UltraExpanded { get { return new FontStretch(9); } }
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (1)
797return new FontStretch((int)_font.Stretch);
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4424bamlType.DefaultConstructor = delegate() { return new System.Windows.FontStretch(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1278case KnownElements.FontStretch: o = new System.Windows.FontStretch(); break;
107 references to FontStretch
PresentationCore (78)
Core\CSharp\MS\Internal\FontCache\CachedTypeface.cs (3)
27private FontStretch _canonicalStretch; 35FontStretch canonicalStretch, 62internal FontStretch CanonicalStretch
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (1)
493ref FontStretch fontStretch
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (1)
672FontStretch fontStretch = new FontStretch();
Core\CSharp\MS\Internal\FontFace\FontDifferentiator.cs (2)
32FontStretch stretch) 45FontStretch fontStretch
Core\CSharp\MS\Internal\FontFace\IFontFamily.cs (2)
64FontStretch stretch 71IDeviceFont GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch);
Core\CSharp\MS\Internal\FontFace\MatchingStyle.cs (1)
42FontStretch stretch
Core\CSharp\MS\Internal\FontFace\PhysicalFontFamily.cs (4)
84FontStretch stretch 94IDeviceFont IFontFamily.GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch) 140FontStretch stretch 173FontStretch stretch,
Core\CSharp\MS\Internal\Shaping\CompositeFontFamily.cs (5)
213FontStretch stretch 231IDeviceFont IFontFamily.GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch) 398FontStretch stretch 417FontStretch stretch 451FontStretch stretch
Core\CSharp\MS\Internal\Shaping\CompositeTypefaceMetrics.cs (2)
40private FontStretch _stretch; 64FontStretch stretch
Core\CSharp\MS\Internal\Shaping\TypefaceMap.cs (5)
45private FontStretch _canonicalStretch; 60FontStretch canonicalStretch, 505FontStretch canonicalStretch, 888FontStretch canonicalStretch = _canonicalStretch; 997FontStretch canonicalStretch,
Core\CSharp\System\Windows\FontStretch.cs (18)
47public static FontStretch FromOpenTypeStretch(int stretchValue) 76public static int Compare(FontStretch left, FontStretch right) 87public static bool operator<(FontStretch left, FontStretch right) 98public static bool operator<=(FontStretch left, FontStretch right) 109public static bool operator>(FontStretch left, FontStretch right) 120public static bool operator>=(FontStretch left, FontStretch right) 132public static bool operator==(FontStretch left, FontStretch right) 144public static bool operator!=(FontStretch left, FontStretch right) 155public bool Equals(FontStretch obj) 168if (!(obj is FontStretch)) 170return this == (FontStretch)obj;
Core\CSharp\System\Windows\FontStretchConverter.cs (7)
87FontStretch fontStretch = new FontStretch(); 113if (destinationType != null && value is FontStretch) 117MethodInfo mi = typeof(FontStretch).GetMethod("FromOpenTypeStretch", new Type[]{typeof(int)}); 118FontStretch c = (FontStretch)value; 123FontStretch c = (FontStretch)value;
Core\CSharp\System\Windows\FontStretches.cs (12)
25public static FontStretch UltraCondensed { get { return new FontStretch(1); } } 30public static FontStretch ExtraCondensed { get { return new FontStretch(2); } } 35public static FontStretch Condensed { get { return new FontStretch(3); } } 40public static FontStretch SemiCondensed { get { return new FontStretch(4); } } 45public static FontStretch Normal { get { return new FontStretch(5); } } 50public static FontStretch Medium { get { return new FontStretch(5); } } 55public static FontStretch SemiExpanded { get { return new FontStretch(6); } } 60public static FontStretch Expanded { get { return new FontStretch(7); } } 65public static FontStretch ExtraExpanded { get { return new FontStretch(8); } } 70public static FontStretch UltraExpanded { get { return new FontStretch(9); } } 72internal static bool FontStretchStringToKnownStretch(string s, IFormatProvider provider, ref FontStretch fontStretch) 147fontStretch = FontStretch.FromOpenTypeStretch(stretchValue);
Core\CSharp\System\Windows\Media\FamilyTypeface.cs (2)
92public FontStretch Stretch 339private FontStretch _stretch;
Core\CSharp\System\Windows\Media\FontFamily.cs (4)
358FontStretch stretch = FontStretches.Normal; 442FontStretch stretch = FontStretches.Normal; 476ref FontStretch stretch 521ref FontStretch stretch
Core\CSharp\System\Windows\Media\FormattedText.cs (2)
744public void SetFontStretch(FontStretch stretch) 755public void SetFontStretch(FontStretch stretch, int startIndex, int count)
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (1)
791public FontStretch Stretch
Core\CSharp\System\Windows\Media\Typeface.cs (6)
46private FontStretch _stretch; 83FontStretch stretch 108FontStretch stretch, 156public FontStretch Stretch 343internal FontStretch CanonicalStretch 749FontStretch canonicalStretch = _stretch;
PresentationFramework (29)
src\Framework\MS\Internal\Text\DynamicPropertyReader.cs (4)
52FontStretch fontStretch = (FontStretch) element.GetValue(TextElement.FontStretchProperty); 63FontStretch fontStretch = (FontStretch) element.GetValue(TextElement.FontStretchProperty);
src\Framework\System\Windows\Controls\AccessText.cs (2)
209public FontStretch FontStretch 211get { return (FontStretch) GetValue(FontStretchProperty); }
src\Framework\System\Windows\Controls\Control.cs (2)
230public FontStretch FontStretch 232get { return (FontStretch) GetValue(FontStretchProperty); }
src\Framework\System\Windows\Controls\StickyNote.cs (3)
400typeof(FontStretch), 409public FontStretch CaptionFontStretch 411get { return (FontStretch) GetValue(CaptionFontStretchProperty); }
src\Framework\System\Windows\Controls\TextBlock.cs (5)
798public FontStretch FontStretch 800get { return (FontStretch) GetValue(FontStretchProperty); } 809public static void SetFontStretch(DependencyObject element, FontStretch value) 823public static FontStretch GetFontStretch(DependencyObject element) 830return (FontStretch)element.GetValue(FontStretchProperty);
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (2)
371public FontStretch FontStretch 435private FontStretch _fontStretch;
src\Framework\System\Windows\Documents\FlowDocument.cs (2)
262public FontStretch FontStretch 264get { return (FontStretch) GetValue(FontStretchProperty); }
src\Framework\System\Windows\Documents\TextElement.cs (6)
625typeof(FontStretch), 634public FontStretch FontStretch 636get { return (FontStretch) GetValue(FontStretchProperty); } 645public static void SetFontStretch(DependencyObject element, FontStretch value) 659public static FontStretch GetFontStretch(DependencyObject element) 666return (FontStretch)element.GetValue(FontStretchProperty);
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
309case 217: t = () => typeof(FontStretch); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4422typeof(System.Windows.FontStretch),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5761case KnownElements.FontStretch: t = typeof(System.Windows.FontStretch); break;