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