28 references to FontStyleProperty
PresentationFramework (28)
src\Framework\MS\Internal\Text\DynamicPropertyReader.cs (2)
50FontStyle fontStyle = (FontStyle) element.GetValue(TextElement.FontStyleProperty); 61FontStyle fontStyle = (FontStyle) element.GetValue(TextElement.FontStyleProperty);
src\Framework\System\Windows\Controls\AccessText.cs (1)
174TextElement.FontStyleProperty.AddOwner(typeof(AccessText));
src\Framework\System\Windows\Controls\Control.cs (1)
243TextElement.FontStyleProperty.AddOwner(
src\Framework\System\Windows\Controls\DataGridTextColumn.cs (3)
118DataGridHelper.SyncColumnProperty(this, e, TextElement.FontStyleProperty, FontStyleProperty); 142DataGridHelper.SyncColumnProperty(this, textElement, TextElement.FontStyleProperty, FontStyleProperty); 345TextElement.FontStyleProperty.AddOwner(
src\Framework\System\Windows\Controls\TextBlock.cs (1)
703TextElement.FontStyleProperty.AddOwner(typeof(TextBlock));
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (1)
279FontStyle style = (FontStyle)tp.GetValue(TextElement.FontStyleProperty);
src\Framework\System\Windows\Documents\FixedElement.cs (1)
77TextElement.FontStyleProperty.AddOwner(
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (1)
243element.SetValue(TextElement.FontStyleProperty, _fontStyle);
src\Framework\System\Windows\Documents\FlowDocument.cs (1)
227TextElement.FontStyleProperty.AddOwner(_typeofThis);
src\Framework\System\windows\Documents\TextEditorCharacters.cs (2)
212object propertyValue = ((TextSelection)This.Selection).GetCurrentValue(TextElement.FontStyleProperty); 215TextEditorCharacters._OnApplyProperty(This, TextElement.FontStyleProperty, fontStyle);
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (1)
442object fontStylePropertyValue = dragPosition.GetValue(TextElement.FontStyleProperty);
src\Framework\System\Windows\Documents\TextElement.cs (4)
534get { return (FontStyle) GetValue(FontStyleProperty); } 535set { SetValue(FontStyleProperty, value); } 550element.SetValue(FontStyleProperty, value); 564return (FontStyle)element.GetValue(FontStyleProperty);
src\Framework\System\Windows\Documents\TextSchema.cs (1)
51TextElement.FontStyleProperty,
src\Framework\System\windows\Documents\TextSelection.cs (2)
2055fontStylePropertyValue = ((TextSelection)textSelection).GetCurrentValue(TextElement.FontStyleProperty); 2145object fontStylePropertyValue = GetPropertyValue(TextElement.FontStyleProperty);
src\Framework\System\Windows\FrameworkElement.cs (3)
2412TextElement.FontStyleProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontStyle, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontStyle))); 5574if (ShouldUseSystemFont((FrameworkElement)o, TextElement.FontStyleProperty)) 5620CoerceValue(TextElement.FontStyleProperty);
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3699DependencyProperty dp = System.Windows.Documents.TextElement.FontStyleProperty;
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1921return System.Windows.Documents.TextElement.FontStyleProperty;
src\Framework\System\Windows\SystemResources.cs (1)
1335fe.CoerceValue(TextElement.FontStyleProperty);