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