35 references to FontFamilyProperty
PresentationFramework (35)
src\Framework\MS\Internal\PtsHost\FigureHelper.cs (1)
241
FontFamily pageFontFamily = (FontFamily)structuralCache.PropertyOwner.GetValue(Block.
FontFamilyProperty
);
src\Framework\MS\Internal\PtsHost\PtsHelper.cs (1)
877
FontFamily pageFontFamily = (FontFamily)structuralCache.PropertyOwner.GetValue(Block.
FontFamilyProperty
);
src\Framework\MS\Internal\PtsHost\Section.cs (2)
229
FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.
FontFamilyProperty
);
377
FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.
FontFamilyProperty
);
src\Framework\MS\Internal\PtsHost\SubpageParagraph.cs (3)
223
FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.
FontFamilyProperty
);
409
FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.
FontFamilyProperty
);
578
FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.
FontFamilyProperty
);
src\Framework\MS\Internal\Text\DynamicPropertyReader.cs (2)
49
FontFamily fontFamily = (FontFamily) element.GetValue(TextElement.
FontFamilyProperty
);
216
FontFamily fontFamily = (FontFamily)d.GetValue(TextElement.
FontFamilyProperty
);
src\Framework\System\Windows\Controls\AccessText.cs (1)
155
TextElement.
FontFamilyProperty
.AddOwner(typeof(AccessText));
src\Framework\System\Windows\Controls\Control.cs (1)
169
TextElement.
FontFamilyProperty
.AddOwner(
src\Framework\System\Windows\Controls\DataGridTextColumn.cs (3)
116
DataGridHelper.SyncColumnProperty(this, e, TextElement.
FontFamilyProperty
, FontFamilyProperty);
136
DataGridHelper.SyncColumnProperty(this, textElement, TextElement.
FontFamilyProperty
, FontFamilyProperty);
301
TextElement.
FontFamilyProperty
.AddOwner(
src\Framework\System\Windows\Controls\Page.cs (1)
479
TextElement.
FontFamilyProperty
.AddOwner(typeof(Page));
src\Framework\System\Windows\Controls\TextBlock.cs (1)
657
TextElement.
FontFamilyProperty
.AddOwner(typeof(TextBlock));
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (1)
171
return GetFontFamilyName((FontFamily)tp.GetValue(TextElement.
FontFamilyProperty
), tp);
src\Framework\System\Windows\Documents\FixedElement.cs (1)
73
TextElement.
FontFamilyProperty
.AddOwner(
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (1)
255
element.SetValue(TextElement.
FontFamilyProperty
, new FontFamily(_fontFamily));
src\Framework\System\Windows\Documents\FlowDocument.cs (1)
208
TextElement.
FontFamilyProperty
.AddOwner(_typeofThis);
src\Framework\System\windows\Documents\TextEditorCharacters.cs (1)
403
TextEditorCharacters._OnApplyProperty(This, TextElement.
FontFamilyProperty
, args.Parameter);
src\Framework\System\Windows\Documents\TextElement.cs (4)
483
get { return (FontFamily) GetValue(
FontFamilyProperty
); }
484
set { SetValue(
FontFamilyProperty
, value); }
499
element.SetValue(
FontFamilyProperty
, value);
513
return (FontFamily)element.GetValue(
FontFamilyProperty
);
src\Framework\System\Windows\Documents\TextSchema.cs (1)
50
TextElement.
FontFamilyProperty
,
src\Framework\System\windows\Documents\TextSelection.cs (1)
2243
FontFamily fontFamily = (FontFamily)currentTextSelection.GetPropertyValue(TextElement.
FontFamilyProperty
);
src\Framework\System\Windows\Documents\TextStore.cs (2)
723
(FontFamily)UiScope.GetValue(TextElement.
FontFamilyProperty
),
743
(FontFamily)position.GetValue(TextElement.
FontFamilyProperty
),
src\Framework\System\Windows\FrameworkElement.cs (3)
2410
TextElement.
FontFamilyProperty
.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontFamily, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontFamily)));
5552
if (ShouldUseSystemFont((FrameworkElement)o, TextElement.
FontFamilyProperty
))
5618
CoerceValue(TextElement.
FontFamilyProperty
);
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3648
DependencyProperty dp = System.Windows.Documents.TextElement.
FontFamilyProperty
;
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1915
return System.Windows.Documents.TextElement.
FontFamilyProperty
;
src\Framework\System\Windows\SystemResources.cs (1)
1333
fe.CoerceValue(TextElement.
FontFamilyProperty
);