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