37 references to FontWeights
Microsoft.CodeAnalysis.EditorFeatures (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)
73FontWeight = isBold ? FontWeights.Bold : FontWeights.Normal
PresentationCore (25)
MS\Internal\FontFace\CompositeFontParser.cs (1)
646if (!FontWeights.FontWeightStringToKnownWeight(GetAttributeValue(), CultureInfo.InvariantCulture, ref fontWeight))
MS\Internal\FontFace\FontDifferentiator.cs (1)
46if (fontWeight != FontWeights.Normal)
MS\Internal\FontFace\MatchingStyle.cs (1)
38(weight.ToOpenTypeWeight() - FontWeights.Normal.ToOpenTypeWeight()) / 100.0 * FontWeightScale
MS\Internal\Shaping\CompositeTypefaceMetrics.cs (1)
81FontWeights.Regular,
System\Windows\FontWeight.cs (1)
210if (!FontWeights.FontWeightToString(RealWeight, out convertedValue))
System\Windows\FontWeightConverter.cs (1)
69if (!FontWeights.FontWeightStringToKnownWeight(s, ci, ref fontWeight))
System\Windows\FontWeights.cs (16)
104fontWeight = FontWeights.Bold; 109fontWeight = FontWeights.Thin; 117fontWeight = FontWeights.Black; 122fontWeight = FontWeights.Light; 127fontWeight = FontWeights.Heavy; 135fontWeight = FontWeights.Normal; 140fontWeight = FontWeights.Medium; 148fontWeight = FontWeights.Regular; 156fontWeight = FontWeights.SemiBold; 161fontWeight = FontWeights.DemiBold; 169fontWeight = FontWeights.ExtraBold; 174fontWeight = FontWeights.UltraBold; 182fontWeight = FontWeights.ExtraLight; 187fontWeight = FontWeights.UltraLight; 192fontWeight = FontWeights.ExtraBlack; 197fontWeight = FontWeights.UltraBlack;
System\Windows\Media\FontFamily.cs (2)
328FontWeight weight = FontWeights.Normal; 410FontWeight weight = FontWeights.Normal;
System\Windows\Media\Typeface.cs (1)
52FontWeights.Normal,
PresentationFramework (4)
System\windows\Documents\TextEditorCharacters.cs (3)
174FontWeight fontWeight = (propertyValue != DependencyProperty.UnsetValue && (FontWeight)propertyValue == FontWeights.Bold) ? FontWeights.Normal : FontWeights.Bold;
System\windows\Documents\TextEditorContextMenu.cs (1)
491FontWeight = FontWeights.Bold,
WindowsFormsIntegration (3)
System\Windows\Integration\Convert.cs (2)
226return sdFont.Bold ? FontWeights.Bold : FontWeights.Normal;
System\Windows\Integration\HostUtils.cs (1)
408return fontWeight >= SW.FontWeights.Medium;