11 instantiations of FontStyle
PresentationCore (9)
MS\Internal\FontCache\FamilyCollection.cs (1)
409fontStyle = new FontStyle((int)font.Style);
MS\Internal\FontFace\CompositeFontParser.cs (1)
637FontStyle fontStyle = new FontStyle();
MS\Internal\FontFace\PhysicalFontFamily.cs (1)
216_style = new MatchingStyle(new FontStyle((int)face.Style), new FontWeight((int)face.Weight), new FontStretch((int)face.Stretch));
MS\Internal\FontFace\TypefaceCollection.cs (1)
156return new Typeface(_typefaceCollection._fontFamily, new FontStyle((int)face.Style), new FontWeight((int)face.Weight), new FontStretch((int)face.Stretch));
System\Windows\FontStyleConverter.cs (1)
69FontStyle fontStyle = new FontStyle();
System\Windows\FontStyles.cs (3)
20public static FontStyle Normal { get { return new FontStyle(0); } } 25public static FontStyle Oblique { get { return new FontStyle(1); } } 30public static FontStyle Italic { get { return new FontStyle(2); } }
System\Windows\Media\GlyphTypeface.cs (1)
565return new FontStyle((int)_font.Style);
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4451bamlType.DefaultConstructor = delegate() { return new System.Windows.FontStyle(); };
System\Windows\Markup\KnownTypes.cs (1)
1279case KnownElements.FontStyle: o = new System.Windows.FontStyle(); break;
107 references to FontStyle
PresentationCore (58)
MS\Internal\FontCache\CachedTypeface.cs (3)
23private FontStyle _canonicalStyle; 31FontStyle canonicalStyle, 50internal FontStyle CanonicalStyle
MS\Internal\FontCache\FamilyCollection.cs (1)
329ref FontStyle fontStyle,
MS\Internal\FontFace\CompositeFontParser.cs (1)
637FontStyle fontStyle = new FontStyle();
MS\Internal\FontFace\FontDifferentiator.cs (2)
25FontStyle style, 38FontStyle fontStyle,
MS\Internal\FontFace\IFontFamily.cs (2)
56FontStyle style, 65IDeviceFont GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch);
MS\Internal\FontFace\MatchingStyle.cs (1)
31FontStyle style,
MS\Internal\FontFace\PhysicalFontFamily.cs (4)
69FontStyle style, 81IDeviceFont IFontFamily.GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch) 112FontStyle style, 137FontStyle style,
MS\Internal\Shaping\CompositeFontFamily.cs (5)
194FontStyle style, 214IDeviceFont IFontFamily.GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch) 379FontStyle style, 398FontStyle style, 432FontStyle style,
MS\Internal\Shaping\CompositeTypefaceMetrics.cs (2)
32private FontStyle _style; 56FontStyle style,
MS\Internal\Shaping\TypefaceMap.cs (5)
33private FontStyle _canonicalStyle; 48FontStyle canonicalStyle, 486FontStyle canonicalStyle, 869FontStyle canonicalStyle = _canonicalStyle; 978FontStyle canonicalStyle,
System\Windows\FontStyle.cs (7)
35public static bool operator ==(FontStyle left, FontStyle right) 47public static bool operator !=(FontStyle left, FontStyle right) 58public bool Equals(FontStyle obj) 71if (!(obj is FontStyle)) 73return this == (FontStyle)obj;
System\Windows\FontStyleConverter.cs (6)
69FontStyle fontStyle = new FontStyle(); 90if (destinationType != null && value is FontStyle) 94ConstructorInfo ci = typeof(FontStyle).GetConstructor(new Type[]{typeof(int)}); 95int c = ((FontStyle)value).GetStyleForInternalConstruction(); 100FontStyle c = (FontStyle)value;
System\Windows\FontStyles.cs (4)
20public static FontStyle Normal { get { return new FontStyle(0); } } 25public static FontStyle Oblique { get { return new FontStyle(1); } } 30public static FontStyle Italic { get { return new FontStyle(2); } } 32internal static bool FontStyleStringToKnownStyle(string s, IFormatProvider provider, ref FontStyle fontStyle)
System\Windows\Media\FamilyTypeface.cs (2)
45public FontStyle Style 314private FontStyle _style;
System\Windows\Media\FontFamily.cs (4)
331FontStyle style = FontStyles.Normal; 413FontStyle style = FontStyles.Normal; 442ref FontStyle style, 480ref FontStyle style,
System\Windows\Media\FormattedText.cs (2)
663public void SetFontStyle(FontStyle style) 674public void SetFontStyle(FontStyle style, int startIndex, int count)
System\Windows\Media\GlyphTypeface.cs (1)
560public FontStyle Style
System\Windows\Media\Typeface.cs (6)
32private FontStyle _style; 69FontStyle style, 94FontStyle style, 132public FontStyle Style 312internal FontStyle CanonicalStyle 732FontStyle canonicalStyle = _style;
PresentationFramework (44)
MS\Internal\Text\DynamicPropertyReader.cs (4)
41FontStyle fontStyle = (FontStyle) element.GetValue(TextElement.FontStyleProperty); 52FontStyle fontStyle = (FontStyle) element.GetValue(TextElement.FontStyleProperty);
System\Windows\Controls\AccessText.cs (2)
177public FontStyle FontStyle 179get { return (FontStyle) GetValue(FontStyleProperty); }
System\Windows\Controls\Control.cs (2)
244public FontStyle FontStyle 246get { return (FontStyle) GetValue(FontStyleProperty); }
System\Windows\Controls\DataGridTextColumn.cs (2)
350public FontStyle FontStyle 352get { return (FontStyle)GetValue(FontStyleProperty); }
System\Windows\Controls\StickyNote.cs (3)
397typeof(FontStyle), typeof(StickyNoteControl), 405public FontStyle CaptionFontStyle 407get { return (FontStyle) GetValue(CaptionFontStyleProperty); }
System\Windows\Controls\TextBlock.cs (5)
668public FontStyle FontStyle 670get { return (FontStyle) GetValue(FontStyleProperty); } 679public static void SetFontStyle(DependencyObject element, FontStyle value) 690public static FontStyle GetFontStyle(DependencyObject element) 694return (FontStyle)element.GetValue(FontStyleProperty);
System\Windows\Controls\TextRangeAdaptor.cs (2)
269FontStyle style = (FontStyle)tp.GetValue(TextElement.FontStyleProperty);
System\Windows\Documents\FixedSOMTextRun.cs (2)
338public FontStyle FontStyle 424private FontStyle _fontStyle;
System\Windows\Documents\FlowDocument.cs (2)
224public FontStyle FontStyle 226get { return (FontStyle) GetValue(FontStyleProperty); }
System\windows\Documents\TextEditorCharacters.cs (2)
195FontStyle fontStyle = (propertyValue != DependencyProperty.UnsetValue && (FontStyle)propertyValue == FontStyles.Italic) ? FontStyles.Normal : FontStyles.Italic;
System\windows\Documents\TextEditorDragDrop.cs (1)
414bool italic = (_textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic);
System\Windows\Documents\TextElement.cs (6)
511typeof(FontStyle), 520public FontStyle FontStyle 522get { return (FontStyle) GetValue(FontStyleProperty); } 531public static void SetFontStyle(DependencyObject element, FontStyle value) 542public static FontStyle GetFontStyle(DependencyObject element) 546return (FontStyle)element.GetValue(FontStyleProperty);
System\windows\Documents\TextSelection.cs (2)
2045italic = (textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic); 2135italic = (_textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
313case 219: t = () => typeof(FontStyle); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4449typeof(System.Windows.FontStyle),
System\Windows\Markup\KnownTypes.cs (1)
5773case KnownElements.FontStyle: t = typeof(System.Windows.FontStyle); break;
System\Windows\SystemFonts.cs (6)
47public static FontStyle IconFontStyle 126public static FontStyle CaptionFontStyle 206public static FontStyle SmallCaptionFontStyle 285public static FontStyle MenuFontStyle 363public static FontStyle StatusFontStyle 459public static FontStyle MessageFontStyle
WindowsFormsIntegration (5)
System\Windows\Integration\Convert.cs (1)
229internal static FontStyle ToSystemWindowsFontStyle(SD.Font sdFont)
System\Windows\Integration\WindowsFormsHost.cs (2)
651public SW.FontStyle FontStyle 653get { return (FontStyle)GetValue(FontStyleProperty); }
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (2)
157if (value is SW.FontStyle) 160if ((SW.FontStyle)value == SW.FontStyles.Normal)