101 references to SystemFonts
PresentationFramework (92)
src\Framework\System\Windows\Controls\Control.cs (4)
171
new FrameworkPropertyMetadata(
SystemFonts
.MessageFontFamily,
196
new FrameworkPropertyMetadata(
SystemFonts
.MessageFontSize,
245
new FrameworkPropertyMetadata(
SystemFonts
.MessageFontStyle,
269
new FrameworkPropertyMetadata(
SystemFonts
.MessageFontWeight,
src\Framework\System\Windows\Controls\DataGridTextColumn.cs (4)
303
new FrameworkPropertyMetadata(
SystemFonts
.MessageFontFamily, FrameworkPropertyMetadataOptions.Inherits, DataGridColumn.NotifyPropertyChangeForRefreshContent));
324
new FrameworkPropertyMetadata(
SystemFonts
.MessageFontSize, FrameworkPropertyMetadataOptions.Inherits, DataGridColumn.NotifyPropertyChangeForRefreshContent));
347
new FrameworkPropertyMetadata(
SystemFonts
.MessageFontStyle, FrameworkPropertyMetadataOptions.Inherits, DataGridColumn.NotifyPropertyChangeForRefreshContent));
368
new FrameworkPropertyMetadata(
SystemFonts
.MessageFontWeight, FrameworkPropertyMetadataOptions.Inherits, DataGridColumn.NotifyPropertyChangeForRefreshContent));
src\Framework\System\Windows\Controls\MenuItem.cs (4)
179
FontFamilyProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(
SystemFonts
.MessageFontFamily));
180
FontSizeProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(
SystemFonts
.MessageFontSize));
181
FontStyleProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(
SystemFonts
.MessageFontStyle));
182
FontWeightProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(
SystemFonts
.MessageFontWeight));
src\Framework\System\Windows\Controls\StickyNote.cs (4)
357
SystemFonts
.MessageFontFamily,
380
SystemFonts
.MessageFontSize,
425
SystemFonts
.MessageFontStyle,
448
SystemFonts
.MessageFontWeight,
src\Framework\System\Windows\Documents\TextElement.cs (4)
470
SystemFonts
.MessageFontFamily,
526
SystemFonts
.MessageFontStyle,
577
SystemFonts
.MessageFontWeight,
679
SystemFonts
.MessageFontSize,
src\Framework\System\Windows\FrameworkElement.cs (8)
2410
TextElement.FontFamilyProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(
SystemFonts
.MessageFontFamily, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontFamily)));
2411
TextElement.FontSizeProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(
SystemFonts
.MessageFontSize, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontSize)));
2412
TextElement.FontStyleProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(
SystemFonts
.MessageFontStyle, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontStyle)));
2413
TextElement.FontWeightProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(
SystemFonts
.MessageFontWeight, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontWeight)));
5554
return
SystemFonts
.MessageFontFamily;
5565
return
SystemFonts
.MessageFontSize;
5576
return
SystemFonts
.MessageFontStyle;
5587
return
SystemFonts
.MessageFontWeight;
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (1)
3115
keyObject = typeof(
SystemFonts
);
src\Framework\System\Windows\SystemKeyConverter.cs (1)
185
return typeof(
SystemFonts
);
src\Framework\System\Windows\SystemParameters.cs (2)
5777
SystemFonts
.InvalidateIconMetrics();
5875
SystemFonts
.InvalidateNonClientMetrics();
src\Framework\System\Windows\SystemResourceKey.cs (60)
870
return
SystemFonts
.IconFontSize;
873
return
SystemFonts
.IconFontFamily;
876
return
SystemFonts
.IconFontStyle;
879
return
SystemFonts
.IconFontWeight;
882
return
SystemFonts
.IconFontTextDecorations;
996
return
SystemFonts
.CaptionFontSize;
999
return
SystemFonts
.CaptionFontFamily;
1002
return
SystemFonts
.CaptionFontStyle;
1005
return
SystemFonts
.CaptionFontWeight;
1008
return
SystemFonts
.CaptionFontTextDecorations;
1011
return
SystemFonts
.SmallCaptionFontSize;
1014
return
SystemFonts
.SmallCaptionFontFamily;
1017
return
SystemFonts
.SmallCaptionFontStyle;
1020
return
SystemFonts
.SmallCaptionFontWeight;
1023
return
SystemFonts
.SmallCaptionFontTextDecorations;
1026
return
SystemFonts
.MenuFontSize;
1029
return
SystemFonts
.MenuFontFamily;
1032
return
SystemFonts
.MenuFontStyle;
1035
return
SystemFonts
.MenuFontWeight;
1038
return
SystemFonts
.MenuFontTextDecorations;
1041
return
SystemFonts
.StatusFontSize;
1044
return
SystemFonts
.StatusFontFamily;
1047
return
SystemFonts
.StatusFontStyle;
1050
return
SystemFonts
.StatusFontWeight;
1053
return
SystemFonts
.StatusFontTextDecorations;
1056
return
SystemFonts
.MessageFontSize;
1059
return
SystemFonts
.MessageFontFamily;
1062
return
SystemFonts
.MessageFontStyle;
1065
return
SystemFonts
.MessageFontWeight;
1068
return
SystemFonts
.MessageFontTextDecorations;
1512
return
SystemFonts
.IconFontSizeKey;
1515
return
SystemFonts
.IconFontFamilyKey;
1518
return
SystemFonts
.IconFontStyleKey;
1521
return
SystemFonts
.IconFontWeightKey;
1524
return
SystemFonts
.IconFontTextDecorationsKey;
1638
return
SystemFonts
.CaptionFontSizeKey;
1641
return
SystemFonts
.CaptionFontFamilyKey;
1644
return
SystemFonts
.CaptionFontStyleKey;
1647
return
SystemFonts
.CaptionFontWeightKey;
1650
return
SystemFonts
.CaptionFontTextDecorationsKey;
1653
return
SystemFonts
.SmallCaptionFontSizeKey;
1656
return
SystemFonts
.SmallCaptionFontFamilyKey;
1659
return
SystemFonts
.SmallCaptionFontStyleKey;
1662
return
SystemFonts
.SmallCaptionFontWeightKey;
1665
return
SystemFonts
.SmallCaptionFontTextDecorationsKey;
1668
return
SystemFonts
.MenuFontSizeKey;
1671
return
SystemFonts
.MenuFontFamilyKey;
1674
return
SystemFonts
.MenuFontStyleKey;
1677
return
SystemFonts
.MenuFontWeightKey;
1680
return
SystemFonts
.MenuFontTextDecorationsKey;
1683
return
SystemFonts
.StatusFontSizeKey;
1686
return
SystemFonts
.StatusFontFamilyKey;
1689
return
SystemFonts
.StatusFontStyleKey;
1692
return
SystemFonts
.StatusFontWeightKey;
1695
return
SystemFonts
.StatusFontTextDecorationsKey;
1698
return
SystemFonts
.MessageFontSizeKey;
1701
return
SystemFonts
.MessageFontFamilyKey;
1704
return
SystemFonts
.MessageFontStyleKey;
1707
return
SystemFonts
.MessageFontWeightKey;
1710
return
SystemFonts
.MessageFontTextDecorationsKey;
System.Activities.Presentation (9)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\EditModeSwitchButton.cs (3)
31
this.FontSize =
SystemFonts
.IconFontSize;
32
this.FontFamily =
SystemFonts
.IconFontFamily;
33
this.FontWeight =
SystemFonts
.IconFontWeight;
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerColors.cs (6)
593
return (FontFamily)GetFontOrColor(key,
SystemFonts
.MessageFontFamily,
SystemFonts
.MessageFontFamily);
598
return (double)GetFontOrColor(key,
SystemFonts
.MessageFontSize,
SystemFonts
.MessageFontSize);
603
return (FontWeight)GetFontOrColor(key,
SystemFonts
.MessageFontWeight,
SystemFonts
.MessageFontWeight);