92 references to SystemFonts
PresentationFramework (92)
System\Windows\Controls\Control.cs (4)
160
new FrameworkPropertyMetadata(
SystemFonts
.MessageFontFamily,
185
new FrameworkPropertyMetadata(
SystemFonts
.ThemeMessageFontSize,
234
new FrameworkPropertyMetadata(
SystemFonts
.MessageFontStyle,
258
new FrameworkPropertyMetadata(
SystemFonts
.MessageFontWeight,
System\Windows\Controls\DataGridTextColumn.cs (4)
298
new FrameworkPropertyMetadata(
SystemFonts
.MessageFontFamily, FrameworkPropertyMetadataOptions.Inherits, DataGridColumn.NotifyPropertyChangeForRefreshContent));
319
new FrameworkPropertyMetadata(
SystemFonts
.ThemeMessageFontSize, FrameworkPropertyMetadataOptions.Inherits, DataGridColumn.NotifyPropertyChangeForRefreshContent));
342
new FrameworkPropertyMetadata(
SystemFonts
.MessageFontStyle, FrameworkPropertyMetadataOptions.Inherits, DataGridColumn.NotifyPropertyChangeForRefreshContent));
363
new FrameworkPropertyMetadata(
SystemFonts
.MessageFontWeight, FrameworkPropertyMetadataOptions.Inherits, DataGridColumn.NotifyPropertyChangeForRefreshContent));
System\Windows\Controls\MenuItem.cs (4)
165
FontFamilyProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(
SystemFonts
.MessageFontFamily));
166
FontSizeProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(
SystemFonts
.ThemeMessageFontSize));
167
FontStyleProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(
SystemFonts
.MessageFontStyle));
168
FontWeightProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(
SystemFonts
.MessageFontWeight));
System\Windows\Controls\StickyNote.cs (4)
313
SystemFonts
.MessageFontFamily,
336
SystemFonts
.MessageFontSize,
381
SystemFonts
.MessageFontStyle,
404
SystemFonts
.MessageFontWeight,
System\Windows\Documents\TextElement.cs (4)
449
SystemFonts
.MessageFontFamily,
499
SystemFonts
.MessageFontStyle,
544
SystemFonts
.MessageFontWeight,
634
SystemFonts
.ThemeMessageFontSize,
System\Windows\FrameworkElement.cs (8)
2393
TextElement.FontFamilyProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(
SystemFonts
.MessageFontFamily, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontFamily)));
2394
TextElement.FontSizeProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(
SystemFonts
.ThemeMessageFontSize, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontSize)));
2395
TextElement.FontStyleProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(
SystemFonts
.MessageFontStyle, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontStyle)));
2396
TextElement.FontWeightProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(
SystemFonts
.MessageFontWeight, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontWeight)));
5543
return
SystemFonts
.MessageFontFamily;
5554
return
SystemFonts
.ThemeMessageFontSize;
5565
return
SystemFonts
.MessageFontStyle;
5576
return
SystemFonts
.MessageFontWeight;
System\Windows\Markup\XamlTypeMapper.cs (1)
2890
keyObject = typeof(
SystemFonts
);
System\Windows\SystemKeyConverter.cs (1)
173
return typeof(
SystemFonts
);
System\Windows\SystemParameters.cs (2)
5183
SystemFonts
.InvalidateIconMetrics();
5281
SystemFonts
.InvalidateNonClientMetrics();
System\Windows\SystemResourceKey.cs (60)
919
return
SystemFonts
.IconFontSize;
922
return
SystemFonts
.IconFontFamily;
925
return
SystemFonts
.IconFontStyle;
928
return
SystemFonts
.IconFontWeight;
931
return
SystemFonts
.IconFontTextDecorations;
1045
return
SystemFonts
.CaptionFontSize;
1048
return
SystemFonts
.CaptionFontFamily;
1051
return
SystemFonts
.CaptionFontStyle;
1054
return
SystemFonts
.CaptionFontWeight;
1057
return
SystemFonts
.CaptionFontTextDecorations;
1060
return
SystemFonts
.SmallCaptionFontSize;
1063
return
SystemFonts
.SmallCaptionFontFamily;
1066
return
SystemFonts
.SmallCaptionFontStyle;
1069
return
SystemFonts
.SmallCaptionFontWeight;
1072
return
SystemFonts
.SmallCaptionFontTextDecorations;
1075
return
SystemFonts
.MenuFontSize;
1078
return
SystemFonts
.MenuFontFamily;
1081
return
SystemFonts
.MenuFontStyle;
1084
return
SystemFonts
.MenuFontWeight;
1087
return
SystemFonts
.MenuFontTextDecorations;
1090
return
SystemFonts
.StatusFontSize;
1093
return
SystemFonts
.StatusFontFamily;
1096
return
SystemFonts
.StatusFontStyle;
1099
return
SystemFonts
.StatusFontWeight;
1102
return
SystemFonts
.StatusFontTextDecorations;
1105
return
SystemFonts
.MessageFontSize;
1108
return
SystemFonts
.MessageFontFamily;
1111
return
SystemFonts
.MessageFontStyle;
1114
return
SystemFonts
.MessageFontWeight;
1117
return
SystemFonts
.MessageFontTextDecorations;
1603
return
SystemFonts
.IconFontSizeKey;
1606
return
SystemFonts
.IconFontFamilyKey;
1609
return
SystemFonts
.IconFontStyleKey;
1612
return
SystemFonts
.IconFontWeightKey;
1615
return
SystemFonts
.IconFontTextDecorationsKey;
1729
return
SystemFonts
.CaptionFontSizeKey;
1732
return
SystemFonts
.CaptionFontFamilyKey;
1735
return
SystemFonts
.CaptionFontStyleKey;
1738
return
SystemFonts
.CaptionFontWeightKey;
1741
return
SystemFonts
.CaptionFontTextDecorationsKey;
1744
return
SystemFonts
.SmallCaptionFontSizeKey;
1747
return
SystemFonts
.SmallCaptionFontFamilyKey;
1750
return
SystemFonts
.SmallCaptionFontStyleKey;
1753
return
SystemFonts
.SmallCaptionFontWeightKey;
1756
return
SystemFonts
.SmallCaptionFontTextDecorationsKey;
1759
return
SystemFonts
.MenuFontSizeKey;
1762
return
SystemFonts
.MenuFontFamilyKey;
1765
return
SystemFonts
.MenuFontStyleKey;
1768
return
SystemFonts
.MenuFontWeightKey;
1771
return
SystemFonts
.MenuFontTextDecorationsKey;
1774
return
SystemFonts
.StatusFontSizeKey;
1777
return
SystemFonts
.StatusFontFamilyKey;
1780
return
SystemFonts
.StatusFontStyleKey;
1783
return
SystemFonts
.StatusFontWeightKey;
1786
return
SystemFonts
.StatusFontTextDecorationsKey;
1789
return
SystemFonts
.MessageFontSizeKey;
1792
return
SystemFonts
.MessageFontFamilyKey;
1795
return
SystemFonts
.MessageFontStyleKey;
1798
return
SystemFonts
.MessageFontWeightKey;
1801
return
SystemFonts
.MessageFontTextDecorationsKey;