15 references to Italic
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
DependencyObjectExtensions.cs (1)
18
dependencyObject.SetValue(TextElement.FontStyleProperty, textProperties.Italic ? FontStyles.
Italic
: FontStyles.Normal);
PresentationCore (1)
System\Windows\FontStyles.cs (1)
45
fontStyle = FontStyles.
Italic
;
PresentationFramework (12)
System\Windows\Controls\TextRangeAdaptor.cs (1)
273
return (style == FontStyles.
Italic
|| style == FontStyles.Oblique);
System\windows\Documents\TextEditorCharacters.cs (2)
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 (6)
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 (1)
System\Windows\Integration\Convert.cs (1)
234
return sdFont.Italic ? FontStyles.
Italic
: FontStyles.Normal;