28 references to FontStyleProperty
PresentationFramework (28)
MS\Internal\Text\DynamicPropertyReader.cs (2)
47FontStyle fontStyle = (FontStyle) element.GetValue(TextElement.FontStyleProperty); 58FontStyle fontStyle = (FontStyle) element.GetValue(TextElement.FontStyleProperty);
System\Windows\Controls\AccessText.cs (1)
174TextElement.FontStyleProperty.AddOwner(typeof(AccessText));
System\Windows\Controls\Control.cs (1)
242TextElement.FontStyleProperty.AddOwner(
System\Windows\Controls\DataGridTextColumn.cs (3)
117DataGridHelper.SyncColumnProperty(this, e, TextElement.FontStyleProperty, FontStyleProperty); 141DataGridHelper.SyncColumnProperty(this, textElement, TextElement.FontStyleProperty, FontStyleProperty); 344TextElement.FontStyleProperty.AddOwner(
System\Windows\Controls\TextBlock.cs (1)
673TextElement.FontStyleProperty.AddOwner(typeof(TextBlock));
System\Windows\Controls\TextRangeAdaptor.cs (1)
271FontStyle style = (FontStyle)tp.GetValue(TextElement.FontStyleProperty);
System\Windows\Documents\FixedElement.cs (1)
73TextElement.FontStyleProperty.AddOwner(
System\Windows\Documents\FixedSOMTextRun.cs (1)
238element.SetValue(TextElement.FontStyleProperty, _fontStyle);
System\Windows\Documents\FlowDocument.cs (1)
219TextElement.FontStyleProperty.AddOwner(_typeofThis);
System\windows\Documents\TextEditorCharacters.cs (2)
210object propertyValue = ((TextSelection)This.Selection).GetCurrentValue(TextElement.FontStyleProperty); 213TextEditorCharacters._OnApplyProperty(This, TextElement.FontStyleProperty, fontStyle);
System\windows\Documents\TextEditorDragDrop.cs (1)
430object fontStylePropertyValue = dragPosition.GetValue(TextElement.FontStyleProperty);
System\Windows\Documents\TextElement.cs (4)
523get { return (FontStyle) GetValue(FontStyleProperty); } 524set { SetValue(FontStyleProperty, value); } 536element.SetValue(FontStyleProperty, value); 547return (FontStyle)element.GetValue(FontStyleProperty);
System\Windows\Documents\TextSchema.cs (1)
49TextElement.FontStyleProperty,
System\windows\Documents\TextSelection.cs (2)
2047fontStylePropertyValue = ((TextSelection)textSelection).GetCurrentValue(TextElement.FontStyleProperty); 2137object fontStylePropertyValue = GetPropertyValue(TextElement.FontStyleProperty);
System\Windows\FrameworkElement.cs (3)
2408TextElement.FontStyleProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontStyle, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontStyle))); 5569if (ShouldUseSystemFont((FrameworkElement)o, TextElement.FontStyleProperty)) 5615CoerceValue(TextElement.FontStyleProperty);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3724DependencyProperty dp = System.Windows.Documents.TextElement.FontStyleProperty;
System\Windows\Markup\KnownTypes.cs (1)
1924return System.Windows.Documents.TextElement.FontStyleProperty;
System\Windows\SystemResources.cs (1)
1276fe.CoerceValue(TextElement.FontStyleProperty);