27 references to FontWeightProperty
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
DependencyObjectExtensions.cs (1)
19dependencyObject.SetValue(TextElement.FontWeightProperty, textProperties.Bold ? FontWeights.Bold : FontWeights.Normal);
Microsoft.VisualStudio.LanguageServices (1)
FindReferences\RoslynDefinitionBucket.cs (1)
120inline.SetValue(TextElement.FontWeightProperty, FontWeights.Bold);
PresentationFramework (25)
MS\Internal\Text\DynamicPropertyReader.cs (2)
42FontWeight fontWeight = (FontWeight) element.GetValue(TextElement.FontWeightProperty); 53FontWeight fontWeight = (FontWeight) element.GetValue(TextElement.FontWeightProperty);
System\Windows\Controls\AccessText.cs (1)
187TextElement.FontWeightProperty.AddOwner(typeof(AccessText));
System\Windows\Controls\Control.cs (1)
257TextElement.FontWeightProperty.AddOwner(
System\Windows\Controls\DataGridTextColumn.cs (3)
115DataGridHelper.SyncColumnProperty(this, e, TextElement.FontWeightProperty, FontWeightProperty); 141DataGridHelper.SyncColumnProperty(this, textElement, TextElement.FontWeightProperty, FontWeightProperty); 362TextElement.FontWeightProperty.AddOwner(
System\Windows\Controls\TextBlock.cs (1)
702TextElement.FontWeightProperty.AddOwner(typeof(TextBlock));
System\Windows\Controls\TextRangeAdaptor.cs (1)
181FontWeight fontWeight = (FontWeight)tp.GetValue(TextElement.FontWeightProperty);
System\Windows\Documents\FixedElement.cs (1)
69TextElement.FontWeightProperty.AddOwner(
System\Windows\Documents\FixedSOMTextRun.cs (1)
232element.SetValue(TextElement.FontWeightProperty, _fontWeight);
System\Windows\Documents\FlowDocument.cs (1)
234TextElement.FontWeightProperty.AddOwner(_typeofThis);
System\windows\Documents\TextEditorCharacters.cs (2)
174object propertyValue = ((TextSelection)This.Selection).GetCurrentValue(TextElement.FontWeightProperty); 177TextEditorCharacters._OnApplyProperty(This, TextElement.FontWeightProperty, fontWeight);
System\Windows\Documents\TextElement.cs (4)
567get { return (FontWeight) GetValue(FontWeightProperty); } 568set { SetValue(FontWeightProperty, value); } 580element.SetValue(FontWeightProperty, value); 591return (FontWeight)element.GetValue(FontWeightProperty);
System\Windows\Documents\TextSchema.cs (1)
49TextElement.FontWeightProperty,
System\Windows\FrameworkElement.cs (3)
2405TextElement.FontWeightProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontWeight, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontWeight))); 5576if (ShouldUseSystemFont((FrameworkElement)o, TextElement.FontWeightProperty)) 5612CoerceValue(TextElement.FontWeightProperty);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3739DependencyProperty dp = System.Windows.Documents.TextElement.FontWeightProperty;
System\Windows\Markup\KnownTypes.cs (1)
1926return System.Windows.Documents.TextElement.FontWeightProperty;
System\Windows\SystemResources.cs (1)
1271fe.CoerceValue(TextElement.FontWeightProperty);