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)
42
FontWeight fontWeight = (FontWeight) element.GetValue(TextElement.
FontWeightProperty
);
53
FontWeight fontWeight = (FontWeight) element.GetValue(TextElement.
FontWeightProperty
);
System\Windows\Controls\AccessText.cs (1)
187
TextElement.
FontWeightProperty
.AddOwner(typeof(AccessText));
System\Windows\Controls\Control.cs (1)
257
TextElement.
FontWeightProperty
.AddOwner(
System\Windows\Controls\DataGridTextColumn.cs (3)
115
DataGridHelper.SyncColumnProperty(this, e, TextElement.
FontWeightProperty
, FontWeightProperty);
141
DataGridHelper.SyncColumnProperty(this, textElement, TextElement.
FontWeightProperty
, FontWeightProperty);
362
TextElement.
FontWeightProperty
.AddOwner(
System\Windows\Controls\TextBlock.cs (1)
702
TextElement.
FontWeightProperty
.AddOwner(typeof(TextBlock));
System\Windows\Controls\TextRangeAdaptor.cs (1)
181
FontWeight fontWeight = (FontWeight)tp.GetValue(TextElement.
FontWeightProperty
);
System\Windows\Documents\FixedElement.cs (1)
69
TextElement.
FontWeightProperty
.AddOwner(
System\Windows\Documents\FixedSOMTextRun.cs (1)
232
element.SetValue(TextElement.
FontWeightProperty
, _fontWeight);
System\Windows\Documents\FlowDocument.cs (1)
234
TextElement.
FontWeightProperty
.AddOwner(_typeofThis);
System\windows\Documents\TextEditorCharacters.cs (2)
174
object propertyValue = ((TextSelection)This.Selection).GetCurrentValue(TextElement.
FontWeightProperty
);
177
TextEditorCharacters._OnApplyProperty(This, TextElement.
FontWeightProperty
, fontWeight);
System\Windows\Documents\TextElement.cs (4)
567
get { return (FontWeight) GetValue(
FontWeightProperty
); }
568
set { SetValue(
FontWeightProperty
, value); }
580
element.SetValue(
FontWeightProperty
, value);
591
return (FontWeight)element.GetValue(
FontWeightProperty
);
System\Windows\Documents\TextSchema.cs (1)
49
TextElement.
FontWeightProperty
,
System\Windows\FrameworkElement.cs (3)
2405
TextElement.
FontWeightProperty
.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontWeight, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontWeight)));
5576
if (ShouldUseSystemFont((FrameworkElement)o, TextElement.
FontWeightProperty
))
5612
CoerceValue(TextElement.
FontWeightProperty
);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3739
DependencyProperty dp = System.Windows.Documents.TextElement.
FontWeightProperty
;
System\Windows\Markup\KnownTypes.cs (1)
1926
return System.Windows.Documents.TextElement.
FontWeightProperty
;
System\Windows\SystemResources.cs (1)
1271
fe.CoerceValue(TextElement.
FontWeightProperty
);