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