46 references to FontSizeProperty
PresentationFramework (46)
MS\Internal\PtsHost\FigureHelper.cs (1)
239double pageFontSize = (double)structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty);
MS\Internal\PtsHost\PtsHelper.cs (1)
775double pageFontSize = (double)structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty);
MS\Internal\PtsHost\Section.cs (2)
219double pageFontSize = (double)_structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty); 361double pageFontSize = (double)_structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty);
MS\Internal\PtsHost\SubpageParagraph.cs (3)
209double pageFontSize = (double)_structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty); 383double pageFontSize = (double)_structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty); 543double pageFontSize = (double)_structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty);
MS\Internal\PtsHost\TextParaClient.cs (2)
1889endOfParaGlyphWidth = ((double)TextParagraph.Element.GetValue(TextElement.FontSizeProperty) * CaretElement.c_endOfParaMagicMultiplier); 1999endOfParaGlyphWidth = ((double)TextParagraph.Element.GetValue(TextElement.FontSizeProperty) * CaretElement.c_endOfParaMagicMultiplier);
MS\Internal\Text\DynamicPropertyReader.cs (1)
214double fontSize = (double)d.GetValue(TextElement.FontSizeProperty);
MS\Internal\Text\TextProperties.cs (1)
206_fontSize = (double)target.GetValue(TextElement.FontSizeProperty);
System\Windows\Controls\AccessText.cs (1)
219TextElement.FontSizeProperty.AddOwner(typeof(AccessText));
System\Windows\Controls\Control.cs (1)
193TextElement.FontSizeProperty.AddOwner(
System\Windows\Controls\DataGridTextColumn.cs (3)
116DataGridHelper.SyncColumnProperty(this, e, TextElement.FontSizeProperty, FontSizeProperty); 138DataGridHelper.SyncColumnProperty(this, textElement, TextElement.FontSizeProperty, FontSizeProperty); 321TextElement.FontSizeProperty.AddOwner(
System\Windows\Controls\Page.cs (1)
493TextElement.FontSizeProperty.AddOwner(typeof(Page));
System\Windows\Controls\TextBlock.cs (1)
790TextElement.FontSizeProperty.AddOwner(
System\Windows\Controls\TextBox.cs (1)
1879double fontSize = (double)this.GetValue(TextElement.FontSizeProperty);
System\Windows\Controls\TextRangeAdaptor.cs (1)
173return NativeObjectLengthToPoints((double)tp.GetValue(TextElement.FontSizeProperty));
System\Windows\Documents\FixedElement.cs (1)
85TextElement.FontSizeProperty.AddOwner(
System\Windows\Documents\FixedSOMTextRun.cs (1)
235element.SetValue(TextElement.FontSizeProperty, _fontSize);
System\Windows\Documents\FlowDocument.cs (1)
264TextElement.FontSizeProperty.AddOwner(
System\windows\Documents\TextEditorCharacters.cs (7)
312double fontSize = (double)((TextSelection)This.Selection).GetCurrentValue(TextElement.FontSizeProperty); 327TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, fontSize); 333TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, OneFontPoint, /*applyToParagraphs:*/false, PropertyValueAction.IncreaseByAbsoluteValue); 354double fontSize = (double)((TextSelection)This.Selection).GetCurrentValue(TextElement.FontSizeProperty); 368TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, fontSize); 374TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, OneFontPoint, /*applyToParagraphs:*/false, PropertyValueAction.DecreaseByAbsoluteValue); 388TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, args.Parameter);
System\windows\Documents\TextEditorSelection.cs (1)
2257double breakWidth = (double)innerMovingPosition.GetValue(TextElement.FontSizeProperty) * CaretElement.c_endOfParaMagicMultiplier;
System\Windows\Documents\TextElement.cs (4)
661get { return (double) GetValue(FontSizeProperty); } 662set { SetValue(FontSizeProperty, value); } 674element.SetValue(FontSizeProperty, value); 686return (double)element.GetValue(FontSizeProperty);
System\Windows\Documents\TextRangeEdit.cs (1)
1886Invariant.Assert(formattingProperty == TextElement.FontSizeProperty, "Only FontSize can be incremented/decremented among character properties");
System\Windows\Documents\TextSchema.cs (1)
52TextElement.FontSizeProperty,
System\windows\Documents\TextSelection.cs (1)
2234double fontSize = (double)currentTextSelection.GetPropertyValue(TextElement.FontSizeProperty);
System\Windows\Documents\TextStore.cs (2)
859(double)UiScope.GetValue(TextElement.FontSizeProperty), 879(double)position.GetValue(TextElement.FontSizeProperty),
System\Windows\FrameworkElement.cs (3)
2407TextElement.FontSizeProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontSize, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontSize))); 5558if (ShouldUseSystemFont((FrameworkElement)o, TextElement.FontSizeProperty)) 5614CoerceValue(TextElement.FontSizeProperty);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3690DependencyProperty dp = System.Windows.Documents.TextElement.FontSizeProperty;
System\Windows\Markup\KnownTypes.cs (1)
1920return System.Windows.Documents.TextElement.FontSizeProperty;
System\Windows\SystemResources.cs (1)
1275fe.CoerceValue(TextElement.FontSizeProperty);