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)
238double pageFontSize = (double)structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty);
MS\Internal\PtsHost\PtsHelper.cs (1)
770double pageFontSize = (double)structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty);
MS\Internal\PtsHost\Section.cs (2)
217double pageFontSize = (double)_structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty); 359double pageFontSize = (double)_structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty);
MS\Internal\PtsHost\SubpageParagraph.cs (3)
204double pageFontSize = (double)_structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty); 378double pageFontSize = (double)_structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty); 538double pageFontSize = (double)_structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty);
MS\Internal\PtsHost\TextParaClient.cs (2)
1883endOfParaGlyphWidth = ((double)TextParagraph.Element.GetValue(TextElement.FontSizeProperty) * CaretElement.c_endOfParaMagicMultiplier); 1993endOfParaGlyphWidth = ((double)TextParagraph.Element.GetValue(TextElement.FontSizeProperty) * CaretElement.c_endOfParaMagicMultiplier);
MS\Internal\Text\DynamicPropertyReader.cs (1)
208double fontSize = (double)d.GetValue(TextElement.FontSizeProperty);
MS\Internal\Text\TextProperties.cs (1)
204_fontSize = (double)target.GetValue(TextElement.FontSizeProperty);
System\Windows\Controls\AccessText.cs (1)
217TextElement.FontSizeProperty.AddOwner(typeof(AccessText));
System\Windows\Controls\Control.cs (1)
184TextElement.FontSizeProperty.AddOwner(
System\Windows\Controls\DataGridTextColumn.cs (3)
113DataGridHelper.SyncColumnProperty(this, e, TextElement.FontSizeProperty, FontSizeProperty); 135DataGridHelper.SyncColumnProperty(this, textElement, TextElement.FontSizeProperty, FontSizeProperty); 318TextElement.FontSizeProperty.AddOwner(
System\Windows\Controls\Page.cs (1)
486TextElement.FontSizeProperty.AddOwner(typeof(Page));
System\Windows\Controls\TextBlock.cs (1)
780TextElement.FontSizeProperty.AddOwner(
System\Windows\Controls\TextBox.cs (1)
1872double fontSize = (double)this.GetValue(TextElement.FontSizeProperty);
System\Windows\Controls\TextRangeAdaptor.cs (1)
171return NativeObjectLengthToPoints((double)tp.GetValue(TextElement.FontSizeProperty));
System\Windows\Documents\FixedElement.cs (1)
77TextElement.FontSizeProperty.AddOwner(
System\Windows\Documents\FixedSOMTextRun.cs (1)
231element.SetValue(TextElement.FontSizeProperty, _fontSize);
System\Windows\Documents\FlowDocument.cs (1)
264TextElement.FontSizeProperty.AddOwner(
System\windows\Documents\TextEditorCharacters.cs (7)
296double fontSize = (double)((TextSelection)This.Selection).GetCurrentValue(TextElement.FontSizeProperty); 311TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, fontSize); 317TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, OneFontPoint, /*applyToParagraphs:*/false, PropertyValueAction.IncreaseByAbsoluteValue); 338double fontSize = (double)((TextSelection)This.Selection).GetCurrentValue(TextElement.FontSizeProperty); 352TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, fontSize); 358TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, OneFontPoint, /*applyToParagraphs:*/false, PropertyValueAction.DecreaseByAbsoluteValue); 372TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, args.Parameter);
System\windows\Documents\TextEditorSelection.cs (1)
2242double breakWidth = (double)innerMovingPosition.GetValue(TextElement.FontSizeProperty) * CaretElement.c_endOfParaMagicMultiplier;
System\Windows\Documents\TextElement.cs (4)
660get { return (double) GetValue(FontSizeProperty); } 661set { SetValue(FontSizeProperty, value); } 673element.SetValue(FontSizeProperty, value); 685return (double)element.GetValue(FontSizeProperty);
System\Windows\Documents\TextRangeEdit.cs (1)
1884Invariant.Assert(formattingProperty == TextElement.FontSizeProperty, "Only FontSize can be incremented/decremented among character properties");
System\Windows\Documents\TextSchema.cs (1)
51TextElement.FontSizeProperty,
System\windows\Documents\TextSelection.cs (1)
2231double fontSize = (double)currentTextSelection.GetPropertyValue(TextElement.FontSizeProperty);
System\Windows\Documents\TextStore.cs (2)
848(double)UiScope.GetValue(TextElement.FontSizeProperty), 868(double)position.GetValue(TextElement.FontSizeProperty),
System\Windows\FrameworkElement.cs (3)
2403TextElement.FontSizeProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.ThemeMessageFontSize, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontSize))); 5554if (ShouldUseSystemFont((FrameworkElement)o, TextElement.FontSizeProperty)) 5610CoerceValue(TextElement.FontSizeProperty);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3688DependencyProperty dp = System.Windows.Documents.TextElement.FontSizeProperty;
System\Windows\Markup\KnownTypes.cs (1)
1920return System.Windows.Documents.TextElement.FontSizeProperty;
System\Windows\SystemResources.cs (1)
1269fe.CoerceValue(TextElement.FontSizeProperty);