37 references to FontWeights
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
DependencyObjectExtensions.cs (2)
19dependencyObject.SetValue(TextElement.FontWeightProperty, textProperties.Bold ? FontWeights.Bold : FontWeights.Normal);
Microsoft.VisualStudio.LanguageServices (3)
FindReferences\RoslynDefinitionBucket.cs (1)
120inline.SetValue(TextElement.FontWeightProperty, FontWeights.Bold);
UnusedReferences\Dialog\UnusedReferencesTableProvider.ColumnDefinitions.cs (2)
74FontWeight = isBold ? FontWeights.Bold : FontWeights.Normal
PresentationCore (25)
MS\Internal\FontFace\CompositeFontParser.cs (1)
658if (!FontWeights.FontWeightStringToKnownWeight(GetAttributeValue(), CultureInfo.InvariantCulture, ref fontWeight))
MS\Internal\FontFace\FontDifferentiator.cs (1)
49if (fontWeight != FontWeights.Normal)
MS\Internal\FontFace\MatchingStyle.cs (1)
44(weight.ToOpenTypeWeight() - FontWeights.Normal.ToOpenTypeWeight()) / 100.0 * FontWeightScale
MS\Internal\Shaping\CompositeTypefaceMetrics.cs (1)
86FontWeights.Regular,
System\Windows\FontWeight.cs (1)
215if (!FontWeights.FontWeightToString(RealWeight, out convertedValue))
System\Windows\FontWeightConverter.cs (1)
85if (!FontWeights.FontWeightStringToKnownWeight(s, ci, ref fontWeight))
System\Windows\FontWeights.cs (16)
106fontWeight = FontWeights.Bold; 111fontWeight = FontWeights.Thin; 119fontWeight = FontWeights.Black; 124fontWeight = FontWeights.Light; 129fontWeight = FontWeights.Heavy; 137fontWeight = FontWeights.Normal; 142fontWeight = FontWeights.Medium; 150fontWeight = FontWeights.Regular; 158fontWeight = FontWeights.SemiBold; 163fontWeight = FontWeights.DemiBold; 171fontWeight = FontWeights.ExtraBold; 176fontWeight = FontWeights.UltraBold; 184fontWeight = FontWeights.ExtraLight; 189fontWeight = FontWeights.UltraLight; 194fontWeight = FontWeights.ExtraBlack; 199fontWeight = FontWeights.UltraBlack;
System\Windows\Media\FontFamily.cs (2)
351FontWeight weight = FontWeights.Normal; 433FontWeight weight = FontWeights.Normal;
System\Windows\Media\Typeface.cs (1)
62FontWeights.Normal,
PresentationFramework (4)
System\windows\Documents\TextEditorCharacters.cs (3)
191FontWeight fontWeight = (propertyValue != DependencyProperty.UnsetValue && (FontWeight)propertyValue == FontWeights.Bold) ? FontWeights.Normal : FontWeights.Bold;
System\windows\Documents\TextEditorContextMenu.cs (1)
493text.FontWeight = FontWeights.Bold;
WindowsFormsIntegration (3)
System\Windows\Integration\Convert.cs (2)
229return sdFont.Bold ? FontWeights.Bold : FontWeights.Normal;
System\Windows\Integration\HostUtils.cs (1)
413return fontWeight >= SW.FontWeights.Medium;