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