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