12 instantiations of FontStyle
PresentationCore (9)
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (1)
571fontStyle = new FontStyle((int)font.Style);
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (1)
656FontStyle fontStyle = new FontStyle();
Core\CSharp\MS\Internal\FontFace\PhysicalFontFamily.cs (1)
254_style = new MatchingStyle(new FontStyle((int)face.Style), new FontWeight((int)face.Weight), new FontStretch((int)face.Stretch));
Core\CSharp\MS\Internal\FontFace\TypefaceCollection.cs (1)
187return new Typeface(_typefaceCollection._fontFamily, new FontStyle((int)face.Style), new FontWeight((int)face.Weight), new FontStretch((int)face.Stretch));
Core\CSharp\System\Windows\FontStyleConverter.cs (1)
87FontStyle fontStyle = new FontStyle();
Core\CSharp\System\Windows\FontStyles.cs (3)
25public static FontStyle Normal { get { return new FontStyle(0); } } 30public static FontStyle Oblique { get { return new FontStyle(1); } } 35public static FontStyle Italic { get { return new FontStyle(2); } }
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (1)
761return new FontStyle((int)_font.Style);
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4449bamlType.DefaultConstructor = delegate() { return new System.Windows.FontStyle(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1280case KnownElements.FontStyle: o = new System.Windows.FontStyle(); break;
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (1)
55static readonly FontStyle flowElementCaptionFontStyle = new FontStyle();
104 references to FontStyle
PresentationCore (58)
Core\CSharp\MS\Internal\FontCache\CachedTypeface.cs (3)
25private FontStyle _canonicalStyle; 33FontStyle canonicalStyle, 52internal FontStyle CanonicalStyle
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (1)
491ref FontStyle fontStyle,
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (1)
656FontStyle fontStyle = new FontStyle();
Core\CSharp\MS\Internal\FontFace\FontDifferentiator.cs (2)
30FontStyle style, 43FontStyle fontStyle,
Core\CSharp\MS\Internal\FontFace\IFontFamily.cs (2)
62FontStyle style, 71IDeviceFont GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch);
Core\CSharp\MS\Internal\FontFace\MatchingStyle.cs (1)
40FontStyle style,
Core\CSharp\MS\Internal\FontFace\PhysicalFontFamily.cs (4)
82FontStyle style, 94IDeviceFont IFontFamily.GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch) 138FontStyle style, 171FontStyle style,
Core\CSharp\MS\Internal\Shaping\CompositeFontFamily.cs (5)
211FontStyle style, 231IDeviceFont IFontFamily.GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch) 396FontStyle style, 415FontStyle style, 449FontStyle style,
Core\CSharp\MS\Internal\Shaping\CompositeTypefaceMetrics.cs (2)
38private FontStyle _style; 62FontStyle style,
Core\CSharp\MS\Internal\Shaping\TypefaceMap.cs (5)
43private FontStyle _canonicalStyle; 58FontStyle canonicalStyle, 503FontStyle canonicalStyle, 886FontStyle canonicalStyle = _canonicalStyle; 995FontStyle canonicalStyle,
Core\CSharp\System\Windows\FontStyle.cs (7)
39public static bool operator ==(FontStyle left, FontStyle right) 51public static bool operator !=(FontStyle left, FontStyle right) 62public bool Equals(FontStyle obj) 75if (!(obj is FontStyle)) 77return this == (FontStyle)obj;
Core\CSharp\System\Windows\FontStyleConverter.cs (6)
87FontStyle fontStyle = new FontStyle(); 113if (destinationType != null && value is FontStyle) 117ConstructorInfo ci = typeof(FontStyle).GetConstructor(new Type[]{typeof(int)}); 118int c = ((FontStyle)value).GetStyleForInternalConstruction(); 123FontStyle c = (FontStyle)value;
Core\CSharp\System\Windows\FontStyles.cs (4)
25public static FontStyle Normal { get { return new FontStyle(0); } } 30public static FontStyle Oblique { get { return new FontStyle(1); } } 35public static FontStyle Italic { get { return new FontStyle(2); } } 37internal static bool FontStyleStringToKnownStyle(string s, IFormatProvider provider, ref FontStyle fontStyle)
Core\CSharp\System\Windows\Media\FamilyTypeface.cs (2)
64public FontStyle Style 337private FontStyle _style;
Core\CSharp\System\Windows\Media\FontFamily.cs (4)
356FontStyle style = FontStyles.Normal; 440FontStyle style = FontStyles.Normal; 474ref FontStyle style, 519ref FontStyle style,
Core\CSharp\System\Windows\Media\FormattedText.cs (2)
691public void SetFontStyle(FontStyle style) 702public void SetFontStyle(FontStyle style, int startIndex, int count)
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (1)
755public FontStyle Style
Core\CSharp\System\Windows\Media\Typeface.cs (6)
44private FontStyle _style; 81FontStyle style, 106FontStyle style, 147public FontStyle Style 327internal FontStyle CanonicalStyle 747FontStyle canonicalStyle = _style;
PresentationFramework (44)
src\Framework\MS\Internal\Text\DynamicPropertyReader.cs (4)
50FontStyle fontStyle = (FontStyle) element.GetValue(TextElement.FontStyleProperty); 61FontStyle fontStyle = (FontStyle) element.GetValue(TextElement.FontStyleProperty);
src\Framework\System\Windows\Controls\AccessText.cs (2)
179public FontStyle FontStyle 181get { return (FontStyle) GetValue(FontStyleProperty); }
src\Framework\System\Windows\Controls\Control.cs (2)
254public FontStyle FontStyle 256get { return (FontStyle) GetValue(FontStyleProperty); }
src\Framework\System\Windows\Controls\DataGridTextColumn.cs (2)
354public FontStyle FontStyle 356get { return (FontStyle)GetValue(FontStyleProperty); }
src\Framework\System\Windows\Controls\StickyNote.cs (3)
423typeof(FontStyle), typeof(StickyNoteControl), 431public FontStyle CaptionFontStyle 433get { return (FontStyle) GetValue(CaptionFontStyleProperty); }
src\Framework\System\Windows\Controls\TextBlock.cs (5)
708public FontStyle FontStyle 710get { return (FontStyle) GetValue(FontStyleProperty); } 719public static void SetFontStyle(DependencyObject element, FontStyle value) 733public static FontStyle GetFontStyle(DependencyObject element) 740return (FontStyle)element.GetValue(FontStyleProperty);
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (2)
279FontStyle style = (FontStyle)tp.GetValue(TextElement.FontStyleProperty);
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (2)
347public FontStyle FontStyle 433private FontStyle _fontStyle;
src\Framework\System\Windows\Documents\FlowDocument.cs (2)
232public FontStyle FontStyle 234get { return (FontStyle) GetValue(FontStyleProperty); }
src\Framework\System\windows\Documents\TextEditorCharacters.cs (2)
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\TextElement.cs (6)
523typeof(FontStyle), 532public FontStyle FontStyle 534get { return (FontStyle) GetValue(FontStyleProperty); } 543public static void SetFontStyle(DependencyObject element, FontStyle value) 557public static FontStyle GetFontStyle(DependencyObject element) 564return (FontStyle)element.GetValue(FontStyleProperty);
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\Markup\Baml2006\Baml2006KnownTypes.cs (1)
311case 219: t = () => typeof(FontStyle); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4447typeof(System.Windows.FontStyle),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5763case KnownElements.FontStyle: t = typeof(System.Windows.FontStyle); break;
src\Framework\System\Windows\SystemFonts.cs (6)
52public static FontStyle IconFontStyle 131public static FontStyle CaptionFontStyle 211public static FontStyle SmallCaptionFontStyle 290public static FontStyle MenuFontStyle 368public static FontStyle StatusFontStyle 449public static FontStyle MessageFontStyle
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (2)
55static readonly FontStyle flowElementCaptionFontStyle = new FontStyle(); 160public static FontStyle FlowNodeCaptionFontStyle