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)
237FontFamily pageFontFamily = (FontFamily)structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty);
MS\Internal\PtsHost\PtsHelper.cs (1)
776FontFamily pageFontFamily = (FontFamily)structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty);
MS\Internal\PtsHost\Section.cs (2)
220FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty); 362FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty);
MS\Internal\PtsHost\SubpageParagraph.cs (3)
210FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty); 384FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty); 544FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty);
MS\Internal\Text\DynamicPropertyReader.cs (2)
46FontFamily fontFamily = (FontFamily) element.GetValue(TextElement.FontFamilyProperty); 213FontFamily fontFamily = (FontFamily)d.GetValue(TextElement.FontFamilyProperty);
System\Windows\Controls\AccessText.cs (1)
155TextElement.FontFamilyProperty.AddOwner(typeof(AccessText));
System\Windows\Controls\Control.cs (1)
168TextElement.FontFamilyProperty.AddOwner(
System\Windows\Controls\DataGridTextColumn.cs (3)
115DataGridHelper.SyncColumnProperty(this, e, TextElement.FontFamilyProperty, FontFamilyProperty); 135DataGridHelper.SyncColumnProperty(this, textElement, TextElement.FontFamilyProperty, FontFamilyProperty); 300TextElement.FontFamilyProperty.AddOwner(
System\Windows\Controls\Page.cs (1)
471TextElement.FontFamilyProperty.AddOwner(typeof(Page));
System\Windows\Controls\TextBlock.cs (1)
633TextElement.FontFamilyProperty.AddOwner(typeof(TextBlock));
System\Windows\Controls\TextRangeAdaptor.cs (1)
163return GetFontFamilyName((FontFamily)tp.GetValue(TextElement.FontFamilyProperty), tp);
System\Windows\Documents\FixedElement.cs (1)
69TextElement.FontFamilyProperty.AddOwner(
System\Windows\Documents\FixedSOMTextRun.cs (1)
250element.SetValue(TextElement.FontFamilyProperty, new FontFamily(_fontFamily));
System\Windows\Documents\FlowDocument.cs (1)
200TextElement.FontFamilyProperty.AddOwner(_typeofThis);
System\windows\Documents\TextEditorCharacters.cs (1)
401TextEditorCharacters._OnApplyProperty(This, TextElement.FontFamilyProperty, args.Parameter);
System\Windows\Documents\TextElement.cs (4)
478get { return (FontFamily) GetValue(FontFamilyProperty); } 479set { SetValue(FontFamilyProperty, value); } 491element.SetValue(FontFamilyProperty, value); 502return (FontFamily)element.GetValue(FontFamilyProperty);
System\Windows\Documents\TextSchema.cs (1)
48TextElement.FontFamilyProperty,
System\windows\Documents\TextSelection.cs (1)
2235FontFamily fontFamily = (FontFamily)currentTextSelection.GetPropertyValue(TextElement.FontFamilyProperty);
System\Windows\Documents\TextStore.cs (2)
860(FontFamily)UiScope.GetValue(TextElement.FontFamilyProperty), 880(FontFamily)position.GetValue(TextElement.FontFamilyProperty),
System\Windows\FrameworkElement.cs (3)
2413TextElement.FontFamilyProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontFamily, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontFamily))); 5554if (ShouldUseSystemFont((FrameworkElement)o, TextElement.FontFamilyProperty)) 5620CoerceValue(TextElement.FontFamilyProperty);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3673DependencyProperty dp = System.Windows.Documents.TextElement.FontFamilyProperty;
System\Windows\Markup\KnownTypes.cs (1)
1918return System.Windows.Documents.TextElement.FontFamilyProperty;
System\Windows\SystemResources.cs (1)
1275fe.CoerceValue(TextElement.FontFamilyProperty);