29 references to FontStyleProperty
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
DependencyObjectExtensions.cs (1)
18dependencyObject.SetValue(TextElement.FontStyleProperty, textProperties.Italic ? FontStyles.Italic : FontStyles.Normal);
PresentationFramework (28)
MS\Internal\Text\DynamicPropertyReader.cs (2)
41FontStyle fontStyle = (FontStyle) element.GetValue(TextElement.FontStyleProperty); 52FontStyle fontStyle = (FontStyle) element.GetValue(TextElement.FontStyleProperty);
System\Windows\Controls\AccessText.cs (1)
172TextElement.FontStyleProperty.AddOwner(typeof(AccessText));
System\Windows\Controls\Control.cs (1)
233TextElement.FontStyleProperty.AddOwner(
System\Windows\Controls\DataGridTextColumn.cs (3)
114DataGridHelper.SyncColumnProperty(this, e, TextElement.FontStyleProperty, FontStyleProperty); 138DataGridHelper.SyncColumnProperty(this, textElement, TextElement.FontStyleProperty, FontStyleProperty); 341TextElement.FontStyleProperty.AddOwner(
System\Windows\Controls\TextBlock.cs (1)
663TextElement.FontStyleProperty.AddOwner(typeof(TextBlock));
System\Windows\Controls\TextRangeAdaptor.cs (1)
269FontStyle style = (FontStyle)tp.GetValue(TextElement.FontStyleProperty);
System\Windows\Documents\FixedElement.cs (1)
65TextElement.FontStyleProperty.AddOwner(
System\Windows\Documents\FixedSOMTextRun.cs (1)
234element.SetValue(TextElement.FontStyleProperty, _fontStyle);
System\Windows\Documents\FlowDocument.cs (1)
219TextElement.FontStyleProperty.AddOwner(_typeofThis);
System\windows\Documents\TextEditorCharacters.cs (2)
194object propertyValue = ((TextSelection)This.Selection).GetCurrentValue(TextElement.FontStyleProperty); 197TextEditorCharacters._OnApplyProperty(This, TextElement.FontStyleProperty, fontStyle);
System\windows\Documents\TextEditorDragDrop.cs (1)
413object fontStylePropertyValue = dragPosition.GetValue(TextElement.FontStyleProperty);
System\Windows\Documents\TextElement.cs (4)
522get { return (FontStyle) GetValue(FontStyleProperty); } 523set { SetValue(FontStyleProperty, value); } 535element.SetValue(FontStyleProperty, value); 546return (FontStyle)element.GetValue(FontStyleProperty);
System\Windows\Documents\TextSchema.cs (1)
48TextElement.FontStyleProperty,
System\windows\Documents\TextSelection.cs (2)
2044fontStylePropertyValue = ((TextSelection)textSelection).GetCurrentValue(TextElement.FontStyleProperty); 2134object fontStylePropertyValue = GetPropertyValue(TextElement.FontStyleProperty);
System\Windows\FrameworkElement.cs (3)
2404TextElement.FontStyleProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontStyle, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontStyle))); 5565if (ShouldUseSystemFont((FrameworkElement)o, TextElement.FontStyleProperty)) 5611CoerceValue(TextElement.FontStyleProperty);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3722DependencyProperty dp = System.Windows.Documents.TextElement.FontStyleProperty;
System\Windows\Markup\KnownTypes.cs (1)
1924return System.Windows.Documents.TextElement.FontStyleProperty;
System\Windows\SystemResources.cs (1)
1270fe.CoerceValue(TextElement.FontStyleProperty);