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)
41
fontStyle = FontStyles.
Italic
;
PresentationFramework (12)
System\Windows\Controls\TextRangeAdaptor.cs (1)
271
return (style == FontStyles.
Italic
|| style == FontStyles.Oblique);
System\windows\Documents\TextEditorCharacters.cs (2)
195
FontStyle fontStyle = (propertyValue != DependencyProperty.UnsetValue && (FontStyle)propertyValue == FontStyles.
Italic
) ? FontStyles.Normal : FontStyles.
Italic
;
System\windows\Documents\TextEditorDragDrop.cs (1)
414
bool italic = (_textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.
Italic
);
System\windows\Documents\TextSelection.cs (2)
2045
italic = (textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.
Italic
);
2135
italic = (_textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.
Italic
);
System\Windows\SystemFonts.cs (6)
51
return (SystemParameters.IconMetrics.lfFont.lfItalic != 0) ? FontStyles.
Italic
: FontStyles.Normal;
130
return (SystemParameters.NonClientMetrics.lfCaptionFont.lfItalic != 0) ? FontStyles.
Italic
: FontStyles.Normal;
210
return (SystemParameters.NonClientMetrics.lfSmCaptionFont.lfItalic != 0) ? FontStyles.
Italic
: FontStyles.Normal;
289
return (SystemParameters.NonClientMetrics.lfMenuFont.lfItalic != 0) ? FontStyles.
Italic
: FontStyles.Normal;
367
return (SystemParameters.NonClientMetrics.lfStatusFont.lfItalic != 0) ? FontStyles.
Italic
: FontStyles.Normal;
463
return (SystemParameters.NonClientMetrics.lfMessageFont.lfItalic != 0) ? FontStyles.
Italic
: FontStyles.Normal;
WindowsFormsIntegration (1)
System\Windows\Integration\Convert.cs (1)
231
return sdFont.Italic ? FontStyles.
Italic
: FontStyles.Normal;