47 references to FontSizeProperty
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
DependencyObjectExtensions.cs (1)
17dependencyObject.SetValue(TextElement.FontSizeProperty, textProperties.FontRenderingEmSize);
PresentationFramework (46)
MS\Internal\PtsHost\FigureHelper.cs (1)
229double pageFontSize = (double)structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty);
MS\Internal\PtsHost\PtsHelper.cs (1)
769double pageFontSize = (double)structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty);
MS\Internal\PtsHost\Section.cs (2)
216double pageFontSize = (double)_structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty); 358double pageFontSize = (double)_structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty);
MS\Internal\PtsHost\SubpageParagraph.cs (3)
193double pageFontSize = (double)_structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty); 367double pageFontSize = (double)_structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty); 527double pageFontSize = (double)_structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty);
MS\Internal\PtsHost\TextParaClient.cs (2)
1882endOfParaGlyphWidth = ((double)TextParagraph.Element.GetValue(TextElement.FontSizeProperty) * CaretElement.c_endOfParaMagicMultiplier); 1992endOfParaGlyphWidth = ((double)TextParagraph.Element.GetValue(TextElement.FontSizeProperty) * CaretElement.c_endOfParaMagicMultiplier);
MS\Internal\Text\DynamicPropertyReader.cs (1)
207double fontSize = (double)d.GetValue(TextElement.FontSizeProperty);
MS\Internal\Text\TextProperties.cs (1)
203_fontSize = (double)target.GetValue(TextElement.FontSizeProperty);
System\Windows\Controls\AccessText.cs (1)
216TextElement.FontSizeProperty.AddOwner(typeof(AccessText));
System\Windows\Controls\Control.cs (1)
183TextElement.FontSizeProperty.AddOwner(
System\Windows\Controls\DataGridTextColumn.cs (3)
112DataGridHelper.SyncColumnProperty(this, e, TextElement.FontSizeProperty, FontSizeProperty); 134DataGridHelper.SyncColumnProperty(this, textElement, TextElement.FontSizeProperty, FontSizeProperty); 317TextElement.FontSizeProperty.AddOwner(
System\Windows\Controls\Page.cs (1)
472TextElement.FontSizeProperty.AddOwner(typeof(Page));
System\Windows\Controls\TextBlock.cs (1)
777TextElement.FontSizeProperty.AddOwner(
System\Windows\Controls\TextBox.cs (1)
1873double fontSize = (double)this.GetValue(TextElement.FontSizeProperty);
System\Windows\Controls\TextRangeAdaptor.cs (1)
170return NativeObjectLengthToPoints((double)tp.GetValue(TextElement.FontSizeProperty));
System\Windows\Documents\FixedElement.cs (1)
76TextElement.FontSizeProperty.AddOwner(
System\Windows\Documents\FixedSOMTextRun.cs (1)
232element.SetValue(TextElement.FontSizeProperty, _fontSize);
System\Windows\Documents\FlowDocument.cs (1)
263TextElement.FontSizeProperty.AddOwner(
System\windows\Documents\TextEditorCharacters.cs (7)
295double fontSize = (double)((TextSelection)This.Selection).GetCurrentValue(TextElement.FontSizeProperty); 310TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, fontSize); 316TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, OneFontPoint, /*applyToParagraphs:*/false, PropertyValueAction.IncreaseByAbsoluteValue); 337double fontSize = (double)((TextSelection)This.Selection).GetCurrentValue(TextElement.FontSizeProperty); 351TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, fontSize); 357TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, OneFontPoint, /*applyToParagraphs:*/false, PropertyValueAction.DecreaseByAbsoluteValue); 371TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, args.Parameter);
System\windows\Documents\TextEditorSelection.cs (1)
2241double breakWidth = (double)innerMovingPosition.GetValue(TextElement.FontSizeProperty) * CaretElement.c_endOfParaMagicMultiplier;
System\Windows\Documents\TextElement.cs (4)
645get { return (double) GetValue(FontSizeProperty); } 646set { SetValue(FontSizeProperty, value); } 658element.SetValue(FontSizeProperty, value); 670return (double)element.GetValue(FontSizeProperty);
System\Windows\Documents\TextRangeEdit.cs (1)
1883Invariant.Assert(formattingProperty == TextElement.FontSizeProperty, "Only FontSize can be incremented/decremented among character properties");
System\Windows\Documents\TextSchema.cs (1)
50TextElement.FontSizeProperty,
System\windows\Documents\TextSelection.cs (1)
2215double fontSize = (double)currentTextSelection.GetPropertyValue(TextElement.FontSizeProperty);
System\Windows\Documents\TextStore.cs (2)
847(double)UiScope.GetValue(TextElement.FontSizeProperty), 867(double)position.GetValue(TextElement.FontSizeProperty),
System\Windows\FrameworkElement.cs (3)
2394TextElement.FontSizeProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.ThemeMessageFontSize, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontSize))); 5552if (ShouldUseSystemFont((FrameworkElement)o, TextElement.FontSizeProperty)) 5608CoerceValue(TextElement.FontSizeProperty);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3859DependencyProperty dp = System.Windows.Documents.TextElement.FontSizeProperty;
System\Windows\Markup\KnownTypes.cs (1)
1913return System.Windows.Documents.TextElement.FontSizeProperty;
System\Windows\SystemResources.cs (1)
1252fe.CoerceValue(TextElement.FontSizeProperty);