36 references to FontFamilyProperty
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
DependencyObjectExtensions.cs (1)
16dependencyObject.SetValue(TextElement.FontFamilyProperty, textProperties.Typeface.FontFamily);
PresentationFramework (35)
MS\Internal\PtsHost\FigureHelper.cs (1)
227FontFamily pageFontFamily = (FontFamily)structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty);
MS\Internal\PtsHost\PtsHelper.cs (1)
770FontFamily pageFontFamily = (FontFamily)structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty);
MS\Internal\PtsHost\Section.cs (2)
217FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty); 359FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty);
MS\Internal\PtsHost\SubpageParagraph.cs (3)
194FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty); 368FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty); 528FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty);
MS\Internal\Text\DynamicPropertyReader.cs (2)
39FontFamily fontFamily = (FontFamily) element.GetValue(TextElement.FontFamilyProperty); 206FontFamily fontFamily = (FontFamily)d.GetValue(TextElement.FontFamilyProperty);
System\Windows\Controls\AccessText.cs (1)
152TextElement.FontFamilyProperty.AddOwner(typeof(AccessText));
System\Windows\Controls\Control.cs (1)
158TextElement.FontFamilyProperty.AddOwner(
System\Windows\Controls\DataGridTextColumn.cs (3)
111DataGridHelper.SyncColumnProperty(this, e, TextElement.FontFamilyProperty, FontFamilyProperty); 131DataGridHelper.SyncColumnProperty(this, textElement, TextElement.FontFamilyProperty, FontFamilyProperty); 296TextElement.FontFamilyProperty.AddOwner(
System\Windows\Controls\Page.cs (1)
450TextElement.FontFamilyProperty.AddOwner(typeof(Page));
System\Windows\Controls\TextBlock.cs (1)
620TextElement.FontFamilyProperty.AddOwner(typeof(TextBlock));
System\Windows\Controls\TextRangeAdaptor.cs (1)
160return GetFontFamilyName((FontFamily)tp.GetValue(TextElement.FontFamilyProperty), tp);
System\Windows\Documents\FixedElement.cs (1)
60TextElement.FontFamilyProperty.AddOwner(
System\Windows\Documents\FixedSOMTextRun.cs (1)
247element.SetValue(TextElement.FontFamilyProperty, new FontFamily(_fontFamily));
System\Windows\Documents\FlowDocument.cs (1)
199TextElement.FontFamilyProperty.AddOwner(_typeofThis);
System\windows\Documents\TextEditorCharacters.cs (1)
384TextEditorCharacters._OnApplyProperty(This, TextElement.FontFamilyProperty, args.Parameter);
System\Windows\Documents\TextElement.cs (4)
462get { return (FontFamily) GetValue(FontFamilyProperty); } 463set { SetValue(FontFamilyProperty, value); } 475element.SetValue(FontFamilyProperty, value); 486return (FontFamily)element.GetValue(FontFamilyProperty);
System\Windows\Documents\TextSchema.cs (1)
46TextElement.FontFamilyProperty,
System\windows\Documents\TextSelection.cs (1)
2216FontFamily fontFamily = (FontFamily)currentTextSelection.GetPropertyValue(TextElement.FontFamilyProperty);
System\Windows\Documents\TextStore.cs (2)
848(FontFamily)UiScope.GetValue(TextElement.FontFamilyProperty), 868(FontFamily)position.GetValue(TextElement.FontFamilyProperty),
System\Windows\FrameworkElement.cs (3)
2393TextElement.FontFamilyProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontFamily, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontFamily))); 5541if (ShouldUseSystemFont((FrameworkElement)o, TextElement.FontFamilyProperty)) 5607CoerceValue(TextElement.FontFamilyProperty);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3840DependencyProperty dp = System.Windows.Documents.TextElement.FontFamilyProperty;
System\Windows\Markup\KnownTypes.cs (1)
1911return System.Windows.Documents.TextElement.FontFamilyProperty;
System\Windows\SystemResources.cs (1)
1251fe.CoerceValue(TextElement.FontFamilyProperty);