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)
40FontStyle fontStyle = (FontStyle) element.GetValue(TextElement.FontStyleProperty); 51FontStyle fontStyle = (FontStyle) element.GetValue(TextElement.FontStyleProperty);
System\Windows\Controls\AccessText.cs (1)
171TextElement.FontStyleProperty.AddOwner(typeof(AccessText));
System\Windows\Controls\Control.cs (1)
232TextElement.FontStyleProperty.AddOwner(
System\Windows\Controls\DataGridTextColumn.cs (3)
113DataGridHelper.SyncColumnProperty(this, e, TextElement.FontStyleProperty, FontStyleProperty); 137DataGridHelper.SyncColumnProperty(this, textElement, TextElement.FontStyleProperty, FontStyleProperty); 340TextElement.FontStyleProperty.AddOwner(
System\Windows\Controls\TextBlock.cs (1)
660TextElement.FontStyleProperty.AddOwner(typeof(TextBlock));
System\Windows\Controls\TextRangeAdaptor.cs (1)
268FontStyle style = (FontStyle)tp.GetValue(TextElement.FontStyleProperty);
System\Windows\Documents\FixedElement.cs (1)
64TextElement.FontStyleProperty.AddOwner(
System\Windows\Documents\FixedSOMTextRun.cs (1)
235element.SetValue(TextElement.FontStyleProperty, _fontStyle);
System\Windows\Documents\FlowDocument.cs (1)
218TextElement.FontStyleProperty.AddOwner(_typeofThis);
System\windows\Documents\TextEditorCharacters.cs (2)
193object propertyValue = ((TextSelection)This.Selection).GetCurrentValue(TextElement.FontStyleProperty); 196TextEditorCharacters._OnApplyProperty(This, TextElement.FontStyleProperty, fontStyle);
System\windows\Documents\TextEditorDragDrop.cs (1)
412object fontStylePropertyValue = dragPosition.GetValue(TextElement.FontStyleProperty);
System\Windows\Documents\TextElement.cs (4)
507get { return (FontStyle) GetValue(FontStyleProperty); } 508set { SetValue(FontStyleProperty, value); } 520element.SetValue(FontStyleProperty, value); 531return (FontStyle)element.GetValue(FontStyleProperty);
System\Windows\Documents\TextSchema.cs (1)
47TextElement.FontStyleProperty,
System\windows\Documents\TextSelection.cs (2)
2028fontStylePropertyValue = ((TextSelection)textSelection).GetCurrentValue(TextElement.FontStyleProperty); 2118object fontStylePropertyValue = GetPropertyValue(TextElement.FontStyleProperty);
System\Windows\FrameworkElement.cs (3)
2395TextElement.FontStyleProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontStyle, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontStyle))); 5563if (ShouldUseSystemFont((FrameworkElement)o, TextElement.FontStyleProperty)) 5609CoerceValue(TextElement.FontStyleProperty);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3897DependencyProperty dp = System.Windows.Documents.TextElement.FontStyleProperty;
System\Windows\Markup\KnownTypes.cs (1)
1917return System.Windows.Documents.TextElement.FontStyleProperty;
System\Windows\SystemResources.cs (1)
1253fe.CoerceValue(TextElement.FontStyleProperty);