11 instantiations of FontStyle
PresentationCore (9)
MS\Internal\FontCache\FamilyCollection.cs (1)
406fontStyle = new FontStyle((int)font.Style);
MS\Internal\FontFace\CompositeFontParser.cs (1)
638FontStyle 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)
4822DefaultConstructor = delegate () { return new System.Windows.FontStyle(); },
System\Windows\Markup\KnownTypes.cs (1)
1273case 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)
326ref FontStyle fontStyle,
MS\Internal\FontFace\CompositeFontParser.cs (1)
638FontStyle 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)
328FontStyle style = FontStyles.Normal; 410FontStyle style = FontStyles.Normal; 439ref FontStyle style, 477ref FontStyle style,
System\Windows\Media\FormattedText.cs (2)
653public void SetFontStyle(FontStyle style) 664public 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)
380typeof(FontStyle), typeof(StickyNoteControl), 388public FontStyle CaptionFontStyle 390get { return (FontStyle) GetValue(CaptionFontStyleProperty); }
System\Windows\Controls\TextBlock.cs (5)
666public FontStyle FontStyle 668get { return (FontStyle) GetValue(FontStyleProperty); } 677public static void SetFontStyle(DependencyObject element, FontStyle value) 688public static FontStyle GetFontStyle(DependencyObject element) 692return (FontStyle)element.GetValue(FontStyleProperty);
System\Windows\Controls\TextRangeAdaptor.cs (2)
269FontStyle style = (FontStyle)tp.GetValue(TextElement.FontStyleProperty);
System\Windows\Documents\FixedSOMTextRun.cs (2)
340public FontStyle FontStyle 428private 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)
497typeof(FontStyle), 506public FontStyle FontStyle 508get { return (FontStyle) GetValue(FontStyleProperty); } 517public static void SetFontStyle(DependencyObject element, FontStyle value) 528public static FontStyle GetFontStyle(DependencyObject element) 532return (FontStyle)element.GetValue(FontStyleProperty);
System\windows\Documents\TextSelection.cs (2)
2030italic = (textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic); 2120italic = (_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)
4819typeof(System.Windows.FontStyle),
System\Windows\Markup\KnownTypes.cs (1)
5767case 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)
230internal static FontStyle ToSystemWindowsFontStyle(SD.Font sdFont)
System\Windows\Integration\WindowsFormsHost.cs (2)
633public SW.FontStyle FontStyle 635get { return (FontStyle)GetValue(FontStyleProperty); }
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (2)
157if (value is SW.FontStyle) 160if ((SW.FontStyle)value == SW.FontStyles.Normal)