35 references to FontStyles
PresentationCore (10)
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (1)
657if (!FontStyles.FontStyleStringToKnownStyle(GetAttributeValue(), CultureInfo.InvariantCulture, ref fontStyle))
Core\CSharp\MS\Internal\FontFace\FontDifferentiator.cs (1)
58if (fontStyle != FontStyles.Normal)
Core\CSharp\MS\Internal\Shaping\CompositeTypefaceMetrics.cs (1)
87FontStyles.Normal,
Core\CSharp\System\Windows\FontStyleConverter.cs (1)
88if (!FontStyles.FontStyleStringToKnownStyle(s, ci, ref fontStyle))
Core\CSharp\System\Windows\FontStyles.cs (3)
41fontStyle = FontStyles.Normal; 46fontStyle = FontStyles.Italic; 51fontStyle = FontStyles.Oblique;
Core\CSharp\System\Windows\Media\FontFamily.cs (2)
356FontStyle style = FontStyles.Normal; 440FontStyle style = FontStyles.Normal;
Core\CSharp\System\Windows\Media\Typeface.cs (1)
64FontStyles.Normal,
PresentationFramework (20)
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (2)
281return (style == FontStyles.Italic || style == FontStyles.Oblique);
src\Framework\System\windows\Documents\TextEditorCharacters.cs (3)
213FontStyle fontStyle = (propertyValue != DependencyProperty.UnsetValue && (FontStyle)propertyValue == FontStyles.Italic) ? FontStyles.Normal : FontStyles.Italic;
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (1)
443bool italic = (_textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic);
src\Framework\System\windows\Documents\TextSelection.cs (2)
2056italic = (textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic); 2146italic = (_textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic);
src\Framework\System\Windows\SystemFonts.cs (12)
56return (SystemParameters.IconMetrics.lfFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal; 135return (SystemParameters.NonClientMetrics.lfCaptionFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal; 215return (SystemParameters.NonClientMetrics.lfSmCaptionFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal; 294return (SystemParameters.NonClientMetrics.lfMenuFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal; 372return (SystemParameters.NonClientMetrics.lfStatusFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal; 453return (SystemParameters.NonClientMetrics.lfMessageFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
System.Activities.Presentation (5)
System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (3)
127this.textBox.FontStyle = FontStyles.Italic; 144inputTextBox.FontStyle = FontStyles.Normal; 158inputTextBox.FontStyle = FontStyles.Italic;
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (1)
79this.text.FontStyle = FontStyles.Italic;
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (1)
95text.FontStyle = FontStyles.Italic;