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