30 references to FontWeights
PresentationCore (25)
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (1)
665
if (!
FontWeights
.FontWeightStringToKnownWeight(GetAttributeValue(), CultureInfo.InvariantCulture, ref fontWeight))
Core\CSharp\MS\Internal\FontFace\FontDifferentiator.cs (1)
52
if (fontWeight !=
FontWeights
.Normal)
Core\CSharp\MS\Internal\FontFace\MatchingStyle.cs (1)
48
(weight.ToOpenTypeWeight() -
FontWeights
.Normal.ToOpenTypeWeight()) / 100.0 * FontWeightScale
Core\CSharp\MS\Internal\Shaping\CompositeTypefaceMetrics.cs (1)
88
FontWeights
.Regular,
Core\CSharp\System\Windows\FontWeight.cs (1)
217
if (!
FontWeights
.FontWeightToString(RealWeight, out convertedValue))
Core\CSharp\System\Windows\FontWeightConverter.cs (1)
88
if (!
FontWeights
.FontWeightStringToKnownWeight(s, ci, ref fontWeight))
Core\CSharp\System\Windows\FontWeights.cs (16)
109
fontWeight =
FontWeights
.Bold;
114
fontWeight =
FontWeights
.Thin;
122
fontWeight =
FontWeights
.Black;
127
fontWeight =
FontWeights
.Light;
132
fontWeight =
FontWeights
.Heavy;
140
fontWeight =
FontWeights
.Normal;
145
fontWeight =
FontWeights
.Medium;
153
fontWeight =
FontWeights
.Regular;
161
fontWeight =
FontWeights
.SemiBold;
166
fontWeight =
FontWeights
.DemiBold;
174
fontWeight =
FontWeights
.ExtraBold;
179
fontWeight =
FontWeights
.UltraBold;
187
fontWeight =
FontWeights
.ExtraLight;
192
fontWeight =
FontWeights
.UltraLight;
197
fontWeight =
FontWeights
.ExtraBlack;
202
fontWeight =
FontWeights
.UltraBlack;
Core\CSharp\System\Windows\Media\FontFamily.cs (2)
357
FontWeight weight =
FontWeights
.Normal;
441
FontWeight weight =
FontWeights
.Normal;
Core\CSharp\System\Windows\Media\Typeface.cs (1)
65
FontWeights
.Normal,
PresentationFramework (4)
src\Framework\System\windows\Documents\TextEditorCharacters.cs (3)
193
FontWeight fontWeight = (propertyValue != DependencyProperty.UnsetValue && (FontWeight)propertyValue ==
FontWeights
.Bold) ?
FontWeights
.Normal :
FontWeights
.Bold;
src\Framework\System\windows\Documents\TextEditorContextMenu.cs (1)
519
text.FontWeight =
FontWeights
.Bold;
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspectorFontAndColorDictionary.cs (1)
56
Add(keyValuePair.Key, System.Windows.
FontWeights
.Normal);