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