11 instantiations of FontStyle
PresentationCore (9)
MS\Internal\FontCache\FamilyCollection.cs (1)
405fontStyle = new FontStyle((int)font.Style);
MS\Internal\FontFace\CompositeFontParser.cs (1)
637FontStyle fontStyle = new FontStyle();
MS\Internal\FontFace\PhysicalFontFamily.cs (1)
215_style = new MatchingStyle(new FontStyle((int)face.Style), new FontWeight((int)face.Weight), new FontStretch((int)face.Stretch));
MS\Internal\FontFace\TypefaceCollection.cs (1)
155return new Typeface(_typefaceCollection._fontFamily, new FontStyle((int)face.Style), new FontWeight((int)face.Weight), new FontStretch((int)face.Stretch));
System\Windows\FontStyleConverter.cs (1)
68FontStyle fontStyle = new FontStyle();
System\Windows\FontStyles.cs (3)
19public static FontStyle Normal { get { return new FontStyle(0); } } 24public static FontStyle Oblique { get { return new FontStyle(1); } } 29public static FontStyle Italic { get { return new FontStyle(2); } }
System\Windows\Media\GlyphTypeface.cs (1)
564return new FontStyle((int)_font.Style);
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4821DefaultConstructor = delegate () { return new System.Windows.FontStyle(); },
System\Windows\Markup\KnownTypes.cs (1)
1272case KnownElements.FontStyle: o = new System.Windows.FontStyle(); break;
107 references to FontStyle
PresentationCore (58)
MS\Internal\FontCache\CachedTypeface.cs (3)
22private FontStyle _canonicalStyle; 30FontStyle canonicalStyle, 49internal FontStyle CanonicalStyle
MS\Internal\FontCache\FamilyCollection.cs (1)
325ref FontStyle fontStyle,
MS\Internal\FontFace\CompositeFontParser.cs (1)
637FontStyle fontStyle = new FontStyle();
MS\Internal\FontFace\FontDifferentiator.cs (2)
24FontStyle style, 37FontStyle fontStyle,
MS\Internal\FontFace\IFontFamily.cs (2)
55FontStyle style, 64IDeviceFont GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch);
MS\Internal\FontFace\MatchingStyle.cs (1)
30FontStyle style,
MS\Internal\FontFace\PhysicalFontFamily.cs (4)
68FontStyle style, 80IDeviceFont IFontFamily.GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch) 111FontStyle style, 136FontStyle style,
MS\Internal\Shaping\CompositeFontFamily.cs (5)
193FontStyle style, 213IDeviceFont IFontFamily.GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch) 378FontStyle style, 397FontStyle style, 431FontStyle style,
MS\Internal\Shaping\CompositeTypefaceMetrics.cs (2)
31private FontStyle _style; 55FontStyle style,
MS\Internal\Shaping\TypefaceMap.cs (5)
32private FontStyle _canonicalStyle; 47FontStyle canonicalStyle, 485FontStyle canonicalStyle, 868FontStyle canonicalStyle = _canonicalStyle; 977FontStyle canonicalStyle,
System\Windows\FontStyle.cs (7)
34public static bool operator ==(FontStyle left, FontStyle right) 46public static bool operator !=(FontStyle left, FontStyle right) 57public bool Equals(FontStyle obj) 70if (!(obj is FontStyle)) 72return this == (FontStyle)obj;
System\Windows\FontStyleConverter.cs (6)
68FontStyle fontStyle = new FontStyle(); 89if (destinationType != null && value is FontStyle) 93ConstructorInfo ci = typeof(FontStyle).GetConstructor(new Type[]{typeof(int)}); 94int c = ((FontStyle)value).GetStyleForInternalConstruction(); 99FontStyle c = (FontStyle)value;
System\Windows\FontStyles.cs (4)
19public static FontStyle Normal { get { return new FontStyle(0); } } 24public static FontStyle Oblique { get { return new FontStyle(1); } } 29public static FontStyle Italic { get { return new FontStyle(2); } } 31internal static bool FontStyleStringToKnownStyle(string s, IFormatProvider provider, ref FontStyle fontStyle)
System\Windows\Media\FamilyTypeface.cs (2)
44public FontStyle Style 313private FontStyle _style;
System\Windows\Media\FontFamily.cs (4)
327FontStyle style = FontStyles.Normal; 409FontStyle style = FontStyles.Normal; 438ref FontStyle style, 476ref FontStyle style,
System\Windows\Media\FormattedText.cs (2)
652public void SetFontStyle(FontStyle style) 663public void SetFontStyle(FontStyle style, int startIndex, int count)
System\Windows\Media\GlyphTypeface.cs (1)
559public FontStyle Style
System\Windows\Media\Typeface.cs (6)
31private FontStyle _style; 68FontStyle style, 93FontStyle style, 131public FontStyle Style 311internal FontStyle CanonicalStyle 731FontStyle canonicalStyle = _style;
PresentationFramework (44)
MS\Internal\Text\DynamicPropertyReader.cs (4)
40FontStyle fontStyle = (FontStyle) element.GetValue(TextElement.FontStyleProperty); 51FontStyle fontStyle = (FontStyle) element.GetValue(TextElement.FontStyleProperty);
System\Windows\Controls\AccessText.cs (2)
176public FontStyle FontStyle 178get { return (FontStyle) GetValue(FontStyleProperty); }
System\Windows\Controls\Control.cs (2)
243public FontStyle FontStyle 245get { return (FontStyle) GetValue(FontStyleProperty); }
System\Windows\Controls\DataGridTextColumn.cs (2)
349public FontStyle FontStyle 351get { return (FontStyle)GetValue(FontStyleProperty); }
System\Windows\Controls\StickyNote.cs (3)
379typeof(FontStyle), typeof(StickyNoteControl), 387public FontStyle CaptionFontStyle 389get { return (FontStyle) GetValue(CaptionFontStyleProperty); }
System\Windows\Controls\TextBlock.cs (5)
665public FontStyle FontStyle 667get { return (FontStyle) GetValue(FontStyleProperty); } 676public static void SetFontStyle(DependencyObject element, FontStyle value) 687public static FontStyle GetFontStyle(DependencyObject element) 691return (FontStyle)element.GetValue(FontStyleProperty);
System\Windows\Controls\TextRangeAdaptor.cs (2)
268FontStyle style = (FontStyle)tp.GetValue(TextElement.FontStyleProperty);
System\Windows\Documents\FixedSOMTextRun.cs (2)
339public FontStyle FontStyle 427private FontStyle _fontStyle;
System\Windows\Documents\FlowDocument.cs (2)
223public FontStyle FontStyle 225get { return (FontStyle) GetValue(FontStyleProperty); }
System\windows\Documents\TextEditorCharacters.cs (2)
194FontStyle fontStyle = (propertyValue != DependencyProperty.UnsetValue && (FontStyle)propertyValue == FontStyles.Italic) ? FontStyles.Normal : FontStyles.Italic;
System\windows\Documents\TextEditorDragDrop.cs (1)
413bool italic = (_textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic);
System\Windows\Documents\TextElement.cs (6)
496typeof(FontStyle), 505public FontStyle FontStyle 507get { return (FontStyle) GetValue(FontStyleProperty); } 516public static void SetFontStyle(DependencyObject element, FontStyle value) 527public static FontStyle GetFontStyle(DependencyObject element) 531return (FontStyle)element.GetValue(FontStyleProperty);
System\windows\Documents\TextSelection.cs (2)
2029italic = (textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic); 2119italic = (_textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
312case 219: t = () => typeof(FontStyle); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4818typeof(System.Windows.FontStyle),
System\Windows\Markup\KnownTypes.cs (1)
5766case KnownElements.FontStyle: t = typeof(System.Windows.FontStyle); break;
System\Windows\SystemFonts.cs (6)
46public static FontStyle IconFontStyle 125public static FontStyle CaptionFontStyle 205public static FontStyle SmallCaptionFontStyle 284public static FontStyle MenuFontStyle 362public static FontStyle StatusFontStyle 458public static FontStyle MessageFontStyle
WindowsFormsIntegration (5)
System\Windows\Integration\Convert.cs (1)
229internal static FontStyle ToSystemWindowsFontStyle(SD.Font sdFont)
System\Windows\Integration\WindowsFormsHost.cs (2)
632public SW.FontStyle FontStyle 634get { return (FontStyle)GetValue(FontStyleProperty); }
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (2)
156if (value is SW.FontStyle) 159if ((SW.FontStyle)value == SW.FontStyles.Normal)