784 references to SystemResourceKeyID
PresentationFramework (784)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (4)
2631if (valueId > (short)SystemResourceKeyID.InternalSystemColorsStart && valueId < (short)SystemResourceKeyID.InternalSystemColorsExtendedEnd) 2646System.Windows.SystemResourceKeyID keyId = (System.Windows.SystemResourceKeyID)valueId;
System\Windows\Markup\BamlReader.cs (2)
2439SystemResourceKeyID keyId = (SystemResourceKeyID)memberId;
System\Windows\SystemColors.cs (77)
429private static SystemResourceKey CreateInstance(SystemResourceKeyID KeyId) 445_cacheActiveBorderColor = CreateInstance(SystemResourceKeyID.ActiveBorderColor); 461_cacheActiveCaptionColor = CreateInstance(SystemResourceKeyID.ActiveCaptionColor); 477_cacheActiveCaptionTextColor = CreateInstance(SystemResourceKeyID.ActiveCaptionTextColor); 493_cacheAppWorkspaceColor = CreateInstance(SystemResourceKeyID.AppWorkspaceColor); 509_cacheControlColor = CreateInstance(SystemResourceKeyID.ControlColor); 525_cacheControlDarkColor = CreateInstance(SystemResourceKeyID.ControlDarkColor); 541_cacheControlDarkDarkColor = CreateInstance(SystemResourceKeyID.ControlDarkDarkColor); 557_cacheControlLightColor = CreateInstance(SystemResourceKeyID.ControlLightColor); 573_cacheControlLightLightColor = CreateInstance(SystemResourceKeyID.ControlLightLightColor); 589_cacheControlTextColor = CreateInstance(SystemResourceKeyID.ControlTextColor); 605_cacheDesktopColor = CreateInstance(SystemResourceKeyID.DesktopColor); 621_cacheGradientActiveCaptionColor = CreateInstance(SystemResourceKeyID.GradientActiveCaptionColor); 637_cacheGradientInactiveCaptionColor = CreateInstance(SystemResourceKeyID.GradientInactiveCaptionColor); 653_cacheGrayTextColor = CreateInstance(SystemResourceKeyID.GrayTextColor); 669_cacheHighlightColor = CreateInstance(SystemResourceKeyID.HighlightColor); 685_cacheHighlightTextColor = CreateInstance(SystemResourceKeyID.HighlightTextColor); 701_cacheHotTrackColor = CreateInstance(SystemResourceKeyID.HotTrackColor); 717_cacheInactiveBorderColor = CreateInstance(SystemResourceKeyID.InactiveBorderColor); 733_cacheInactiveCaptionColor = CreateInstance(SystemResourceKeyID.InactiveCaptionColor); 749_cacheInactiveCaptionTextColor = CreateInstance(SystemResourceKeyID.InactiveCaptionTextColor); 765_cacheInfoColor = CreateInstance(SystemResourceKeyID.InfoColor); 781_cacheInfoTextColor = CreateInstance(SystemResourceKeyID.InfoTextColor); 797_cacheMenuColor = CreateInstance(SystemResourceKeyID.MenuColor); 813_cacheMenuBarColor = CreateInstance(SystemResourceKeyID.MenuBarColor); 829_cacheMenuHighlightColor = CreateInstance(SystemResourceKeyID.MenuHighlightColor); 845_cacheMenuTextColor = CreateInstance(SystemResourceKeyID.MenuTextColor); 861_cacheScrollBarColor = CreateInstance(SystemResourceKeyID.ScrollBarColor); 877_cacheWindowColor = CreateInstance(SystemResourceKeyID.WindowColor); 893_cacheWindowFrameColor = CreateInstance(SystemResourceKeyID.WindowFrameColor); 909_cacheWindowTextColor = CreateInstance(SystemResourceKeyID.WindowTextColor); 925_cacheAccentColor = CreateInstance(SystemResourceKeyID.AccentColor); 941_cacheAccentColorLight1 = CreateInstance(SystemResourceKeyID.AccentColorLight1); 957_cacheAccentColorLight2 = CreateInstance(SystemResourceKeyID.AccentColorLight2); 973_cacheAccentColorLight3 = CreateInstance(SystemResourceKeyID.AccentColorLight3); 989_cacheAccentColorDark1 = CreateInstance(SystemResourceKeyID.AccentColorDark1); 1005_cacheAccentColorDark2 = CreateInstance(SystemResourceKeyID.AccentColorDark2); 1021_cacheAccentColorDark3 = CreateInstance(SystemResourceKeyID.AccentColorDark3); 1565_cacheActiveBorderBrush = CreateInstance(SystemResourceKeyID.ActiveBorderBrush); 1581_cacheActiveCaptionBrush = CreateInstance(SystemResourceKeyID.ActiveCaptionBrush); 1597_cacheActiveCaptionTextBrush = CreateInstance(SystemResourceKeyID.ActiveCaptionTextBrush); 1613_cacheAppWorkspaceBrush = CreateInstance(SystemResourceKeyID.AppWorkspaceBrush); 1629_cacheControlBrush = CreateInstance(SystemResourceKeyID.ControlBrush); 1645_cacheControlDarkBrush = CreateInstance(SystemResourceKeyID.ControlDarkBrush); 1661_cacheControlDarkDarkBrush = CreateInstance(SystemResourceKeyID.ControlDarkDarkBrush); 1677_cacheControlLightBrush = CreateInstance(SystemResourceKeyID.ControlLightBrush); 1693_cacheControlLightLightBrush = CreateInstance(SystemResourceKeyID.ControlLightLightBrush); 1709_cacheControlTextBrush = CreateInstance(SystemResourceKeyID.ControlTextBrush); 1725_cacheDesktopBrush = CreateInstance(SystemResourceKeyID.DesktopBrush); 1741_cacheGradientActiveCaptionBrush = CreateInstance(SystemResourceKeyID.GradientActiveCaptionBrush); 1757_cacheGradientInactiveCaptionBrush = CreateInstance(SystemResourceKeyID.GradientInactiveCaptionBrush); 1773_cacheGrayTextBrush = CreateInstance(SystemResourceKeyID.GrayTextBrush); 1789_cacheHighlightBrush = CreateInstance(SystemResourceKeyID.HighlightBrush); 1805_cacheHighlightTextBrush = CreateInstance(SystemResourceKeyID.HighlightTextBrush); 1821_cacheHotTrackBrush = CreateInstance(SystemResourceKeyID.HotTrackBrush); 1837_cacheInactiveBorderBrush = CreateInstance(SystemResourceKeyID.InactiveBorderBrush); 1853_cacheInactiveCaptionBrush = CreateInstance(SystemResourceKeyID.InactiveCaptionBrush); 1869_cacheInactiveCaptionTextBrush = CreateInstance(SystemResourceKeyID.InactiveCaptionTextBrush); 1885_cacheInfoBrush = CreateInstance(SystemResourceKeyID.InfoBrush); 1901_cacheInfoTextBrush = CreateInstance(SystemResourceKeyID.InfoTextBrush); 1917_cacheMenuBrush = CreateInstance(SystemResourceKeyID.MenuBrush); 1933_cacheMenuBarBrush = CreateInstance(SystemResourceKeyID.MenuBarBrush); 1949_cacheMenuHighlightBrush = CreateInstance(SystemResourceKeyID.MenuHighlightBrush); 1965_cacheMenuTextBrush = CreateInstance(SystemResourceKeyID.MenuTextBrush); 1981_cacheScrollBarBrush = CreateInstance(SystemResourceKeyID.ScrollBarBrush); 1997_cacheWindowBrush = CreateInstance(SystemResourceKeyID.WindowBrush); 2013_cacheWindowFrameBrush = CreateInstance(SystemResourceKeyID.WindowFrameBrush); 2029_cacheWindowTextBrush = CreateInstance(SystemResourceKeyID.WindowTextBrush); 2047_cacheInactiveSelectionHighlightBrush = CreateInstance(SystemResourceKeyID.InactiveSelectionHighlightBrush); 2070_cacheInactiveSelectionHighlightTextBrush = CreateInstance(SystemResourceKeyID.InactiveSelectionHighlightTextBrush); 2091_cacheAccentColorBrush = CreateInstance(SystemResourceKeyID.AccentColorBrush); 2107_cacheAccentColorLight1Brush = CreateInstance(SystemResourceKeyID.AccentColorLight1Brush); 2123_cacheAccentColorLight2Brush = CreateInstance(SystemResourceKeyID.AccentColorLight2Brush); 2139_cacheAccentColorLight3Brush = CreateInstance(SystemResourceKeyID.AccentColorLight3Brush); 2155_cacheAccentColorDark1Brush = CreateInstance(SystemResourceKeyID.AccentColorDark1Brush); 2171_cacheAccentColorDark2Brush = CreateInstance(SystemResourceKeyID.AccentColorDark2Brush); 2187_cacheAccentColorDark3Brush = CreateInstance(SystemResourceKeyID.AccentColorDark3Brush);
System\Windows\SystemFonts.cs (31)
518private static SystemResourceKey CreateInstance(SystemResourceKeyID KeyId) 534_cacheIconFontSize = CreateInstance(SystemResourceKeyID.IconFontSize); 550_cacheIconFontFamily = CreateInstance(SystemResourceKeyID.IconFontFamily); 566_cacheIconFontStyle = CreateInstance(SystemResourceKeyID.IconFontStyle); 582_cacheIconFontWeight = CreateInstance(SystemResourceKeyID.IconFontWeight); 598_cacheIconFontTextDecorations = CreateInstance(SystemResourceKeyID.IconFontTextDecorations); 617_cacheCaptionFontSize = CreateInstance(SystemResourceKeyID.CaptionFontSize); 633_cacheCaptionFontFamily = CreateInstance(SystemResourceKeyID.CaptionFontFamily); 649_cacheCaptionFontStyle = CreateInstance(SystemResourceKeyID.CaptionFontStyle); 665_cacheCaptionFontWeight = CreateInstance(SystemResourceKeyID.CaptionFontWeight); 681_cacheCaptionFontTextDecorations = CreateInstance(SystemResourceKeyID.CaptionFontTextDecorations); 697_cacheSmallCaptionFontSize = CreateInstance(SystemResourceKeyID.SmallCaptionFontSize); 713_cacheSmallCaptionFontFamily = CreateInstance(SystemResourceKeyID.SmallCaptionFontFamily); 729_cacheSmallCaptionFontStyle = CreateInstance(SystemResourceKeyID.SmallCaptionFontStyle); 745_cacheSmallCaptionFontWeight = CreateInstance(SystemResourceKeyID.SmallCaptionFontWeight); 761_cacheSmallCaptionFontTextDecorations = CreateInstance(SystemResourceKeyID.SmallCaptionFontTextDecorations); 777_cacheMenuFontSize = CreateInstance(SystemResourceKeyID.MenuFontSize); 793_cacheMenuFontFamily = CreateInstance(SystemResourceKeyID.MenuFontFamily); 809_cacheMenuFontStyle = CreateInstance(SystemResourceKeyID.MenuFontStyle); 825_cacheMenuFontWeight = CreateInstance(SystemResourceKeyID.MenuFontWeight); 841_cacheMenuFontTextDecorations = CreateInstance(SystemResourceKeyID.MenuFontTextDecorations); 857_cacheStatusFontSize = CreateInstance(SystemResourceKeyID.StatusFontSize); 873_cacheStatusFontFamily = CreateInstance(SystemResourceKeyID.StatusFontFamily); 889_cacheStatusFontStyle = CreateInstance(SystemResourceKeyID.StatusFontStyle); 905_cacheStatusFontWeight = CreateInstance(SystemResourceKeyID.StatusFontWeight); 921_cacheStatusFontTextDecorations = CreateInstance(SystemResourceKeyID.StatusFontTextDecorations); 937_cacheMessageFontSize = CreateInstance(SystemResourceKeyID.MessageFontSize); 953_cacheMessageFontFamily = CreateInstance(SystemResourceKeyID.MessageFontFamily); 969_cacheMessageFontStyle = CreateInstance(SystemResourceKeyID.MessageFontStyle); 985_cacheMessageFontWeight = CreateInstance(SystemResourceKeyID.MessageFontWeight); 1001_cacheMessageFontTextDecorations = CreateInstance(SystemResourceKeyID.MessageFontTextDecorations);
System\Windows\SystemKeyConverter.cs (45)
119SystemResourceKeyID keyId; 162internal static Type GetSystemClassType(SystemResourceKeyID id) 164if (((SystemResourceKeyID.InternalSystemColorsStart < id) && 165(id < SystemResourceKeyID.InternalSystemColorsEnd))|| 166((SystemResourceKeyID.InternalSystemColorsExtendedStart < id) && 167(id < SystemResourceKeyID.InternalSystemColorsExtendedEnd))) 171else if ((SystemResourceKeyID.InternalSystemFontsStart < id) && 172(id < SystemResourceKeyID.InternalSystemFontsEnd)) 176else if ((SystemResourceKeyID.InternalSystemParametersStart < id) && 177(id < SystemResourceKeyID.InternalSystemParametersEnd)) 181else if (SystemResourceKeyID.MenuItemSeparatorStyle == id) 185else if ((SystemResourceKeyID.ToolBarButtonStyle <= id) && 186(id <= SystemResourceKeyID.ToolBarMenuStyle)) 190else if (SystemResourceKeyID.StatusBarSeparatorStyle == id) 194else if ((SystemResourceKeyID.GridViewScrollViewerStyle <= id) && 195(id <= SystemResourceKeyID.GridViewItemContainerStyle)) 203internal static string GetSystemClassName(SystemResourceKeyID id) 205if (((SystemResourceKeyID.InternalSystemColorsStart < id) && 206(id < SystemResourceKeyID.InternalSystemColorsEnd))|| 207((SystemResourceKeyID.InternalSystemColorsExtendedStart < id) && 208(id < SystemResourceKeyID.InternalSystemColorsExtendedEnd))) 212else if ((SystemResourceKeyID.InternalSystemFontsStart < id) && 213(id < SystemResourceKeyID.InternalSystemFontsEnd)) 217else if ((SystemResourceKeyID.InternalSystemParametersStart < id) && 218(id < SystemResourceKeyID.InternalSystemParametersEnd)) 222else if (SystemResourceKeyID.MenuItemSeparatorStyle == id) 226else if ((SystemResourceKeyID.ToolBarButtonStyle <= id) && 227(id <= SystemResourceKeyID.ToolBarMenuStyle)) 231else if (SystemResourceKeyID.StatusBarSeparatorStyle == id) 235else if ((SystemResourceKeyID.GridViewScrollViewerStyle <= id) && 236(id <= SystemResourceKeyID.GridViewItemContainerStyle)) 244internal static string GetSystemKeyName(SystemResourceKeyID id) 246if (((SystemResourceKeyID.InternalSystemColorsStart < id) && 247(id < SystemResourceKeyID.InternalSystemParametersEnd))|| 248((SystemResourceKeyID.InternalSystemColorsExtendedStart < id) && 249(id < SystemResourceKeyID.InternalSystemColorsExtendedEnd))|| 250((SystemResourceKeyID.GridViewScrollViewerStyle <= id) && 251(id <= SystemResourceKeyID.GridViewItemContainerStyle))) 255else if (SystemResourceKeyID.MenuItemSeparatorStyle == id || 256SystemResourceKeyID.StatusBarSeparatorStyle == id) 260else if ((SystemResourceKeyID.ToolBarButtonStyle <= id) && 261(id <= SystemResourceKeyID.ToolBarMenuStyle)) 270internal static string GetSystemPropertyName(SystemResourceKeyID id) 272if ((SystemResourceKeyID.InternalSystemColorsStart < id) && 273(id < SystemResourceKeyID.InternalSystemColorsExtendedEnd))
System\Windows\SystemParameters.cs (123)
230private static SystemResourceKey CreateInstance(SystemResourceKeyID KeyId) 246_cacheFocusBorderWidth = CreateInstance(SystemResourceKeyID.FocusBorderWidth); 262_cacheFocusBorderHeight = CreateInstance(SystemResourceKeyID.FocusBorderHeight); 278_cacheHighContrast = CreateInstance(SystemResourceKeyID.HighContrast); 410_cacheDropShadow = CreateInstance(SystemResourceKeyID.DropShadow); 426_cacheFlatMenu = CreateInstance(SystemResourceKeyID.FlatMenu); 442_cacheWorkArea = CreateInstance(SystemResourceKeyID.WorkArea); 528_cacheIconHorizontalSpacing = CreateInstance(SystemResourceKeyID.IconHorizontalSpacing); 544_cacheIconVerticalSpacing = CreateInstance(SystemResourceKeyID.IconVerticalSpacing); 560_cacheIconTitleWrap = CreateInstance(SystemResourceKeyID.IconTitleWrap); 853_cacheKeyboardCues = CreateInstance(SystemResourceKeyID.KeyboardCues); 869_cacheKeyboardDelay = CreateInstance(SystemResourceKeyID.KeyboardDelay); 885_cacheKeyboardPreference = CreateInstance(SystemResourceKeyID.KeyboardPreference); 901_cacheKeyboardSpeed = CreateInstance(SystemResourceKeyID.KeyboardSpeed); 917_cacheSnapToDefaultButton = CreateInstance(SystemResourceKeyID.SnapToDefaultButton); 933_cacheWheelScrollLines = CreateInstance(SystemResourceKeyID.WheelScrollLines); 949_cacheMouseHoverTime = CreateInstance(SystemResourceKeyID.MouseHoverTime); 965_cacheMouseHoverHeight = CreateInstance(SystemResourceKeyID.MouseHoverHeight); 981_cacheMouseHoverWidth = CreateInstance(SystemResourceKeyID.MouseHoverWidth); 1089_cacheMenuDropAlignment = CreateInstance(SystemResourceKeyID.MenuDropAlignment); 1105_cacheMenuFade = CreateInstance(SystemResourceKeyID.MenuFade); 1121_cacheMenuShowDelay = CreateInstance(SystemResourceKeyID.MenuShowDelay); 1548_cacheComboBoxAnimation = CreateInstance(SystemResourceKeyID.ComboBoxAnimation); 1564_cacheClientAreaAnimation = CreateInstance(SystemResourceKeyID.ClientAreaAnimation); 1580_cacheCursorShadow = CreateInstance(SystemResourceKeyID.CursorShadow); 1596_cacheGradientCaptions = CreateInstance(SystemResourceKeyID.GradientCaptions); 1612_cacheHotTracking = CreateInstance(SystemResourceKeyID.HotTracking); 1628_cacheListBoxSmoothScrolling = CreateInstance(SystemResourceKeyID.ListBoxSmoothScrolling); 1644_cacheMenuAnimation = CreateInstance(SystemResourceKeyID.MenuAnimation); 1660_cacheSelectionFade = CreateInstance(SystemResourceKeyID.SelectionFade); 1676_cacheStylusHotTracking = CreateInstance(SystemResourceKeyID.StylusHotTracking); 1692_cacheToolTipAnimation = CreateInstance(SystemResourceKeyID.ToolTipAnimation); 1708_cacheToolTipFade = CreateInstance(SystemResourceKeyID.ToolTipFade); 1724_cacheUIEffects = CreateInstance(SystemResourceKeyID.UIEffects); 1740_cacheComboBoxPopupAnimation = CreateInstance(SystemResourceKeyID.ComboBoxPopupAnimation); 1756_cacheMenuPopupAnimation = CreateInstance(SystemResourceKeyID.MenuPopupAnimation); 1772_cacheToolTipPopupAnimation = CreateInstance(SystemResourceKeyID.ToolTipPopupAnimation); 2092_cacheMinimizeAnimation = CreateInstance(SystemResourceKeyID.MinimizeAnimation); 2108_cacheBorder = CreateInstance(SystemResourceKeyID.Border); 2124_cacheCaretWidth = CreateInstance(SystemResourceKeyID.CaretWidth); 2140_cacheForegroundFlashCount = CreateInstance(SystemResourceKeyID.ForegroundFlashCount); 2156_cacheDragFullWindows = CreateInstance(SystemResourceKeyID.DragFullWindows); 2172_cacheBorderWidth = CreateInstance(SystemResourceKeyID.BorderWidth); 2188_cacheScrollWidth = CreateInstance(SystemResourceKeyID.ScrollWidth); 2204_cacheScrollHeight = CreateInstance(SystemResourceKeyID.ScrollHeight); 2220_cacheCaptionWidth = CreateInstance(SystemResourceKeyID.CaptionWidth); 2236_cacheCaptionHeight = CreateInstance(SystemResourceKeyID.CaptionHeight); 2252_cacheSmallCaptionWidth = CreateInstance(SystemResourceKeyID.SmallCaptionWidth); 2268_cacheMenuWidth = CreateInstance(SystemResourceKeyID.MenuWidth); 2284_cacheMenuHeight = CreateInstance(SystemResourceKeyID.MenuHeight); 3805_cacheThinHorizontalBorderHeight = CreateInstance(SystemResourceKeyID.ThinHorizontalBorderHeight); 3821_cacheThinVerticalBorderWidth = CreateInstance(SystemResourceKeyID.ThinVerticalBorderWidth); 3837_cacheCursorWidth = CreateInstance(SystemResourceKeyID.CursorWidth); 3853_cacheCursorHeight = CreateInstance(SystemResourceKeyID.CursorHeight); 3869_cacheThickHorizontalBorderHeight = CreateInstance(SystemResourceKeyID.ThickHorizontalBorderHeight); 3885_cacheThickVerticalBorderWidth = CreateInstance(SystemResourceKeyID.ThickVerticalBorderWidth); 3901_cacheFixedFrameHorizontalBorderHeight = CreateInstance(SystemResourceKeyID.FixedFrameHorizontalBorderHeight); 3917_cacheFixedFrameVerticalBorderWidth = CreateInstance(SystemResourceKeyID.FixedFrameVerticalBorderWidth); 3933_cacheFocusHorizontalBorderHeight = CreateInstance(SystemResourceKeyID.FocusHorizontalBorderHeight); 3949_cacheFocusVerticalBorderWidth = CreateInstance(SystemResourceKeyID.FocusVerticalBorderWidth); 3965_cacheFullPrimaryScreenWidth = CreateInstance(SystemResourceKeyID.FullPrimaryScreenWidth); 3981_cacheFullPrimaryScreenHeight = CreateInstance(SystemResourceKeyID.FullPrimaryScreenHeight); 3997_cacheHorizontalScrollBarButtonWidth = CreateInstance(SystemResourceKeyID.HorizontalScrollBarButtonWidth); 4013_cacheHorizontalScrollBarHeight = CreateInstance(SystemResourceKeyID.HorizontalScrollBarHeight); 4029_cacheHorizontalScrollBarThumbWidth = CreateInstance(SystemResourceKeyID.HorizontalScrollBarThumbWidth); 4045_cacheIconWidth = CreateInstance(SystemResourceKeyID.IconWidth); 4061_cacheIconHeight = CreateInstance(SystemResourceKeyID.IconHeight); 4077_cacheIconGridWidth = CreateInstance(SystemResourceKeyID.IconGridWidth); 4093_cacheIconGridHeight = CreateInstance(SystemResourceKeyID.IconGridHeight); 4109_cacheMaximizedPrimaryScreenWidth = CreateInstance(SystemResourceKeyID.MaximizedPrimaryScreenWidth); 4125_cacheMaximizedPrimaryScreenHeight = CreateInstance(SystemResourceKeyID.MaximizedPrimaryScreenHeight); 4141_cacheMaximumWindowTrackWidth = CreateInstance(SystemResourceKeyID.MaximumWindowTrackWidth); 4157_cacheMaximumWindowTrackHeight = CreateInstance(SystemResourceKeyID.MaximumWindowTrackHeight); 4173_cacheMenuCheckmarkWidth = CreateInstance(SystemResourceKeyID.MenuCheckmarkWidth); 4189_cacheMenuCheckmarkHeight = CreateInstance(SystemResourceKeyID.MenuCheckmarkHeight); 4205_cacheMenuButtonWidth = CreateInstance(SystemResourceKeyID.MenuButtonWidth); 4221_cacheMenuButtonHeight = CreateInstance(SystemResourceKeyID.MenuButtonHeight); 4237_cacheMinimumWindowWidth = CreateInstance(SystemResourceKeyID.MinimumWindowWidth); 4253_cacheMinimumWindowHeight = CreateInstance(SystemResourceKeyID.MinimumWindowHeight); 4269_cacheMinimizedWindowWidth = CreateInstance(SystemResourceKeyID.MinimizedWindowWidth); 4285_cacheMinimizedWindowHeight = CreateInstance(SystemResourceKeyID.MinimizedWindowHeight); 4301_cacheMinimizedGridWidth = CreateInstance(SystemResourceKeyID.MinimizedGridWidth); 4317_cacheMinimizedGridHeight = CreateInstance(SystemResourceKeyID.MinimizedGridHeight); 4333_cacheMinimumWindowTrackWidth = CreateInstance(SystemResourceKeyID.MinimumWindowTrackWidth); 4349_cacheMinimumWindowTrackHeight = CreateInstance(SystemResourceKeyID.MinimumWindowTrackHeight); 4365_cachePrimaryScreenWidth = CreateInstance(SystemResourceKeyID.PrimaryScreenWidth); 4381_cachePrimaryScreenHeight = CreateInstance(SystemResourceKeyID.PrimaryScreenHeight); 4397_cacheWindowCaptionButtonWidth = CreateInstance(SystemResourceKeyID.WindowCaptionButtonWidth); 4413_cacheWindowCaptionButtonHeight = CreateInstance(SystemResourceKeyID.WindowCaptionButtonHeight); 4429_cacheResizeFrameHorizontalBorderHeight = CreateInstance(SystemResourceKeyID.ResizeFrameHorizontalBorderHeight); 4445_cacheResizeFrameVerticalBorderWidth = CreateInstance(SystemResourceKeyID.ResizeFrameVerticalBorderWidth); 4461_cacheSmallIconWidth = CreateInstance(SystemResourceKeyID.SmallIconWidth); 4477_cacheSmallIconHeight = CreateInstance(SystemResourceKeyID.SmallIconHeight); 4493_cacheSmallWindowCaptionButtonWidth = CreateInstance(SystemResourceKeyID.SmallWindowCaptionButtonWidth); 4509_cacheSmallWindowCaptionButtonHeight = CreateInstance(SystemResourceKeyID.SmallWindowCaptionButtonHeight); 4525_cacheVirtualScreenWidth = CreateInstance(SystemResourceKeyID.VirtualScreenWidth); 4541_cacheVirtualScreenHeight = CreateInstance(SystemResourceKeyID.VirtualScreenHeight); 4557_cacheVerticalScrollBarWidth = CreateInstance(SystemResourceKeyID.VerticalScrollBarWidth); 4573_cacheVerticalScrollBarButtonHeight = CreateInstance(SystemResourceKeyID.VerticalScrollBarButtonHeight); 4589_cacheWindowCaptionHeight = CreateInstance(SystemResourceKeyID.WindowCaptionHeight); 4605_cacheKanjiWindowHeight = CreateInstance(SystemResourceKeyID.KanjiWindowHeight); 4621_cacheMenuBarHeight = CreateInstance(SystemResourceKeyID.MenuBarHeight); 4637_cacheSmallCaptionHeight = CreateInstance(SystemResourceKeyID.SmallCaptionHeight); 4653_cacheVerticalScrollBarThumbHeight = CreateInstance(SystemResourceKeyID.VerticalScrollBarThumbHeight); 4669_cacheIsImmEnabled = CreateInstance(SystemResourceKeyID.IsImmEnabled); 4685_cacheIsMediaCenter = CreateInstance(SystemResourceKeyID.IsMediaCenter); 4701_cacheIsMenuDropRightAligned = CreateInstance(SystemResourceKeyID.IsMenuDropRightAligned); 4717_cacheIsMiddleEastEnabled = CreateInstance(SystemResourceKeyID.IsMiddleEastEnabled); 4733_cacheIsMousePresent = CreateInstance(SystemResourceKeyID.IsMousePresent); 4749_cacheIsMouseWheelPresent = CreateInstance(SystemResourceKeyID.IsMouseWheelPresent); 4765_cacheIsPenWindows = CreateInstance(SystemResourceKeyID.IsPenWindows); 4781_cacheIsRemotelyControlled = CreateInstance(SystemResourceKeyID.IsRemotelyControlled); 4797_cacheIsRemoteSession = CreateInstance(SystemResourceKeyID.IsRemoteSession); 4813_cacheShowSounds = CreateInstance(SystemResourceKeyID.ShowSounds); 4829_cacheIsSlowMachine = CreateInstance(SystemResourceKeyID.IsSlowMachine); 4845_cacheSwapButtons = CreateInstance(SystemResourceKeyID.SwapButtons); 4861_cacheIsTabletPC = CreateInstance(SystemResourceKeyID.IsTabletPC); 4877_cacheVirtualScreenLeft = CreateInstance(SystemResourceKeyID.VirtualScreenLeft); 4893_cacheVirtualScreenTop = CreateInstance(SystemResourceKeyID.VirtualScreenTop); 4913_cacheFocusVisualStyle = new SystemThemeKey(SystemResourceKeyID.FocusVisualStyle); 4930_cacheNavigationChromeStyle = new SystemThemeKey(SystemResourceKeyID.NavigationChromeStyle); 4947_cacheNavigationChromeDownLevelStyle = new SystemThemeKey(SystemResourceKeyID.NavigationChromeDownLevelStyle); 5001_cachePowerLineStatus = CreateInstance(SystemResourceKeyID.PowerLineStatus);
System\Windows\SystemResourceKey.cs (497)
317private const short SystemResourceKeyIDStart = (short)SystemResourceKeyID.InternalSystemColorsStart; 318private const short SystemResourceKeyIDEnd = (short)SystemResourceKeyID.InternalSystemThemeStylesEnd; 323private const short SystemResourceKeyIDExtendedStart = (short)SystemResourceKeyID.InternalSystemColorsExtendedStart; 324private const short SystemResourceKeyIDExtendedEnd = (short)SystemResourceKeyID.InternalSystemColorsExtendedEnd; 409Enum.TryParse(srkField, out SystemResourceKeyID srkId)) 457case SystemResourceKeyID.ActiveBorderBrush: 460case SystemResourceKeyID.ActiveCaptionBrush: 463case SystemResourceKeyID.ActiveCaptionTextBrush: 466case SystemResourceKeyID.AppWorkspaceBrush: 469case SystemResourceKeyID.ControlBrush: 472case SystemResourceKeyID.ControlDarkBrush: 475case SystemResourceKeyID.ControlDarkDarkBrush: 478case SystemResourceKeyID.ControlLightBrush: 481case SystemResourceKeyID.ControlLightLightBrush: 484case SystemResourceKeyID.ControlTextBrush: 487case SystemResourceKeyID.DesktopBrush: 490case SystemResourceKeyID.GradientActiveCaptionBrush: 493case SystemResourceKeyID.GradientInactiveCaptionBrush: 496case SystemResourceKeyID.GrayTextBrush: 499case SystemResourceKeyID.HighlightBrush: 502case SystemResourceKeyID.HighlightTextBrush: 505case SystemResourceKeyID.HotTrackBrush: 508case SystemResourceKeyID.InactiveBorderBrush: 511case SystemResourceKeyID.InactiveCaptionBrush: 514case SystemResourceKeyID.InactiveCaptionTextBrush: 517case SystemResourceKeyID.InfoBrush: 520case SystemResourceKeyID.InfoTextBrush: 523case SystemResourceKeyID.MenuBrush: 526case SystemResourceKeyID.MenuBarBrush: 529case SystemResourceKeyID.MenuHighlightBrush: 532case SystemResourceKeyID.MenuTextBrush: 535case SystemResourceKeyID.ScrollBarBrush: 538case SystemResourceKeyID.WindowBrush: 541case SystemResourceKeyID.WindowFrameBrush: 544case SystemResourceKeyID.WindowTextBrush: 547case SystemResourceKeyID.InactiveSelectionHighlightBrush: 550case SystemResourceKeyID.InactiveSelectionHighlightTextBrush: 553case SystemResourceKeyID.AccentColorBrush: 556case SystemResourceKeyID.AccentColorLight1Brush: 559case SystemResourceKeyID.AccentColorLight2Brush: 562case SystemResourceKeyID.AccentColorLight3Brush: 565case SystemResourceKeyID.AccentColorDark1Brush: 568case SystemResourceKeyID.AccentColorDark2Brush: 571case SystemResourceKeyID.AccentColorDark3Brush: 574case SystemResourceKeyID.ActiveBorderColor: 577case SystemResourceKeyID.ActiveCaptionColor: 580case SystemResourceKeyID.ActiveCaptionTextColor: 583case SystemResourceKeyID.AppWorkspaceColor: 586case SystemResourceKeyID.ControlColor: 589case SystemResourceKeyID.ControlDarkColor: 592case SystemResourceKeyID.ControlDarkDarkColor: 595case SystemResourceKeyID.ControlLightColor: 598case SystemResourceKeyID.ControlLightLightColor: 601case SystemResourceKeyID.ControlTextColor: 604case SystemResourceKeyID.DesktopColor: 607case SystemResourceKeyID.GradientActiveCaptionColor: 610case SystemResourceKeyID.GradientInactiveCaptionColor: 613case SystemResourceKeyID.GrayTextColor: 616case SystemResourceKeyID.HighlightColor: 619case SystemResourceKeyID.HighlightTextColor: 622case SystemResourceKeyID.HotTrackColor: 625case SystemResourceKeyID.InactiveBorderColor: 628case SystemResourceKeyID.InactiveCaptionColor: 631case SystemResourceKeyID.InactiveCaptionTextColor: 634case SystemResourceKeyID.InfoColor: 637case SystemResourceKeyID.InfoTextColor: 640case SystemResourceKeyID.MenuColor: 643case SystemResourceKeyID.MenuBarColor: 646case SystemResourceKeyID.MenuHighlightColor: 649case SystemResourceKeyID.MenuTextColor: 652case SystemResourceKeyID.ScrollBarColor: 655case SystemResourceKeyID.WindowColor: 658case SystemResourceKeyID.WindowFrameColor: 661case SystemResourceKeyID.WindowTextColor: 664case SystemResourceKeyID.AccentColor: 667case SystemResourceKeyID.AccentColorLight1: 670case SystemResourceKeyID.AccentColorLight2: 673case SystemResourceKeyID.AccentColorLight3: 676case SystemResourceKeyID.AccentColorDark1: 679case SystemResourceKeyID.AccentColorDark2: 682case SystemResourceKeyID.AccentColorDark3: 685case SystemResourceKeyID.ThinHorizontalBorderHeight: 688case SystemResourceKeyID.ThinVerticalBorderWidth: 691case SystemResourceKeyID.CursorWidth: 694case SystemResourceKeyID.CursorHeight: 697case SystemResourceKeyID.ThickHorizontalBorderHeight: 700case SystemResourceKeyID.ThickVerticalBorderWidth: 703case SystemResourceKeyID.FixedFrameHorizontalBorderHeight: 706case SystemResourceKeyID.FixedFrameVerticalBorderWidth: 709case SystemResourceKeyID.FocusHorizontalBorderHeight: 712case SystemResourceKeyID.FocusVerticalBorderWidth: 715case SystemResourceKeyID.FullPrimaryScreenWidth: 718case SystemResourceKeyID.FullPrimaryScreenHeight: 721case SystemResourceKeyID.HorizontalScrollBarButtonWidth: 724case SystemResourceKeyID.HorizontalScrollBarHeight: 727case SystemResourceKeyID.HorizontalScrollBarThumbWidth: 730case SystemResourceKeyID.IconWidth: 733case SystemResourceKeyID.IconHeight: 736case SystemResourceKeyID.IconGridWidth: 739case SystemResourceKeyID.IconGridHeight: 742case SystemResourceKeyID.MaximizedPrimaryScreenWidth: 745case SystemResourceKeyID.MaximizedPrimaryScreenHeight: 748case SystemResourceKeyID.MaximumWindowTrackWidth: 751case SystemResourceKeyID.MaximumWindowTrackHeight: 754case SystemResourceKeyID.MenuCheckmarkWidth: 757case SystemResourceKeyID.MenuCheckmarkHeight: 760case SystemResourceKeyID.MenuButtonWidth: 763case SystemResourceKeyID.MenuButtonHeight: 766case SystemResourceKeyID.MinimumWindowWidth: 769case SystemResourceKeyID.MinimumWindowHeight: 772case SystemResourceKeyID.MinimizedWindowWidth: 775case SystemResourceKeyID.MinimizedWindowHeight: 778case SystemResourceKeyID.MinimizedGridWidth: 781case SystemResourceKeyID.MinimizedGridHeight: 784case SystemResourceKeyID.MinimumWindowTrackWidth: 787case SystemResourceKeyID.MinimumWindowTrackHeight: 790case SystemResourceKeyID.PrimaryScreenWidth: 793case SystemResourceKeyID.PrimaryScreenHeight: 796case SystemResourceKeyID.WindowCaptionButtonWidth: 799case SystemResourceKeyID.WindowCaptionButtonHeight: 802case SystemResourceKeyID.ResizeFrameHorizontalBorderHeight: 805case SystemResourceKeyID.ResizeFrameVerticalBorderWidth: 808case SystemResourceKeyID.SmallIconWidth: 811case SystemResourceKeyID.SmallIconHeight: 814case SystemResourceKeyID.SmallWindowCaptionButtonWidth: 817case SystemResourceKeyID.SmallWindowCaptionButtonHeight: 820case SystemResourceKeyID.VirtualScreenWidth: 823case SystemResourceKeyID.VirtualScreenHeight: 826case SystemResourceKeyID.VerticalScrollBarWidth: 829case SystemResourceKeyID.VerticalScrollBarButtonHeight: 832case SystemResourceKeyID.WindowCaptionHeight: 835case SystemResourceKeyID.KanjiWindowHeight: 838case SystemResourceKeyID.MenuBarHeight: 841case SystemResourceKeyID.SmallCaptionHeight: 844case SystemResourceKeyID.VerticalScrollBarThumbHeight: 847case SystemResourceKeyID.IsImmEnabled: 850case SystemResourceKeyID.IsMediaCenter: 853case SystemResourceKeyID.IsMenuDropRightAligned: 856case SystemResourceKeyID.IsMiddleEastEnabled: 859case SystemResourceKeyID.IsMousePresent: 862case SystemResourceKeyID.IsMouseWheelPresent: 865case SystemResourceKeyID.IsPenWindows: 868case SystemResourceKeyID.IsRemotelyControlled: 871case SystemResourceKeyID.IsRemoteSession: 874case SystemResourceKeyID.ShowSounds: 877case SystemResourceKeyID.IsSlowMachine: 880case SystemResourceKeyID.SwapButtons: 883case SystemResourceKeyID.IsTabletPC: 886case SystemResourceKeyID.VirtualScreenLeft: 889case SystemResourceKeyID.VirtualScreenTop: 892case SystemResourceKeyID.FocusBorderWidth: 895case SystemResourceKeyID.FocusBorderHeight: 898case SystemResourceKeyID.HighContrast: 901case SystemResourceKeyID.DropShadow: 904case SystemResourceKeyID.FlatMenu: 907case SystemResourceKeyID.WorkArea: 910case SystemResourceKeyID.IconHorizontalSpacing: 913case SystemResourceKeyID.IconVerticalSpacing: 916case SystemResourceKeyID.IconTitleWrap: 919case SystemResourceKeyID.IconFontSize: 922case SystemResourceKeyID.IconFontFamily: 925case SystemResourceKeyID.IconFontStyle: 928case SystemResourceKeyID.IconFontWeight: 931case SystemResourceKeyID.IconFontTextDecorations: 934case SystemResourceKeyID.KeyboardCues: 937case SystemResourceKeyID.KeyboardDelay: 940case SystemResourceKeyID.KeyboardPreference: 943case SystemResourceKeyID.KeyboardSpeed: 946case SystemResourceKeyID.SnapToDefaultButton: 949case SystemResourceKeyID.WheelScrollLines: 952case SystemResourceKeyID.MouseHoverTime: 955case SystemResourceKeyID.MouseHoverHeight: 958case SystemResourceKeyID.MouseHoverWidth: 961case SystemResourceKeyID.MenuDropAlignment: 964case SystemResourceKeyID.MenuFade: 967case SystemResourceKeyID.MenuShowDelay: 970case SystemResourceKeyID.ComboBoxAnimation: 973case SystemResourceKeyID.ClientAreaAnimation: 976case SystemResourceKeyID.CursorShadow: 979case SystemResourceKeyID.GradientCaptions: 982case SystemResourceKeyID.HotTracking: 985case SystemResourceKeyID.ListBoxSmoothScrolling: 988case SystemResourceKeyID.MenuAnimation: 991case SystemResourceKeyID.SelectionFade: 994case SystemResourceKeyID.StylusHotTracking: 997case SystemResourceKeyID.ToolTipAnimation: 1000case SystemResourceKeyID.ToolTipFade: 1003case SystemResourceKeyID.UIEffects: 1006case SystemResourceKeyID.MinimizeAnimation: 1009case SystemResourceKeyID.Border: 1012case SystemResourceKeyID.CaretWidth: 1015case SystemResourceKeyID.ForegroundFlashCount: 1018case SystemResourceKeyID.DragFullWindows: 1021case SystemResourceKeyID.BorderWidth: 1024case SystemResourceKeyID.ScrollWidth: 1027case SystemResourceKeyID.ScrollHeight: 1030case SystemResourceKeyID.CaptionWidth: 1033case SystemResourceKeyID.CaptionHeight: 1036case SystemResourceKeyID.SmallCaptionWidth: 1039case SystemResourceKeyID.MenuWidth: 1042case SystemResourceKeyID.MenuHeight: 1045case SystemResourceKeyID.CaptionFontSize: 1048case SystemResourceKeyID.CaptionFontFamily: 1051case SystemResourceKeyID.CaptionFontStyle: 1054case SystemResourceKeyID.CaptionFontWeight: 1057case SystemResourceKeyID.CaptionFontTextDecorations: 1060case SystemResourceKeyID.SmallCaptionFontSize: 1063case SystemResourceKeyID.SmallCaptionFontFamily: 1066case SystemResourceKeyID.SmallCaptionFontStyle: 1069case SystemResourceKeyID.SmallCaptionFontWeight: 1072case SystemResourceKeyID.SmallCaptionFontTextDecorations: 1075case SystemResourceKeyID.MenuFontSize: 1078case SystemResourceKeyID.MenuFontFamily: 1081case SystemResourceKeyID.MenuFontStyle: 1084case SystemResourceKeyID.MenuFontWeight: 1087case SystemResourceKeyID.MenuFontTextDecorations: 1090case SystemResourceKeyID.StatusFontSize: 1093case SystemResourceKeyID.StatusFontFamily: 1096case SystemResourceKeyID.StatusFontStyle: 1099case SystemResourceKeyID.StatusFontWeight: 1102case SystemResourceKeyID.StatusFontTextDecorations: 1105case SystemResourceKeyID.MessageFontSize: 1108case SystemResourceKeyID.MessageFontFamily: 1111case SystemResourceKeyID.MessageFontStyle: 1114case SystemResourceKeyID.MessageFontWeight: 1117case SystemResourceKeyID.MessageFontTextDecorations: 1120case SystemResourceKeyID.ComboBoxPopupAnimation: 1123case SystemResourceKeyID.MenuPopupAnimation: 1126case SystemResourceKeyID.ToolTipPopupAnimation: 1129case SystemResourceKeyID.PowerLineStatus: 1141case (short)SystemResourceKeyID.ActiveBorderBrush: 1144case (short)SystemResourceKeyID.ActiveCaptionBrush: 1147case (short)SystemResourceKeyID.ActiveCaptionTextBrush: 1150case (short)SystemResourceKeyID.AppWorkspaceBrush: 1153case (short)SystemResourceKeyID.ControlBrush: 1156case (short)SystemResourceKeyID.ControlDarkBrush: 1159case (short)SystemResourceKeyID.ControlDarkDarkBrush: 1162case (short)SystemResourceKeyID.ControlLightBrush: 1165case (short)SystemResourceKeyID.ControlLightLightBrush: 1168case (short)SystemResourceKeyID.ControlTextBrush: 1171case (short)SystemResourceKeyID.DesktopBrush: 1174case (short)SystemResourceKeyID.GradientActiveCaptionBrush: 1177case (short)SystemResourceKeyID.GradientInactiveCaptionBrush: 1180case (short)SystemResourceKeyID.GrayTextBrush: 1183case (short)SystemResourceKeyID.HighlightBrush: 1186case (short)SystemResourceKeyID.HighlightTextBrush: 1189case (short)SystemResourceKeyID.HotTrackBrush: 1192case (short)SystemResourceKeyID.InactiveBorderBrush: 1195case (short)SystemResourceKeyID.InactiveCaptionBrush: 1198case (short)SystemResourceKeyID.InactiveCaptionTextBrush: 1201case (short)SystemResourceKeyID.InfoBrush: 1204case (short)SystemResourceKeyID.InfoTextBrush: 1207case (short)SystemResourceKeyID.MenuBrush: 1210case (short)SystemResourceKeyID.MenuBarBrush: 1213case (short)SystemResourceKeyID.MenuHighlightBrush: 1216case (short)SystemResourceKeyID.MenuTextBrush: 1219case (short)SystemResourceKeyID.ScrollBarBrush: 1222case (short)SystemResourceKeyID.WindowBrush: 1225case (short)SystemResourceKeyID.WindowFrameBrush: 1228case (short)SystemResourceKeyID.WindowTextBrush: 1231case (short)SystemResourceKeyID.InactiveSelectionHighlightBrush: 1234case (short)SystemResourceKeyID.InactiveSelectionHighlightTextBrush: 1237case (short)SystemResourceKeyID.AccentColorBrush: 1240case (short)SystemResourceKeyID.AccentColorLight1Brush: 1243case (short)SystemResourceKeyID.AccentColorLight2Brush: 1246case (short)SystemResourceKeyID.AccentColorLight3Brush: 1249case (short)SystemResourceKeyID.AccentColorDark1Brush: 1252case (short)SystemResourceKeyID.AccentColorDark2Brush: 1255case (short)SystemResourceKeyID.AccentColorDark3Brush: 1258case (short)SystemResourceKeyID.ActiveBorderColor: 1261case (short)SystemResourceKeyID.ActiveCaptionColor: 1264case (short)SystemResourceKeyID.ActiveCaptionTextColor: 1267case (short)SystemResourceKeyID.AppWorkspaceColor: 1270case (short)SystemResourceKeyID.ControlColor: 1273case (short)SystemResourceKeyID.ControlDarkColor: 1276case (short)SystemResourceKeyID.ControlDarkDarkColor: 1279case (short)SystemResourceKeyID.ControlLightColor: 1282case (short)SystemResourceKeyID.ControlLightLightColor: 1285case (short)SystemResourceKeyID.ControlTextColor: 1288case (short)SystemResourceKeyID.DesktopColor: 1291case (short)SystemResourceKeyID.GradientActiveCaptionColor: 1294case (short)SystemResourceKeyID.GradientInactiveCaptionColor: 1297case (short)SystemResourceKeyID.GrayTextColor: 1300case (short)SystemResourceKeyID.HighlightColor: 1303case (short)SystemResourceKeyID.HighlightTextColor: 1306case (short)SystemResourceKeyID.HotTrackColor: 1309case (short)SystemResourceKeyID.InactiveBorderColor: 1312case (short)SystemResourceKeyID.InactiveCaptionColor: 1315case (short)SystemResourceKeyID.InactiveCaptionTextColor: 1318case (short)SystemResourceKeyID.InfoColor: 1321case (short)SystemResourceKeyID.InfoTextColor: 1324case (short)SystemResourceKeyID.MenuColor: 1327case (short)SystemResourceKeyID.MenuBarColor: 1330case (short)SystemResourceKeyID.MenuHighlightColor: 1333case (short)SystemResourceKeyID.MenuTextColor: 1336case (short)SystemResourceKeyID.ScrollBarColor: 1339case (short)SystemResourceKeyID.WindowColor: 1342case (short)SystemResourceKeyID.WindowFrameColor: 1345case (short)SystemResourceKeyID.WindowTextColor: 1348case (short)SystemResourceKeyID.AccentColor: 1351case (short)SystemResourceKeyID.AccentColorLight1: 1354case (short)SystemResourceKeyID.AccentColorLight2: 1357case (short)SystemResourceKeyID.AccentColorLight3: 1360case (short)SystemResourceKeyID.AccentColorDark1: 1363case (short)SystemResourceKeyID.AccentColorDark2: 1366case (short)SystemResourceKeyID.AccentColorDark3: 1369case (short)SystemResourceKeyID.ThinHorizontalBorderHeight: 1372case (short)SystemResourceKeyID.ThinVerticalBorderWidth: 1375case (short)SystemResourceKeyID.CursorWidth: 1378case (short)SystemResourceKeyID.CursorHeight: 1381case (short)SystemResourceKeyID.ThickHorizontalBorderHeight: 1384case (short)SystemResourceKeyID.ThickVerticalBorderWidth: 1387case (short)SystemResourceKeyID.FixedFrameHorizontalBorderHeight: 1390case (short)SystemResourceKeyID.FixedFrameVerticalBorderWidth: 1393case (short)SystemResourceKeyID.FocusHorizontalBorderHeight: 1396case (short)SystemResourceKeyID.FocusVerticalBorderWidth: 1399case (short)SystemResourceKeyID.FullPrimaryScreenWidth: 1402case (short)SystemResourceKeyID.FullPrimaryScreenHeight: 1405case (short)SystemResourceKeyID.HorizontalScrollBarButtonWidth: 1408case (short)SystemResourceKeyID.HorizontalScrollBarHeight: 1411case (short)SystemResourceKeyID.HorizontalScrollBarThumbWidth: 1414case (short)SystemResourceKeyID.IconWidth: 1417case (short)SystemResourceKeyID.IconHeight: 1420case (short)SystemResourceKeyID.IconGridWidth: 1423case (short)SystemResourceKeyID.IconGridHeight: 1426case (short)SystemResourceKeyID.MaximizedPrimaryScreenWidth: 1429case (short)SystemResourceKeyID.MaximizedPrimaryScreenHeight: 1432case (short)SystemResourceKeyID.MaximumWindowTrackWidth: 1435case (short)SystemResourceKeyID.MaximumWindowTrackHeight: 1438case (short)SystemResourceKeyID.MenuCheckmarkWidth: 1441case (short)SystemResourceKeyID.MenuCheckmarkHeight: 1444case (short)SystemResourceKeyID.MenuButtonWidth: 1447case (short)SystemResourceKeyID.MenuButtonHeight: 1450case (short)SystemResourceKeyID.MinimumWindowWidth: 1453case (short)SystemResourceKeyID.MinimumWindowHeight: 1456case (short)SystemResourceKeyID.MinimizedWindowWidth: 1459case (short)SystemResourceKeyID.MinimizedWindowHeight: 1462case (short)SystemResourceKeyID.MinimizedGridWidth: 1465case (short)SystemResourceKeyID.MinimizedGridHeight: 1468case (short)SystemResourceKeyID.MinimumWindowTrackWidth: 1471case (short)SystemResourceKeyID.MinimumWindowTrackHeight: 1474case (short)SystemResourceKeyID.PrimaryScreenWidth: 1477case (short)SystemResourceKeyID.PrimaryScreenHeight: 1480case (short)SystemResourceKeyID.WindowCaptionButtonWidth: 1483case (short)SystemResourceKeyID.WindowCaptionButtonHeight: 1486case (short)SystemResourceKeyID.ResizeFrameHorizontalBorderHeight: 1489case (short)SystemResourceKeyID.ResizeFrameVerticalBorderWidth: 1492case (short)SystemResourceKeyID.SmallIconWidth: 1495case (short)SystemResourceKeyID.SmallIconHeight: 1498case (short)SystemResourceKeyID.SmallWindowCaptionButtonWidth: 1501case (short)SystemResourceKeyID.SmallWindowCaptionButtonHeight: 1504case (short)SystemResourceKeyID.VirtualScreenWidth: 1507case (short)SystemResourceKeyID.VirtualScreenHeight: 1510case (short)SystemResourceKeyID.VerticalScrollBarWidth: 1513case (short)SystemResourceKeyID.VerticalScrollBarButtonHeight: 1516case (short)SystemResourceKeyID.WindowCaptionHeight: 1519case (short)SystemResourceKeyID.KanjiWindowHeight: 1522case (short)SystemResourceKeyID.MenuBarHeight: 1525case (short)SystemResourceKeyID.SmallCaptionHeight: 1528case (short)SystemResourceKeyID.VerticalScrollBarThumbHeight: 1531case (short)SystemResourceKeyID.IsImmEnabled: 1534case (short)SystemResourceKeyID.IsMediaCenter: 1537case (short)SystemResourceKeyID.IsMenuDropRightAligned: 1540case (short)SystemResourceKeyID.IsMiddleEastEnabled: 1543case (short)SystemResourceKeyID.IsMousePresent: 1546case (short)SystemResourceKeyID.IsMouseWheelPresent: 1549case (short)SystemResourceKeyID.IsPenWindows: 1552case (short)SystemResourceKeyID.IsRemotelyControlled: 1555case (short)SystemResourceKeyID.IsRemoteSession: 1558case (short)SystemResourceKeyID.ShowSounds: 1561case (short)SystemResourceKeyID.IsSlowMachine: 1564case (short)SystemResourceKeyID.SwapButtons: 1567case (short)SystemResourceKeyID.IsTabletPC: 1570case (short)SystemResourceKeyID.VirtualScreenLeft: 1573case (short)SystemResourceKeyID.VirtualScreenTop: 1576case (short)SystemResourceKeyID.FocusBorderWidth: 1579case (short)SystemResourceKeyID.FocusBorderHeight: 1582case (short)SystemResourceKeyID.HighContrast: 1585case (short)SystemResourceKeyID.DropShadow: 1588case (short)SystemResourceKeyID.FlatMenu: 1591case (short)SystemResourceKeyID.WorkArea: 1594case (short)SystemResourceKeyID.IconHorizontalSpacing: 1597case (short)SystemResourceKeyID.IconVerticalSpacing: 1600case (short)SystemResourceKeyID.IconTitleWrap: 1603case (short)SystemResourceKeyID.IconFontSize: 1606case (short)SystemResourceKeyID.IconFontFamily: 1609case (short)SystemResourceKeyID.IconFontStyle: 1612case (short)SystemResourceKeyID.IconFontWeight: 1615case (short)SystemResourceKeyID.IconFontTextDecorations: 1618case (short)SystemResourceKeyID.KeyboardCues: 1621case (short)SystemResourceKeyID.KeyboardDelay: 1624case (short)SystemResourceKeyID.KeyboardPreference: 1627case (short)SystemResourceKeyID.KeyboardSpeed: 1630case (short)SystemResourceKeyID.SnapToDefaultButton: 1633case (short)SystemResourceKeyID.WheelScrollLines: 1636case (short)SystemResourceKeyID.MouseHoverTime: 1639case (short)SystemResourceKeyID.MouseHoverHeight: 1642case (short)SystemResourceKeyID.MouseHoverWidth: 1645case (short)SystemResourceKeyID.MenuDropAlignment: 1648case (short)SystemResourceKeyID.MenuFade: 1651case (short)SystemResourceKeyID.MenuShowDelay: 1654case (short)SystemResourceKeyID.ComboBoxAnimation: 1657case (short)SystemResourceKeyID.ClientAreaAnimation: 1660case (short)SystemResourceKeyID.CursorShadow: 1663case (short)SystemResourceKeyID.GradientCaptions: 1666case (short)SystemResourceKeyID.HotTracking: 1669case (short)SystemResourceKeyID.ListBoxSmoothScrolling: 1672case (short)SystemResourceKeyID.MenuAnimation: 1675case (short)SystemResourceKeyID.SelectionFade: 1678case (short)SystemResourceKeyID.StylusHotTracking: 1681case (short)SystemResourceKeyID.ToolTipAnimation: 1684case (short)SystemResourceKeyID.ToolTipFade: 1687case (short)SystemResourceKeyID.UIEffects: 1690case (short)SystemResourceKeyID.MinimizeAnimation: 1693case (short)SystemResourceKeyID.Border: 1696case (short)SystemResourceKeyID.CaretWidth: 1699case (short)SystemResourceKeyID.ForegroundFlashCount: 1702case (short)SystemResourceKeyID.DragFullWindows: 1705case (short)SystemResourceKeyID.BorderWidth: 1708case (short)SystemResourceKeyID.ScrollWidth: 1711case (short)SystemResourceKeyID.ScrollHeight: 1714case (short)SystemResourceKeyID.CaptionWidth: 1717case (short)SystemResourceKeyID.CaptionHeight: 1720case (short)SystemResourceKeyID.SmallCaptionWidth: 1723case (short)SystemResourceKeyID.MenuWidth: 1726case (short)SystemResourceKeyID.MenuHeight: 1729case (short)SystemResourceKeyID.CaptionFontSize: 1732case (short)SystemResourceKeyID.CaptionFontFamily: 1735case (short)SystemResourceKeyID.CaptionFontStyle: 1738case (short)SystemResourceKeyID.CaptionFontWeight: 1741case (short)SystemResourceKeyID.CaptionFontTextDecorations: 1744case (short)SystemResourceKeyID.SmallCaptionFontSize: 1747case (short)SystemResourceKeyID.SmallCaptionFontFamily: 1750case (short)SystemResourceKeyID.SmallCaptionFontStyle: 1753case (short)SystemResourceKeyID.SmallCaptionFontWeight: 1756case (short)SystemResourceKeyID.SmallCaptionFontTextDecorations: 1759case (short)SystemResourceKeyID.MenuFontSize: 1762case (short)SystemResourceKeyID.MenuFontFamily: 1765case (short)SystemResourceKeyID.MenuFontStyle: 1768case (short)SystemResourceKeyID.MenuFontWeight: 1771case (short)SystemResourceKeyID.MenuFontTextDecorations: 1774case (short)SystemResourceKeyID.StatusFontSize: 1777case (short)SystemResourceKeyID.StatusFontFamily: 1780case (short)SystemResourceKeyID.StatusFontStyle: 1783case (short)SystemResourceKeyID.StatusFontWeight: 1786case (short)SystemResourceKeyID.StatusFontTextDecorations: 1789case (short)SystemResourceKeyID.MessageFontSize: 1792case (short)SystemResourceKeyID.MessageFontFamily: 1795case (short)SystemResourceKeyID.MessageFontStyle: 1798case (short)SystemResourceKeyID.MessageFontWeight: 1801case (short)SystemResourceKeyID.MessageFontTextDecorations: 1804case (short)SystemResourceKeyID.ComboBoxPopupAnimation: 1807case (short)SystemResourceKeyID.MenuPopupAnimation: 1810case (short)SystemResourceKeyID.ToolTipPopupAnimation: 1813case (short)SystemResourceKeyID.FocusVisualStyle: 1816case (short)SystemResourceKeyID.NavigationChromeDownLevelStyle: 1819case (short)SystemResourceKeyID.NavigationChromeStyle: 1822case (short)SystemResourceKeyID.MenuItemSeparatorStyle: 1825case (short)SystemResourceKeyID.GridViewScrollViewerStyle: 1828case (short)SystemResourceKeyID.GridViewStyle: 1831case (short)SystemResourceKeyID.GridViewItemContainerStyle: 1834case (short)SystemResourceKeyID.StatusBarSeparatorStyle: 1837case (short)SystemResourceKeyID.ToolBarButtonStyle: 1840case (short)SystemResourceKeyID.ToolBarToggleButtonStyle: 1843case (short)SystemResourceKeyID.ToolBarSeparatorStyle: 1846case (short)SystemResourceKeyID.ToolBarCheckBoxStyle: 1849case (short)SystemResourceKeyID.ToolBarRadioButtonStyle: 1852case (short)SystemResourceKeyID.ToolBarComboBoxStyle: 1855case (short)SystemResourceKeyID.ToolBarTextBoxStyle: 1858case (short)SystemResourceKeyID.ToolBarMenuStyle: 1861case (short)SystemResourceKeyID.PowerLineStatus: 1938SystemResourceKeyID keyId = (SystemResourceKeyID)id; 1955internal SystemResourceKey(SystemResourceKeyID id) 1957Debug.Assert(((SystemResourceKeyID.InternalSystemColorsStart < id) && (id < SystemResourceKeyID.InternalSystemColorsEnd)) || 1958((SystemResourceKeyID.InternalSystemFontsStart < id) && (id < SystemResourceKeyID.InternalSystemFontsEnd)) || 1959((SystemResourceKeyID.InternalSystemParametersStart < id) && (id < SystemResourceKeyID.InternalSystemParametersEnd)) || 1960((SystemResourceKeyID.InternalSystemColorsExtendedStart < id) && (id < SystemResourceKeyID.InternalSystemColorsExtendedEnd)), 1965internal SystemResourceKeyID InternalKey 2053_menuItemSeparatorStyleKey = new SystemThemeKey(SystemResourceKeyID.MenuItemSeparatorStyle); 2091_gridViewItemContainerStyleKey = new SystemThemeKey(SystemResourceKeyID.GridViewItemContainerStyle); 2104_scrollViewerStyleKey = new SystemThemeKey(SystemResourceKeyID.GridViewScrollViewerStyle); 2117_gridViewStyleKey = new SystemThemeKey(SystemResourceKeyID.GridViewStyle); 2130_statusBarSeparatorStyleKey = new SystemThemeKey(SystemResourceKeyID.StatusBarSeparatorStyle); 2142_cacheButtonStyle = new SystemThemeKey(SystemResourceKeyID.ToolBarButtonStyle); 2158_cacheToggleButtonStyle = new SystemThemeKey(SystemResourceKeyID.ToolBarToggleButtonStyle); 2173_cacheSeparatorStyle = new SystemThemeKey(SystemResourceKeyID.ToolBarSeparatorStyle); 2189_cacheCheckBoxStyle = new SystemThemeKey(SystemResourceKeyID.ToolBarCheckBoxStyle); 2204_cacheRadioButtonStyle = new SystemThemeKey(SystemResourceKeyID.ToolBarRadioButtonStyle); 2220_cacheComboBoxStyle = new SystemThemeKey(SystemResourceKeyID.ToolBarComboBoxStyle); 2236_cacheTextBoxStyle = new SystemThemeKey(SystemResourceKeyID.ToolBarTextBoxStyle); 2252_cacheMenuStyle = new SystemThemeKey(SystemResourceKeyID.ToolBarMenuStyle); 2280private SystemResourceKeyID _id;
System\Windows\SystemThemeKey.cs (5)
24internal SystemThemeKey(SystemResourceKeyID id) 27Debug.Assert(id > SystemResourceKeyID.InternalSystemThemeStylesStart && 28id < SystemResourceKeyID.InternalSystemThemeStylesEnd); 83internal SystemResourceKeyID InternalKey 92private SystemResourceKeyID _id;