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