25 references to FontWeightProperty
PresentationFramework (25)
src\Framework\MS\Internal\Text\DynamicPropertyReader.cs (2)
51FontWeight fontWeight = (FontWeight) element.GetValue(TextElement.FontWeightProperty); 62FontWeight fontWeight = (FontWeight) element.GetValue(TextElement.FontWeightProperty);
src\Framework\System\Windows\Controls\AccessText.cs (1)
189TextElement.FontWeightProperty.AddOwner(typeof(AccessText));
src\Framework\System\Windows\Controls\Control.cs (1)
267TextElement.FontWeightProperty.AddOwner(
src\Framework\System\Windows\Controls\DataGridTextColumn.cs (3)
119DataGridHelper.SyncColumnProperty(this, e, TextElement.FontWeightProperty, FontWeightProperty); 145DataGridHelper.SyncColumnProperty(this, textElement, TextElement.FontWeightProperty, FontWeightProperty); 366TextElement.FontWeightProperty.AddOwner(
src\Framework\System\Windows\Controls\TextBlock.cs (1)
748TextElement.FontWeightProperty.AddOwner(typeof(TextBlock));
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (1)
191FontWeight fontWeight = (FontWeight)tp.GetValue(TextElement.FontWeightProperty);
src\Framework\System\Windows\Documents\FixedElement.cs (1)
81TextElement.FontWeightProperty.AddOwner(
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (1)
241element.SetValue(TextElement.FontWeightProperty, _fontWeight);
src\Framework\System\Windows\Documents\FlowDocument.cs (1)
242TextElement.FontWeightProperty.AddOwner(_typeofThis);
src\Framework\System\windows\Documents\TextEditorCharacters.cs (2)
192object propertyValue = ((TextSelection)This.Selection).GetCurrentValue(TextElement.FontWeightProperty); 195TextEditorCharacters._OnApplyProperty(This, TextElement.FontWeightProperty, fontWeight);
src\Framework\System\Windows\Documents\TextElement.cs (4)
585get { return (FontWeight) GetValue(FontWeightProperty); } 586set { SetValue(FontWeightProperty, value); } 601element.SetValue(FontWeightProperty, value); 615return (FontWeight)element.GetValue(FontWeightProperty);
src\Framework\System\Windows\Documents\TextSchema.cs (1)
52TextElement.FontWeightProperty,
src\Framework\System\Windows\FrameworkElement.cs (3)
2413TextElement.FontWeightProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontWeight, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontWeight))); 5585if (ShouldUseSystemFont((FrameworkElement)o, TextElement.FontWeightProperty)) 5621CoerceValue(TextElement.FontWeightProperty);
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3716DependencyProperty dp = System.Windows.Documents.TextElement.FontWeightProperty;
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1923return System.Windows.Documents.TextElement.FontWeightProperty;
src\Framework\System\Windows\SystemResources.cs (1)
1336fe.CoerceValue(TextElement.FontWeightProperty);