25 references to FontWeightProperty
PresentationFramework (25)
MS\Internal\Text\DynamicPropertyReader.cs (2)
48FontWeight fontWeight = (FontWeight) element.GetValue(TextElement.FontWeightProperty); 59FontWeight fontWeight = (FontWeight) element.GetValue(TextElement.FontWeightProperty);
System\Windows\Controls\AccessText.cs (1)
189TextElement.FontWeightProperty.AddOwner(typeof(AccessText));
System\Windows\Controls\Control.cs (1)
266TextElement.FontWeightProperty.AddOwner(
System\Windows\Controls\DataGridTextColumn.cs (3)
118DataGridHelper.SyncColumnProperty(this, e, TextElement.FontWeightProperty, FontWeightProperty); 144DataGridHelper.SyncColumnProperty(this, textElement, TextElement.FontWeightProperty, FontWeightProperty); 365TextElement.FontWeightProperty.AddOwner(
System\Windows\Controls\TextBlock.cs (1)
712TextElement.FontWeightProperty.AddOwner(typeof(TextBlock));
System\Windows\Controls\TextRangeAdaptor.cs (1)
183FontWeight fontWeight = (FontWeight)tp.GetValue(TextElement.FontWeightProperty);
System\Windows\Documents\FixedElement.cs (1)
77TextElement.FontWeightProperty.AddOwner(
System\Windows\Documents\FixedSOMTextRun.cs (1)
236element.SetValue(TextElement.FontWeightProperty, _fontWeight);
System\Windows\Documents\FlowDocument.cs (1)
234TextElement.FontWeightProperty.AddOwner(_typeofThis);
System\windows\Documents\TextEditorCharacters.cs (2)
190object propertyValue = ((TextSelection)This.Selection).GetCurrentValue(TextElement.FontWeightProperty); 193TextEditorCharacters._OnApplyProperty(This, TextElement.FontWeightProperty, fontWeight);
System\Windows\Documents\TextElement.cs (4)
568get { return (FontWeight) GetValue(FontWeightProperty); } 569set { SetValue(FontWeightProperty, value); } 581element.SetValue(FontWeightProperty, value); 592return (FontWeight)element.GetValue(FontWeightProperty);
System\Windows\Documents\TextSchema.cs (1)
50TextElement.FontWeightProperty,
System\Windows\FrameworkElement.cs (3)
2409TextElement.FontWeightProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontWeight, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontWeight))); 5580if (ShouldUseSystemFont((FrameworkElement)o, TextElement.FontWeightProperty)) 5616CoerceValue(TextElement.FontWeightProperty);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3741DependencyProperty dp = System.Windows.Documents.TextElement.FontWeightProperty;
System\Windows\Markup\KnownTypes.cs (1)
1926return System.Windows.Documents.TextElement.FontWeightProperty;
System\Windows\SystemResources.cs (1)
1277fe.CoerceValue(TextElement.FontWeightProperty);