46 references to FontSizeProperty
PresentationFramework (46)
src\Framework\MS\Internal\PtsHost\FigureHelper.cs (1)
243double pageFontSize = (double)structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty);
src\Framework\MS\Internal\PtsHost\PtsHelper.cs (1)
876double pageFontSize = (double)structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty);
src\Framework\MS\Internal\PtsHost\Section.cs (2)
228double pageFontSize = (double)_structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty); 376double pageFontSize = (double)_structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty);
src\Framework\MS\Internal\PtsHost\SubpageParagraph.cs (3)
222double pageFontSize = (double)_structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty); 408double pageFontSize = (double)_structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty); 577double pageFontSize = (double)_structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty);
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (2)
2098endOfParaGlyphWidth = ((double)TextParagraph.Element.GetValue(TextElement.FontSizeProperty) * CaretElement.c_endOfParaMagicMultiplier); 2213endOfParaGlyphWidth = ((double)TextParagraph.Element.GetValue(TextElement.FontSizeProperty) * CaretElement.c_endOfParaMagicMultiplier);
src\Framework\MS\Internal\Text\DynamicPropertyReader.cs (1)
217double fontSize = (double)d.GetValue(TextElement.FontSizeProperty);
src\Framework\MS\Internal\Text\TextProperties.cs (1)
209_fontSize = (double)target.GetValue(TextElement.FontSizeProperty);
src\Framework\System\Windows\Controls\AccessText.cs (1)
219TextElement.FontSizeProperty.AddOwner(typeof(AccessText));
src\Framework\System\Windows\Controls\Control.cs (1)
194TextElement.FontSizeProperty.AddOwner(
src\Framework\System\Windows\Controls\DataGridTextColumn.cs (3)
117DataGridHelper.SyncColumnProperty(this, e, TextElement.FontSizeProperty, FontSizeProperty); 139DataGridHelper.SyncColumnProperty(this, textElement, TextElement.FontSizeProperty, FontSizeProperty); 322TextElement.FontSizeProperty.AddOwner(
src\Framework\System\Windows\Controls\Page.cs (1)
501TextElement.FontSizeProperty.AddOwner(typeof(Page));
src\Framework\System\Windows\Controls\TextBlock.cs (1)
838TextElement.FontSizeProperty.AddOwner(
src\Framework\System\Windows\Controls\TextBox.cs (1)
1872double fontSize = (double)this.GetValue(TextElement.FontSizeProperty);
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (1)
181return NativeObjectLengthToPoints((double)tp.GetValue(TextElement.FontSizeProperty));
src\Framework\System\Windows\Documents\FixedElement.cs (1)
89TextElement.FontSizeProperty.AddOwner(
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (1)
240element.SetValue(TextElement.FontSizeProperty, _fontSize);
src\Framework\System\Windows\Documents\FlowDocument.cs (1)
272TextElement.FontSizeProperty.AddOwner(
src\Framework\System\windows\Documents\TextEditorCharacters.cs (7)
314double fontSize = (double)((TextSelection)This.Selection).GetCurrentValue(TextElement.FontSizeProperty); 329TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, fontSize); 335TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, OneFontPoint, /*applyToParagraphs:*/false, PropertyValueAction.IncreaseByAbsoluteValue); 356double fontSize = (double)((TextSelection)This.Selection).GetCurrentValue(TextElement.FontSizeProperty); 370TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, fontSize); 376TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, OneFontPoint, /*applyToParagraphs:*/false, PropertyValueAction.DecreaseByAbsoluteValue); 390TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, args.Parameter);
src\Framework\System\windows\Documents\TextEditorSelection.cs (1)
2266double breakWidth = (double)innerMovingPosition.GetValue(TextElement.FontSizeProperty) * CaretElement.c_endOfParaMagicMultiplier;
src\Framework\System\Windows\Documents\TextElement.cs (4)
690get { return (double) GetValue(FontSizeProperty); } 691set { SetValue(FontSizeProperty, value); } 706element.SetValue(FontSizeProperty, value); 721return (double)element.GetValue(FontSizeProperty);
src\Framework\System\Windows\Documents\TextRangeEdit.cs (1)
1888Invariant.Assert(formattingProperty == TextElement.FontSizeProperty, "Only FontSize can be incremented/decremented among character properties");
src\Framework\System\Windows\Documents\TextSchema.cs (1)
54TextElement.FontSizeProperty,
src\Framework\System\windows\Documents\TextSelection.cs (1)
2242double fontSize = (double)currentTextSelection.GetPropertyValue(TextElement.FontSizeProperty);
src\Framework\System\Windows\Documents\TextStore.cs (2)
722(double)UiScope.GetValue(TextElement.FontSizeProperty), 742(double)position.GetValue(TextElement.FontSizeProperty),
src\Framework\System\Windows\FrameworkElement.cs (3)
2411TextElement.FontSizeProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontSize, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontSize))); 5563if (ShouldUseSystemFont((FrameworkElement)o, TextElement.FontSizeProperty)) 5619CoerceValue(TextElement.FontSizeProperty);
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3665DependencyProperty dp = System.Windows.Documents.TextElement.FontSizeProperty;
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1917return System.Windows.Documents.TextElement.FontSizeProperty;
src\Framework\System\Windows\SystemResources.cs (1)
1334fe.CoerceValue(TextElement.FontSizeProperty);