27 references to FontWeightProperty
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
DependencyObjectExtensions.cs (1)
19
dependencyObject.SetValue(TextElement.
FontWeightProperty
, textProperties.Bold ? FontWeights.Bold : FontWeights.Normal);
Microsoft.VisualStudio.LanguageServices (1)
FindReferences\RoslynDefinitionBucket.cs (1)
120
inline.SetValue(TextElement.
FontWeightProperty
, FontWeights.Bold);
PresentationFramework (25)
MS\Internal\Text\DynamicPropertyReader.cs (2)
41
FontWeight fontWeight = (FontWeight) element.GetValue(TextElement.
FontWeightProperty
);
52
FontWeight fontWeight = (FontWeight) element.GetValue(TextElement.
FontWeightProperty
);
System\Windows\Controls\AccessText.cs (1)
186
TextElement.
FontWeightProperty
.AddOwner(typeof(AccessText));
System\Windows\Controls\Control.cs (1)
256
TextElement.
FontWeightProperty
.AddOwner(
System\Windows\Controls\DataGridTextColumn.cs (3)
114
DataGridHelper.SyncColumnProperty(this, e, TextElement.
FontWeightProperty
, FontWeightProperty);
140
DataGridHelper.SyncColumnProperty(this, textElement, TextElement.
FontWeightProperty
, FontWeightProperty);
361
TextElement.
FontWeightProperty
.AddOwner(
System\Windows\Controls\TextBlock.cs (1)
699
TextElement.
FontWeightProperty
.AddOwner(typeof(TextBlock));
System\Windows\Controls\TextRangeAdaptor.cs (1)
180
FontWeight fontWeight = (FontWeight)tp.GetValue(TextElement.
FontWeightProperty
);
System\Windows\Documents\FixedElement.cs (1)
68
TextElement.
FontWeightProperty
.AddOwner(
System\Windows\Documents\FixedSOMTextRun.cs (1)
233
element.SetValue(TextElement.
FontWeightProperty
, _fontWeight);
System\Windows\Documents\FlowDocument.cs (1)
233
TextElement.
FontWeightProperty
.AddOwner(_typeofThis);
System\windows\Documents\TextEditorCharacters.cs (2)
173
object propertyValue = ((TextSelection)This.Selection).GetCurrentValue(TextElement.
FontWeightProperty
);
176
TextEditorCharacters._OnApplyProperty(This, TextElement.
FontWeightProperty
, fontWeight);
System\Windows\Documents\TextElement.cs (4)
552
get { return (FontWeight) GetValue(
FontWeightProperty
); }
553
set { SetValue(
FontWeightProperty
, value); }
565
element.SetValue(
FontWeightProperty
, value);
576
return (FontWeight)element.GetValue(
FontWeightProperty
);
System\Windows\Documents\TextSchema.cs (1)
48
TextElement.
FontWeightProperty
,
System\Windows\FrameworkElement.cs (3)
2396
TextElement.
FontWeightProperty
.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontWeight, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontWeight)));
5574
if (ShouldUseSystemFont((FrameworkElement)o, TextElement.
FontWeightProperty
))
5610
CoerceValue(TextElement.
FontWeightProperty
);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3916
DependencyProperty dp = System.Windows.Documents.TextElement.
FontWeightProperty
;
System\Windows\Markup\KnownTypes.cs (1)
1919
return System.Windows.Documents.TextElement.
FontWeightProperty
;
System\Windows\SystemResources.cs (1)
1254
fe.CoerceValue(TextElement.
FontWeightProperty
);