38 references to FontStyles
Microsoft.CodeAnalysis.EditorFeatures.Wpf (4)
DependencyObjectExtensions.cs (2)
18
dependencyObject.SetValue(TextElement.FontStyleProperty, textProperties.Italic ?
FontStyles
.Italic :
FontStyles
.Normal);
InlineDiagnostics\InlineDiagnosticsTag.cs (1)
62
FontStyle =
FontStyles
.Normal,
InlineHints\InlineHintsTag.cs (1)
133
FontStyle =
FontStyles
.Normal,
PresentationCore (10)
MS\Internal\FontFace\CompositeFontParser.cs (1)
650
if (!
FontStyles
.FontStyleStringToKnownStyle(GetAttributeValue(), CultureInfo.InvariantCulture, ref fontStyle))
MS\Internal\FontFace\FontDifferentiator.cs (1)
55
if (fontStyle !=
FontStyles
.Normal)
MS\Internal\Shaping\CompositeTypefaceMetrics.cs (1)
85
FontStyles
.Normal,
System\Windows\FontStyleConverter.cs (1)
85
if (!
FontStyles
.FontStyleStringToKnownStyle(s, ci, ref fontStyle))
System\Windows\FontStyles.cs (3)
40
fontStyle =
FontStyles
.Normal;
45
fontStyle =
FontStyles
.Italic;
50
fontStyle =
FontStyles
.Oblique;
System\Windows\Media\FontFamily.cs (2)
350
FontStyle style =
FontStyles
.Normal;
432
FontStyle style =
FontStyles
.Normal;
System\Windows\Media\Typeface.cs (1)
61
FontStyles
.Normal,
PresentationFramework (20)
System\Windows\Controls\TextRangeAdaptor.cs (2)
273
return (style ==
FontStyles
.Italic || style ==
FontStyles
.Oblique);
System\windows\Documents\TextEditorCharacters.cs (3)
211
FontStyle fontStyle = (propertyValue != DependencyProperty.UnsetValue && (FontStyle)propertyValue ==
FontStyles
.Italic) ?
FontStyles
.Normal :
FontStyles
.Italic;
System\windows\Documents\TextEditorDragDrop.cs (1)
431
bool italic = (_textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue ==
FontStyles
.Italic);
System\windows\Documents\TextSelection.cs (2)
2048
italic = (textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue ==
FontStyles
.Italic);
2138
italic = (_textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue ==
FontStyles
.Italic);
System\Windows\SystemFonts.cs (12)
60
return (SystemParameters.IconMetrics.lfFont.lfItalic != 0) ?
FontStyles
.Italic :
FontStyles
.Normal;
139
return (SystemParameters.NonClientMetrics.lfCaptionFont.lfItalic != 0) ?
FontStyles
.Italic :
FontStyles
.Normal;
219
return (SystemParameters.NonClientMetrics.lfSmCaptionFont.lfItalic != 0) ?
FontStyles
.Italic :
FontStyles
.Normal;
298
return (SystemParameters.NonClientMetrics.lfMenuFont.lfItalic != 0) ?
FontStyles
.Italic :
FontStyles
.Normal;
376
return (SystemParameters.NonClientMetrics.lfStatusFont.lfItalic != 0) ?
FontStyles
.Italic :
FontStyles
.Normal;
472
return (SystemParameters.NonClientMetrics.lfMessageFont.lfItalic != 0) ?
FontStyles
.Italic :
FontStyles
.Normal;
WindowsFormsIntegration (4)
System\Windows\Integration\Convert.cs (2)
234
return sdFont.Italic ?
FontStyles
.Italic :
FontStyles
.Normal;
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (2)
161
if ((SW.FontStyle)value == SW.
FontStyles
.Normal)
343
if (Host.FontStyle == SW.
FontStyles
.Normal)