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