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