749 references to SystemResourceKeyID
PresentationFramework (749)
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (4)
2660if (valueId > (short)SystemResourceKeyID.InternalSystemColorsStart && valueId < (short)SystemResourceKeyID.InternalSystemColorsExtendedEnd) 2675System.Windows.SystemResourceKeyID keyId = (System.Windows.SystemResourceKeyID)valueId;
src\Framework\System\Windows\Markup\BamlReader.cs (3)
2473if (Enum.IsDefined(typeof(SystemResourceKeyID), (int)memberId)) 2475SystemResourceKeyID keyId = (SystemResourceKeyID)memberId;
src\Framework\System\Windows\SystemColors.cs (63)
349private static SystemResourceKey CreateInstance(SystemResourceKeyID KeyId) 365_cacheActiveBorderColor = CreateInstance(SystemResourceKeyID.ActiveBorderColor); 381_cacheActiveCaptionColor = CreateInstance(SystemResourceKeyID.ActiveCaptionColor); 397_cacheActiveCaptionTextColor = CreateInstance(SystemResourceKeyID.ActiveCaptionTextColor); 413_cacheAppWorkspaceColor = CreateInstance(SystemResourceKeyID.AppWorkspaceColor); 429_cacheControlColor = CreateInstance(SystemResourceKeyID.ControlColor); 445_cacheControlDarkColor = CreateInstance(SystemResourceKeyID.ControlDarkColor); 461_cacheControlDarkDarkColor = CreateInstance(SystemResourceKeyID.ControlDarkDarkColor); 477_cacheControlLightColor = CreateInstance(SystemResourceKeyID.ControlLightColor); 493_cacheControlLightLightColor = CreateInstance(SystemResourceKeyID.ControlLightLightColor); 509_cacheControlTextColor = CreateInstance(SystemResourceKeyID.ControlTextColor); 525_cacheDesktopColor = CreateInstance(SystemResourceKeyID.DesktopColor); 541_cacheGradientActiveCaptionColor = CreateInstance(SystemResourceKeyID.GradientActiveCaptionColor); 557_cacheGradientInactiveCaptionColor = CreateInstance(SystemResourceKeyID.GradientInactiveCaptionColor); 573_cacheGrayTextColor = CreateInstance(SystemResourceKeyID.GrayTextColor); 589_cacheHighlightColor = CreateInstance(SystemResourceKeyID.HighlightColor); 605_cacheHighlightTextColor = CreateInstance(SystemResourceKeyID.HighlightTextColor); 621_cacheHotTrackColor = CreateInstance(SystemResourceKeyID.HotTrackColor); 637_cacheInactiveBorderColor = CreateInstance(SystemResourceKeyID.InactiveBorderColor); 653_cacheInactiveCaptionColor = CreateInstance(SystemResourceKeyID.InactiveCaptionColor); 669_cacheInactiveCaptionTextColor = CreateInstance(SystemResourceKeyID.InactiveCaptionTextColor); 685_cacheInfoColor = CreateInstance(SystemResourceKeyID.InfoColor); 701_cacheInfoTextColor = CreateInstance(SystemResourceKeyID.InfoTextColor); 717_cacheMenuColor = CreateInstance(SystemResourceKeyID.MenuColor); 733_cacheMenuBarColor = CreateInstance(SystemResourceKeyID.MenuBarColor); 749_cacheMenuHighlightColor = CreateInstance(SystemResourceKeyID.MenuHighlightColor); 765_cacheMenuTextColor = CreateInstance(SystemResourceKeyID.MenuTextColor); 781_cacheScrollBarColor = CreateInstance(SystemResourceKeyID.ScrollBarColor); 797_cacheWindowColor = CreateInstance(SystemResourceKeyID.WindowColor); 813_cacheWindowFrameColor = CreateInstance(SystemResourceKeyID.WindowFrameColor); 829_cacheWindowTextColor = CreateInstance(SystemResourceKeyID.WindowTextColor); 1225_cacheActiveBorderBrush = CreateInstance(SystemResourceKeyID.ActiveBorderBrush); 1241_cacheActiveCaptionBrush = CreateInstance(SystemResourceKeyID.ActiveCaptionBrush); 1257_cacheActiveCaptionTextBrush = CreateInstance(SystemResourceKeyID.ActiveCaptionTextBrush); 1273_cacheAppWorkspaceBrush = CreateInstance(SystemResourceKeyID.AppWorkspaceBrush); 1289_cacheControlBrush = CreateInstance(SystemResourceKeyID.ControlBrush); 1305_cacheControlDarkBrush = CreateInstance(SystemResourceKeyID.ControlDarkBrush); 1321_cacheControlDarkDarkBrush = CreateInstance(SystemResourceKeyID.ControlDarkDarkBrush); 1337_cacheControlLightBrush = CreateInstance(SystemResourceKeyID.ControlLightBrush); 1353_cacheControlLightLightBrush = CreateInstance(SystemResourceKeyID.ControlLightLightBrush); 1369_cacheControlTextBrush = CreateInstance(SystemResourceKeyID.ControlTextBrush); 1385_cacheDesktopBrush = CreateInstance(SystemResourceKeyID.DesktopBrush); 1401_cacheGradientActiveCaptionBrush = CreateInstance(SystemResourceKeyID.GradientActiveCaptionBrush); 1417_cacheGradientInactiveCaptionBrush = CreateInstance(SystemResourceKeyID.GradientInactiveCaptionBrush); 1433_cacheGrayTextBrush = CreateInstance(SystemResourceKeyID.GrayTextBrush); 1449_cacheHighlightBrush = CreateInstance(SystemResourceKeyID.HighlightBrush); 1465_cacheHighlightTextBrush = CreateInstance(SystemResourceKeyID.HighlightTextBrush); 1481_cacheHotTrackBrush = CreateInstance(SystemResourceKeyID.HotTrackBrush); 1497_cacheInactiveBorderBrush = CreateInstance(SystemResourceKeyID.InactiveBorderBrush); 1513_cacheInactiveCaptionBrush = CreateInstance(SystemResourceKeyID.InactiveCaptionBrush); 1529_cacheInactiveCaptionTextBrush = CreateInstance(SystemResourceKeyID.InactiveCaptionTextBrush); 1545_cacheInfoBrush = CreateInstance(SystemResourceKeyID.InfoBrush); 1561_cacheInfoTextBrush = CreateInstance(SystemResourceKeyID.InfoTextBrush); 1577_cacheMenuBrush = CreateInstance(SystemResourceKeyID.MenuBrush); 1593_cacheMenuBarBrush = CreateInstance(SystemResourceKeyID.MenuBarBrush); 1609_cacheMenuHighlightBrush = CreateInstance(SystemResourceKeyID.MenuHighlightBrush); 1625_cacheMenuTextBrush = CreateInstance(SystemResourceKeyID.MenuTextBrush); 1641_cacheScrollBarBrush = CreateInstance(SystemResourceKeyID.ScrollBarBrush); 1657_cacheWindowBrush = CreateInstance(SystemResourceKeyID.WindowBrush); 1673_cacheWindowFrameBrush = CreateInstance(SystemResourceKeyID.WindowFrameBrush); 1689_cacheWindowTextBrush = CreateInstance(SystemResourceKeyID.WindowTextBrush); 1707_cacheInactiveSelectionHighlightBrush = CreateInstance(SystemResourceKeyID.InactiveSelectionHighlightBrush); 1730_cacheInactiveSelectionHighlightTextBrush = CreateInstance(SystemResourceKeyID.InactiveSelectionHighlightTextBrush);
src\Framework\System\Windows\SystemFonts.cs (31)
508private static SystemResourceKey CreateInstance(SystemResourceKeyID KeyId) 524_cacheIconFontSize = CreateInstance(SystemResourceKeyID.IconFontSize); 540_cacheIconFontFamily = CreateInstance(SystemResourceKeyID.IconFontFamily); 556_cacheIconFontStyle = CreateInstance(SystemResourceKeyID.IconFontStyle); 572_cacheIconFontWeight = CreateInstance(SystemResourceKeyID.IconFontWeight); 588_cacheIconFontTextDecorations = CreateInstance(SystemResourceKeyID.IconFontTextDecorations); 607_cacheCaptionFontSize = CreateInstance(SystemResourceKeyID.CaptionFontSize); 623_cacheCaptionFontFamily = CreateInstance(SystemResourceKeyID.CaptionFontFamily); 639_cacheCaptionFontStyle = CreateInstance(SystemResourceKeyID.CaptionFontStyle); 655_cacheCaptionFontWeight = CreateInstance(SystemResourceKeyID.CaptionFontWeight); 671_cacheCaptionFontTextDecorations = CreateInstance(SystemResourceKeyID.CaptionFontTextDecorations); 687_cacheSmallCaptionFontSize = CreateInstance(SystemResourceKeyID.SmallCaptionFontSize); 703_cacheSmallCaptionFontFamily = CreateInstance(SystemResourceKeyID.SmallCaptionFontFamily); 719_cacheSmallCaptionFontStyle = CreateInstance(SystemResourceKeyID.SmallCaptionFontStyle); 735_cacheSmallCaptionFontWeight = CreateInstance(SystemResourceKeyID.SmallCaptionFontWeight); 751_cacheSmallCaptionFontTextDecorations = CreateInstance(SystemResourceKeyID.SmallCaptionFontTextDecorations); 767_cacheMenuFontSize = CreateInstance(SystemResourceKeyID.MenuFontSize); 783_cacheMenuFontFamily = CreateInstance(SystemResourceKeyID.MenuFontFamily); 799_cacheMenuFontStyle = CreateInstance(SystemResourceKeyID.MenuFontStyle); 815_cacheMenuFontWeight = CreateInstance(SystemResourceKeyID.MenuFontWeight); 831_cacheMenuFontTextDecorations = CreateInstance(SystemResourceKeyID.MenuFontTextDecorations); 847_cacheStatusFontSize = CreateInstance(SystemResourceKeyID.StatusFontSize); 863_cacheStatusFontFamily = CreateInstance(SystemResourceKeyID.StatusFontFamily); 879_cacheStatusFontStyle = CreateInstance(SystemResourceKeyID.StatusFontStyle); 895_cacheStatusFontWeight = CreateInstance(SystemResourceKeyID.StatusFontWeight); 911_cacheStatusFontTextDecorations = CreateInstance(SystemResourceKeyID.StatusFontTextDecorations); 927_cacheMessageFontSize = CreateInstance(SystemResourceKeyID.MessageFontSize); 943_cacheMessageFontFamily = CreateInstance(SystemResourceKeyID.MessageFontFamily); 959_cacheMessageFontStyle = CreateInstance(SystemResourceKeyID.MessageFontStyle); 975_cacheMessageFontWeight = CreateInstance(SystemResourceKeyID.MessageFontWeight); 991_cacheMessageFontTextDecorations = CreateInstance(SystemResourceKeyID.MessageFontTextDecorations);
src\Framework\System\Windows\SystemKeyConverter.cs (48)
130SystemResourceKeyID keyId; 173internal static Type GetSystemClassType(SystemResourceKeyID id) 175if (((SystemResourceKeyID.InternalSystemColorsStart < id) && 176(id < SystemResourceKeyID.InternalSystemColorsEnd))|| 177((SystemResourceKeyID.InternalSystemColorsExtendedStart < id) && 178(id < SystemResourceKeyID.InternalSystemColorsExtendedEnd))) 182else if ((SystemResourceKeyID.InternalSystemFontsStart < id) && 183(id < SystemResourceKeyID.InternalSystemFontsEnd)) 187else if ((SystemResourceKeyID.InternalSystemParametersStart < id) && 188(id < SystemResourceKeyID.InternalSystemParametersEnd)) 192else if (SystemResourceKeyID.MenuItemSeparatorStyle == id) 196else if ((SystemResourceKeyID.ToolBarButtonStyle <= id) && 197(id <= SystemResourceKeyID.ToolBarMenuStyle)) 201else if (SystemResourceKeyID.StatusBarSeparatorStyle == id) 205else if ((SystemResourceKeyID.GridViewScrollViewerStyle <= id) && 206(id <= SystemResourceKeyID.GridViewItemContainerStyle)) 214internal static string GetSystemClassName(SystemResourceKeyID id) 216if (((SystemResourceKeyID.InternalSystemColorsStart < id) && 217(id < SystemResourceKeyID.InternalSystemColorsEnd))|| 218((SystemResourceKeyID.InternalSystemColorsExtendedStart < id) && 219(id < SystemResourceKeyID.InternalSystemColorsExtendedEnd))) 223else if ((SystemResourceKeyID.InternalSystemFontsStart < id) && 224(id < SystemResourceKeyID.InternalSystemFontsEnd)) 228else if ((SystemResourceKeyID.InternalSystemParametersStart < id) && 229(id < SystemResourceKeyID.InternalSystemParametersEnd)) 233else if (SystemResourceKeyID.MenuItemSeparatorStyle == id) 237else if ((SystemResourceKeyID.ToolBarButtonStyle <= id) && 238(id <= SystemResourceKeyID.ToolBarMenuStyle)) 242else if (SystemResourceKeyID.StatusBarSeparatorStyle == id) 246else if ((SystemResourceKeyID.GridViewScrollViewerStyle <= id) && 247(id <= SystemResourceKeyID.GridViewItemContainerStyle)) 255internal static string GetSystemKeyName(SystemResourceKeyID id) 257if (((SystemResourceKeyID.InternalSystemColorsStart < id) && 258(id < SystemResourceKeyID.InternalSystemParametersEnd))|| 259((SystemResourceKeyID.InternalSystemColorsExtendedStart < id) && 260(id < SystemResourceKeyID.InternalSystemColorsExtendedEnd))|| 261((SystemResourceKeyID.GridViewScrollViewerStyle <= id) && 262(id <= SystemResourceKeyID.GridViewItemContainerStyle))) 264return Enum.GetName(typeof(SystemResourceKeyID), id) + "Key"; 266else if (SystemResourceKeyID.MenuItemSeparatorStyle == id || 267SystemResourceKeyID.StatusBarSeparatorStyle == id) 271else if ((SystemResourceKeyID.ToolBarButtonStyle <= id) && 272(id <= SystemResourceKeyID.ToolBarMenuStyle)) 274string propName = Enum.GetName(typeof(SystemResourceKeyID), id) + "Key"; 281internal static string GetSystemPropertyName(SystemResourceKeyID id) 283if ((SystemResourceKeyID.InternalSystemColorsStart < id) && 284(id < SystemResourceKeyID.InternalSystemColorsExtendedEnd)) 286return Enum.GetName(typeof(SystemResourceKeyID), id);
src\Framework\System\Windows\SystemParameters.cs (123)
251private static SystemResourceKey CreateInstance(SystemResourceKeyID KeyId) 267_cacheFocusBorderWidth = CreateInstance(SystemResourceKeyID.FocusBorderWidth); 283_cacheFocusBorderHeight = CreateInstance(SystemResourceKeyID.FocusBorderHeight); 299_cacheHighContrast = CreateInstance(SystemResourceKeyID.HighContrast); 446_cacheDropShadow = CreateInstance(SystemResourceKeyID.DropShadow); 462_cacheFlatMenu = CreateInstance(SystemResourceKeyID.FlatMenu); 478_cacheWorkArea = CreateInstance(SystemResourceKeyID.WorkArea); 569_cacheIconHorizontalSpacing = CreateInstance(SystemResourceKeyID.IconHorizontalSpacing); 585_cacheIconVerticalSpacing = CreateInstance(SystemResourceKeyID.IconVerticalSpacing); 601_cacheIconTitleWrap = CreateInstance(SystemResourceKeyID.IconTitleWrap); 940_cacheKeyboardCues = CreateInstance(SystemResourceKeyID.KeyboardCues); 956_cacheKeyboardDelay = CreateInstance(SystemResourceKeyID.KeyboardDelay); 972_cacheKeyboardPreference = CreateInstance(SystemResourceKeyID.KeyboardPreference); 988_cacheKeyboardSpeed = CreateInstance(SystemResourceKeyID.KeyboardSpeed); 1004_cacheSnapToDefaultButton = CreateInstance(SystemResourceKeyID.SnapToDefaultButton); 1020_cacheWheelScrollLines = CreateInstance(SystemResourceKeyID.WheelScrollLines); 1036_cacheMouseHoverTime = CreateInstance(SystemResourceKeyID.MouseHoverTime); 1052_cacheMouseHoverHeight = CreateInstance(SystemResourceKeyID.MouseHoverHeight); 1068_cacheMouseHoverWidth = CreateInstance(SystemResourceKeyID.MouseHoverWidth); 1192_cacheMenuDropAlignment = CreateInstance(SystemResourceKeyID.MenuDropAlignment); 1208_cacheMenuFade = CreateInstance(SystemResourceKeyID.MenuFade); 1224_cacheMenuShowDelay = CreateInstance(SystemResourceKeyID.MenuShowDelay); 1711_cacheComboBoxAnimation = CreateInstance(SystemResourceKeyID.ComboBoxAnimation); 1727_cacheClientAreaAnimation = CreateInstance(SystemResourceKeyID.ClientAreaAnimation); 1743_cacheCursorShadow = CreateInstance(SystemResourceKeyID.CursorShadow); 1759_cacheGradientCaptions = CreateInstance(SystemResourceKeyID.GradientCaptions); 1775_cacheHotTracking = CreateInstance(SystemResourceKeyID.HotTracking); 1791_cacheListBoxSmoothScrolling = CreateInstance(SystemResourceKeyID.ListBoxSmoothScrolling); 1807_cacheMenuAnimation = CreateInstance(SystemResourceKeyID.MenuAnimation); 1823_cacheSelectionFade = CreateInstance(SystemResourceKeyID.SelectionFade); 1839_cacheStylusHotTracking = CreateInstance(SystemResourceKeyID.StylusHotTracking); 1855_cacheToolTipAnimation = CreateInstance(SystemResourceKeyID.ToolTipAnimation); 1871_cacheToolTipFade = CreateInstance(SystemResourceKeyID.ToolTipFade); 1887_cacheUIEffects = CreateInstance(SystemResourceKeyID.UIEffects); 1903_cacheComboBoxPopupAnimation = CreateInstance(SystemResourceKeyID.ComboBoxPopupAnimation); 1919_cacheMenuPopupAnimation = CreateInstance(SystemResourceKeyID.MenuPopupAnimation); 1935_cacheToolTipPopupAnimation = CreateInstance(SystemResourceKeyID.ToolTipPopupAnimation); 2286_cacheMinimizeAnimation = CreateInstance(SystemResourceKeyID.MinimizeAnimation); 2302_cacheBorder = CreateInstance(SystemResourceKeyID.Border); 2318_cacheCaretWidth = CreateInstance(SystemResourceKeyID.CaretWidth); 2334_cacheForegroundFlashCount = CreateInstance(SystemResourceKeyID.ForegroundFlashCount); 2350_cacheDragFullWindows = CreateInstance(SystemResourceKeyID.DragFullWindows); 2366_cacheBorderWidth = CreateInstance(SystemResourceKeyID.BorderWidth); 2382_cacheScrollWidth = CreateInstance(SystemResourceKeyID.ScrollWidth); 2398_cacheScrollHeight = CreateInstance(SystemResourceKeyID.ScrollHeight); 2414_cacheCaptionWidth = CreateInstance(SystemResourceKeyID.CaptionWidth); 2430_cacheCaptionHeight = CreateInstance(SystemResourceKeyID.CaptionHeight); 2446_cacheSmallCaptionWidth = CreateInstance(SystemResourceKeyID.SmallCaptionWidth); 2462_cacheMenuWidth = CreateInstance(SystemResourceKeyID.MenuWidth); 2478_cacheMenuHeight = CreateInstance(SystemResourceKeyID.MenuHeight); 4379_cacheThinHorizontalBorderHeight = CreateInstance(SystemResourceKeyID.ThinHorizontalBorderHeight); 4395_cacheThinVerticalBorderWidth = CreateInstance(SystemResourceKeyID.ThinVerticalBorderWidth); 4411_cacheCursorWidth = CreateInstance(SystemResourceKeyID.CursorWidth); 4427_cacheCursorHeight = CreateInstance(SystemResourceKeyID.CursorHeight); 4443_cacheThickHorizontalBorderHeight = CreateInstance(SystemResourceKeyID.ThickHorizontalBorderHeight); 4459_cacheThickVerticalBorderWidth = CreateInstance(SystemResourceKeyID.ThickVerticalBorderWidth); 4475_cacheFixedFrameHorizontalBorderHeight = CreateInstance(SystemResourceKeyID.FixedFrameHorizontalBorderHeight); 4491_cacheFixedFrameVerticalBorderWidth = CreateInstance(SystemResourceKeyID.FixedFrameVerticalBorderWidth); 4507_cacheFocusHorizontalBorderHeight = CreateInstance(SystemResourceKeyID.FocusHorizontalBorderHeight); 4523_cacheFocusVerticalBorderWidth = CreateInstance(SystemResourceKeyID.FocusVerticalBorderWidth); 4539_cacheFullPrimaryScreenWidth = CreateInstance(SystemResourceKeyID.FullPrimaryScreenWidth); 4555_cacheFullPrimaryScreenHeight = CreateInstance(SystemResourceKeyID.FullPrimaryScreenHeight); 4571_cacheHorizontalScrollBarButtonWidth = CreateInstance(SystemResourceKeyID.HorizontalScrollBarButtonWidth); 4587_cacheHorizontalScrollBarHeight = CreateInstance(SystemResourceKeyID.HorizontalScrollBarHeight); 4603_cacheHorizontalScrollBarThumbWidth = CreateInstance(SystemResourceKeyID.HorizontalScrollBarThumbWidth); 4619_cacheIconWidth = CreateInstance(SystemResourceKeyID.IconWidth); 4635_cacheIconHeight = CreateInstance(SystemResourceKeyID.IconHeight); 4651_cacheIconGridWidth = CreateInstance(SystemResourceKeyID.IconGridWidth); 4667_cacheIconGridHeight = CreateInstance(SystemResourceKeyID.IconGridHeight); 4683_cacheMaximizedPrimaryScreenWidth = CreateInstance(SystemResourceKeyID.MaximizedPrimaryScreenWidth); 4699_cacheMaximizedPrimaryScreenHeight = CreateInstance(SystemResourceKeyID.MaximizedPrimaryScreenHeight); 4715_cacheMaximumWindowTrackWidth = CreateInstance(SystemResourceKeyID.MaximumWindowTrackWidth); 4731_cacheMaximumWindowTrackHeight = CreateInstance(SystemResourceKeyID.MaximumWindowTrackHeight); 4747_cacheMenuCheckmarkWidth = CreateInstance(SystemResourceKeyID.MenuCheckmarkWidth); 4763_cacheMenuCheckmarkHeight = CreateInstance(SystemResourceKeyID.MenuCheckmarkHeight); 4779_cacheMenuButtonWidth = CreateInstance(SystemResourceKeyID.MenuButtonWidth); 4795_cacheMenuButtonHeight = CreateInstance(SystemResourceKeyID.MenuButtonHeight); 4811_cacheMinimumWindowWidth = CreateInstance(SystemResourceKeyID.MinimumWindowWidth); 4827_cacheMinimumWindowHeight = CreateInstance(SystemResourceKeyID.MinimumWindowHeight); 4843_cacheMinimizedWindowWidth = CreateInstance(SystemResourceKeyID.MinimizedWindowWidth); 4859_cacheMinimizedWindowHeight = CreateInstance(SystemResourceKeyID.MinimizedWindowHeight); 4875_cacheMinimizedGridWidth = CreateInstance(SystemResourceKeyID.MinimizedGridWidth); 4891_cacheMinimizedGridHeight = CreateInstance(SystemResourceKeyID.MinimizedGridHeight); 4907_cacheMinimumWindowTrackWidth = CreateInstance(SystemResourceKeyID.MinimumWindowTrackWidth); 4923_cacheMinimumWindowTrackHeight = CreateInstance(SystemResourceKeyID.MinimumWindowTrackHeight); 4939_cachePrimaryScreenWidth = CreateInstance(SystemResourceKeyID.PrimaryScreenWidth); 4955_cachePrimaryScreenHeight = CreateInstance(SystemResourceKeyID.PrimaryScreenHeight); 4971_cacheWindowCaptionButtonWidth = CreateInstance(SystemResourceKeyID.WindowCaptionButtonWidth); 4987_cacheWindowCaptionButtonHeight = CreateInstance(SystemResourceKeyID.WindowCaptionButtonHeight); 5003_cacheResizeFrameHorizontalBorderHeight = CreateInstance(SystemResourceKeyID.ResizeFrameHorizontalBorderHeight); 5019_cacheResizeFrameVerticalBorderWidth = CreateInstance(SystemResourceKeyID.ResizeFrameVerticalBorderWidth); 5035_cacheSmallIconWidth = CreateInstance(SystemResourceKeyID.SmallIconWidth); 5051_cacheSmallIconHeight = CreateInstance(SystemResourceKeyID.SmallIconHeight); 5067_cacheSmallWindowCaptionButtonWidth = CreateInstance(SystemResourceKeyID.SmallWindowCaptionButtonWidth); 5083_cacheSmallWindowCaptionButtonHeight = CreateInstance(SystemResourceKeyID.SmallWindowCaptionButtonHeight); 5099_cacheVirtualScreenWidth = CreateInstance(SystemResourceKeyID.VirtualScreenWidth); 5115_cacheVirtualScreenHeight = CreateInstance(SystemResourceKeyID.VirtualScreenHeight); 5131_cacheVerticalScrollBarWidth = CreateInstance(SystemResourceKeyID.VerticalScrollBarWidth); 5147_cacheVerticalScrollBarButtonHeight = CreateInstance(SystemResourceKeyID.VerticalScrollBarButtonHeight); 5163_cacheWindowCaptionHeight = CreateInstance(SystemResourceKeyID.WindowCaptionHeight); 5179_cacheKanjiWindowHeight = CreateInstance(SystemResourceKeyID.KanjiWindowHeight); 5195_cacheMenuBarHeight = CreateInstance(SystemResourceKeyID.MenuBarHeight); 5211_cacheSmallCaptionHeight = CreateInstance(SystemResourceKeyID.SmallCaptionHeight); 5227_cacheVerticalScrollBarThumbHeight = CreateInstance(SystemResourceKeyID.VerticalScrollBarThumbHeight); 5243_cacheIsImmEnabled = CreateInstance(SystemResourceKeyID.IsImmEnabled); 5259_cacheIsMediaCenter = CreateInstance(SystemResourceKeyID.IsMediaCenter); 5275_cacheIsMenuDropRightAligned = CreateInstance(SystemResourceKeyID.IsMenuDropRightAligned); 5291_cacheIsMiddleEastEnabled = CreateInstance(SystemResourceKeyID.IsMiddleEastEnabled); 5307_cacheIsMousePresent = CreateInstance(SystemResourceKeyID.IsMousePresent); 5323_cacheIsMouseWheelPresent = CreateInstance(SystemResourceKeyID.IsMouseWheelPresent); 5339_cacheIsPenWindows = CreateInstance(SystemResourceKeyID.IsPenWindows); 5355_cacheIsRemotelyControlled = CreateInstance(SystemResourceKeyID.IsRemotelyControlled); 5371_cacheIsRemoteSession = CreateInstance(SystemResourceKeyID.IsRemoteSession); 5387_cacheShowSounds = CreateInstance(SystemResourceKeyID.ShowSounds); 5403_cacheIsSlowMachine = CreateInstance(SystemResourceKeyID.IsSlowMachine); 5419_cacheSwapButtons = CreateInstance(SystemResourceKeyID.SwapButtons); 5435_cacheIsTabletPC = CreateInstance(SystemResourceKeyID.IsTabletPC); 5451_cacheVirtualScreenLeft = CreateInstance(SystemResourceKeyID.VirtualScreenLeft); 5467_cacheVirtualScreenTop = CreateInstance(SystemResourceKeyID.VirtualScreenTop); 5487_cacheFocusVisualStyle = new SystemThemeKey(SystemResourceKeyID.FocusVisualStyle); 5504_cacheNavigationChromeStyle = new SystemThemeKey(SystemResourceKeyID.NavigationChromeStyle); 5521_cacheNavigationChromeDownLevelStyle = new SystemThemeKey(SystemResourceKeyID.NavigationChromeDownLevelStyle); 5580_cachePowerLineStatus = CreateInstance(SystemResourceKeyID.PowerLineStatus);
src\Framework\System\Windows\SystemResourceKey.cs (472)
304private const short SystemResourceKeyIDStart = (short)SystemResourceKeyID.InternalSystemColorsStart; 305private const short SystemResourceKeyIDEnd = (short)SystemResourceKeyID.InternalSystemThemeStylesEnd; 310private const short SystemResourceKeyIDExtendedStart = (short)SystemResourceKeyID.InternalSystemColorsExtendedStart; 311private const short SystemResourceKeyIDExtendedEnd = (short)SystemResourceKeyID.InternalSystemColorsExtendedEnd; 372SystemResourceKeyID srkId = SystemResourceKeyID.InternalSystemColorsStart; 394srkId = (SystemResourceKeyID)Enum.Parse(typeof(SystemResourceKeyID), srkField); 449case SystemResourceKeyID.ActiveBorderBrush: 452case SystemResourceKeyID.ActiveCaptionBrush: 455case SystemResourceKeyID.ActiveCaptionTextBrush: 458case SystemResourceKeyID.AppWorkspaceBrush: 461case SystemResourceKeyID.ControlBrush: 464case SystemResourceKeyID.ControlDarkBrush: 467case SystemResourceKeyID.ControlDarkDarkBrush: 470case SystemResourceKeyID.ControlLightBrush: 473case SystemResourceKeyID.ControlLightLightBrush: 476case SystemResourceKeyID.ControlTextBrush: 479case SystemResourceKeyID.DesktopBrush: 482case SystemResourceKeyID.GradientActiveCaptionBrush: 485case SystemResourceKeyID.GradientInactiveCaptionBrush: 488case SystemResourceKeyID.GrayTextBrush: 491case SystemResourceKeyID.HighlightBrush: 494case SystemResourceKeyID.HighlightTextBrush: 497case SystemResourceKeyID.HotTrackBrush: 500case SystemResourceKeyID.InactiveBorderBrush: 503case SystemResourceKeyID.InactiveCaptionBrush: 506case SystemResourceKeyID.InactiveCaptionTextBrush: 509case SystemResourceKeyID.InfoBrush: 512case SystemResourceKeyID.InfoTextBrush: 515case SystemResourceKeyID.MenuBrush: 518case SystemResourceKeyID.MenuBarBrush: 521case SystemResourceKeyID.MenuHighlightBrush: 524case SystemResourceKeyID.MenuTextBrush: 527case SystemResourceKeyID.ScrollBarBrush: 530case SystemResourceKeyID.WindowBrush: 533case SystemResourceKeyID.WindowFrameBrush: 536case SystemResourceKeyID.WindowTextBrush: 539case SystemResourceKeyID.InactiveSelectionHighlightBrush: 542case SystemResourceKeyID.InactiveSelectionHighlightTextBrush: 545case SystemResourceKeyID.ActiveBorderColor: 548case SystemResourceKeyID.ActiveCaptionColor: 551case SystemResourceKeyID.ActiveCaptionTextColor: 554case SystemResourceKeyID.AppWorkspaceColor: 557case SystemResourceKeyID.ControlColor: 560case SystemResourceKeyID.ControlDarkColor: 563case SystemResourceKeyID.ControlDarkDarkColor: 566case SystemResourceKeyID.ControlLightColor: 569case SystemResourceKeyID.ControlLightLightColor: 572case SystemResourceKeyID.ControlTextColor: 575case SystemResourceKeyID.DesktopColor: 578case SystemResourceKeyID.GradientActiveCaptionColor: 581case SystemResourceKeyID.GradientInactiveCaptionColor: 584case SystemResourceKeyID.GrayTextColor: 587case SystemResourceKeyID.HighlightColor: 590case SystemResourceKeyID.HighlightTextColor: 593case SystemResourceKeyID.HotTrackColor: 596case SystemResourceKeyID.InactiveBorderColor: 599case SystemResourceKeyID.InactiveCaptionColor: 602case SystemResourceKeyID.InactiveCaptionTextColor: 605case SystemResourceKeyID.InfoColor: 608case SystemResourceKeyID.InfoTextColor: 611case SystemResourceKeyID.MenuColor: 614case SystemResourceKeyID.MenuBarColor: 617case SystemResourceKeyID.MenuHighlightColor: 620case SystemResourceKeyID.MenuTextColor: 623case SystemResourceKeyID.ScrollBarColor: 626case SystemResourceKeyID.WindowColor: 629case SystemResourceKeyID.WindowFrameColor: 632case SystemResourceKeyID.WindowTextColor: 635case SystemResourceKeyID.ThinHorizontalBorderHeight: 638case SystemResourceKeyID.ThinVerticalBorderWidth: 641case SystemResourceKeyID.CursorWidth: 644case SystemResourceKeyID.CursorHeight: 647case SystemResourceKeyID.ThickHorizontalBorderHeight: 650case SystemResourceKeyID.ThickVerticalBorderWidth: 653case SystemResourceKeyID.FixedFrameHorizontalBorderHeight: 656case SystemResourceKeyID.FixedFrameVerticalBorderWidth: 659case SystemResourceKeyID.FocusHorizontalBorderHeight: 662case SystemResourceKeyID.FocusVerticalBorderWidth: 665case SystemResourceKeyID.FullPrimaryScreenWidth: 668case SystemResourceKeyID.FullPrimaryScreenHeight: 671case SystemResourceKeyID.HorizontalScrollBarButtonWidth: 674case SystemResourceKeyID.HorizontalScrollBarHeight: 677case SystemResourceKeyID.HorizontalScrollBarThumbWidth: 680case SystemResourceKeyID.IconWidth: 683case SystemResourceKeyID.IconHeight: 686case SystemResourceKeyID.IconGridWidth: 689case SystemResourceKeyID.IconGridHeight: 692case SystemResourceKeyID.MaximizedPrimaryScreenWidth: 695case SystemResourceKeyID.MaximizedPrimaryScreenHeight: 698case SystemResourceKeyID.MaximumWindowTrackWidth: 701case SystemResourceKeyID.MaximumWindowTrackHeight: 704case SystemResourceKeyID.MenuCheckmarkWidth: 707case SystemResourceKeyID.MenuCheckmarkHeight: 710case SystemResourceKeyID.MenuButtonWidth: 713case SystemResourceKeyID.MenuButtonHeight: 716case SystemResourceKeyID.MinimumWindowWidth: 719case SystemResourceKeyID.MinimumWindowHeight: 722case SystemResourceKeyID.MinimizedWindowWidth: 725case SystemResourceKeyID.MinimizedWindowHeight: 728case SystemResourceKeyID.MinimizedGridWidth: 731case SystemResourceKeyID.MinimizedGridHeight: 734case SystemResourceKeyID.MinimumWindowTrackWidth: 737case SystemResourceKeyID.MinimumWindowTrackHeight: 740case SystemResourceKeyID.PrimaryScreenWidth: 743case SystemResourceKeyID.PrimaryScreenHeight: 746case SystemResourceKeyID.WindowCaptionButtonWidth: 749case SystemResourceKeyID.WindowCaptionButtonHeight: 752case SystemResourceKeyID.ResizeFrameHorizontalBorderHeight: 755case SystemResourceKeyID.ResizeFrameVerticalBorderWidth: 758case SystemResourceKeyID.SmallIconWidth: 761case SystemResourceKeyID.SmallIconHeight: 764case SystemResourceKeyID.SmallWindowCaptionButtonWidth: 767case SystemResourceKeyID.SmallWindowCaptionButtonHeight: 770case SystemResourceKeyID.VirtualScreenWidth: 773case SystemResourceKeyID.VirtualScreenHeight: 776case SystemResourceKeyID.VerticalScrollBarWidth: 779case SystemResourceKeyID.VerticalScrollBarButtonHeight: 782case SystemResourceKeyID.WindowCaptionHeight: 785case SystemResourceKeyID.KanjiWindowHeight: 788case SystemResourceKeyID.MenuBarHeight: 791case SystemResourceKeyID.SmallCaptionHeight: 794case SystemResourceKeyID.VerticalScrollBarThumbHeight: 797case SystemResourceKeyID.IsImmEnabled: 800case SystemResourceKeyID.IsMediaCenter: 803case SystemResourceKeyID.IsMenuDropRightAligned: 806case SystemResourceKeyID.IsMiddleEastEnabled: 809case SystemResourceKeyID.IsMousePresent: 812case SystemResourceKeyID.IsMouseWheelPresent: 815case SystemResourceKeyID.IsPenWindows: 818case SystemResourceKeyID.IsRemotelyControlled: 821case SystemResourceKeyID.IsRemoteSession: 824case SystemResourceKeyID.ShowSounds: 827case SystemResourceKeyID.IsSlowMachine: 830case SystemResourceKeyID.SwapButtons: 833case SystemResourceKeyID.IsTabletPC: 836case SystemResourceKeyID.VirtualScreenLeft: 839case SystemResourceKeyID.VirtualScreenTop: 842case SystemResourceKeyID.FocusBorderWidth: 845case SystemResourceKeyID.FocusBorderHeight: 848case SystemResourceKeyID.HighContrast: 851case SystemResourceKeyID.DropShadow: 854case SystemResourceKeyID.FlatMenu: 857case SystemResourceKeyID.WorkArea: 860case SystemResourceKeyID.IconHorizontalSpacing: 863case SystemResourceKeyID.IconVerticalSpacing: 866case SystemResourceKeyID.IconTitleWrap: 869case SystemResourceKeyID.IconFontSize: 872case SystemResourceKeyID.IconFontFamily: 875case SystemResourceKeyID.IconFontStyle: 878case SystemResourceKeyID.IconFontWeight: 881case SystemResourceKeyID.IconFontTextDecorations: 884case SystemResourceKeyID.KeyboardCues: 887case SystemResourceKeyID.KeyboardDelay: 890case SystemResourceKeyID.KeyboardPreference: 893case SystemResourceKeyID.KeyboardSpeed: 896case SystemResourceKeyID.SnapToDefaultButton: 899case SystemResourceKeyID.WheelScrollLines: 902case SystemResourceKeyID.MouseHoverTime: 905case SystemResourceKeyID.MouseHoverHeight: 908case SystemResourceKeyID.MouseHoverWidth: 911case SystemResourceKeyID.MenuDropAlignment: 914case SystemResourceKeyID.MenuFade: 917case SystemResourceKeyID.MenuShowDelay: 920case SystemResourceKeyID.ComboBoxAnimation: 923case SystemResourceKeyID.ClientAreaAnimation: 926case SystemResourceKeyID.CursorShadow: 929case SystemResourceKeyID.GradientCaptions: 932case SystemResourceKeyID.HotTracking: 935case SystemResourceKeyID.ListBoxSmoothScrolling: 938case SystemResourceKeyID.MenuAnimation: 941case SystemResourceKeyID.SelectionFade: 944case SystemResourceKeyID.StylusHotTracking: 947case SystemResourceKeyID.ToolTipAnimation: 950case SystemResourceKeyID.ToolTipFade: 953case SystemResourceKeyID.UIEffects: 956case SystemResourceKeyID.MinimizeAnimation: 959case SystemResourceKeyID.Border: 962case SystemResourceKeyID.CaretWidth: 965case SystemResourceKeyID.ForegroundFlashCount: 968case SystemResourceKeyID.DragFullWindows: 971case SystemResourceKeyID.BorderWidth: 974case SystemResourceKeyID.ScrollWidth: 977case SystemResourceKeyID.ScrollHeight: 980case SystemResourceKeyID.CaptionWidth: 983case SystemResourceKeyID.CaptionHeight: 986case SystemResourceKeyID.SmallCaptionWidth: 989case SystemResourceKeyID.MenuWidth: 992case SystemResourceKeyID.MenuHeight: 995case SystemResourceKeyID.CaptionFontSize: 998case SystemResourceKeyID.CaptionFontFamily: 1001case SystemResourceKeyID.CaptionFontStyle: 1004case SystemResourceKeyID.CaptionFontWeight: 1007case SystemResourceKeyID.CaptionFontTextDecorations: 1010case SystemResourceKeyID.SmallCaptionFontSize: 1013case SystemResourceKeyID.SmallCaptionFontFamily: 1016case SystemResourceKeyID.SmallCaptionFontStyle: 1019case SystemResourceKeyID.SmallCaptionFontWeight: 1022case SystemResourceKeyID.SmallCaptionFontTextDecorations: 1025case SystemResourceKeyID.MenuFontSize: 1028case SystemResourceKeyID.MenuFontFamily: 1031case SystemResourceKeyID.MenuFontStyle: 1034case SystemResourceKeyID.MenuFontWeight: 1037case SystemResourceKeyID.MenuFontTextDecorations: 1040case SystemResourceKeyID.StatusFontSize: 1043case SystemResourceKeyID.StatusFontFamily: 1046case SystemResourceKeyID.StatusFontStyle: 1049case SystemResourceKeyID.StatusFontWeight: 1052case SystemResourceKeyID.StatusFontTextDecorations: 1055case SystemResourceKeyID.MessageFontSize: 1058case SystemResourceKeyID.MessageFontFamily: 1061case SystemResourceKeyID.MessageFontStyle: 1064case SystemResourceKeyID.MessageFontWeight: 1067case SystemResourceKeyID.MessageFontTextDecorations: 1070case SystemResourceKeyID.ComboBoxPopupAnimation: 1073case SystemResourceKeyID.MenuPopupAnimation: 1076case SystemResourceKeyID.ToolTipPopupAnimation: 1079case SystemResourceKeyID.PowerLineStatus: 1091case (short)SystemResourceKeyID.ActiveBorderBrush: 1094case (short)SystemResourceKeyID.ActiveCaptionBrush: 1097case (short)SystemResourceKeyID.ActiveCaptionTextBrush: 1100case (short)SystemResourceKeyID.AppWorkspaceBrush: 1103case (short)SystemResourceKeyID.ControlBrush: 1106case (short)SystemResourceKeyID.ControlDarkBrush: 1109case (short)SystemResourceKeyID.ControlDarkDarkBrush: 1112case (short)SystemResourceKeyID.ControlLightBrush: 1115case (short)SystemResourceKeyID.ControlLightLightBrush: 1118case (short)SystemResourceKeyID.ControlTextBrush: 1121case (short)SystemResourceKeyID.DesktopBrush: 1124case (short)SystemResourceKeyID.GradientActiveCaptionBrush: 1127case (short)SystemResourceKeyID.GradientInactiveCaptionBrush: 1130case (short)SystemResourceKeyID.GrayTextBrush: 1133case (short)SystemResourceKeyID.HighlightBrush: 1136case (short)SystemResourceKeyID.HighlightTextBrush: 1139case (short)SystemResourceKeyID.HotTrackBrush: 1142case (short)SystemResourceKeyID.InactiveBorderBrush: 1145case (short)SystemResourceKeyID.InactiveCaptionBrush: 1148case (short)SystemResourceKeyID.InactiveCaptionTextBrush: 1151case (short)SystemResourceKeyID.InfoBrush: 1154case (short)SystemResourceKeyID.InfoTextBrush: 1157case (short)SystemResourceKeyID.MenuBrush: 1160case (short)SystemResourceKeyID.MenuBarBrush: 1163case (short)SystemResourceKeyID.MenuHighlightBrush: 1166case (short)SystemResourceKeyID.MenuTextBrush: 1169case (short)SystemResourceKeyID.ScrollBarBrush: 1172case (short)SystemResourceKeyID.WindowBrush: 1175case (short)SystemResourceKeyID.WindowFrameBrush: 1178case (short)SystemResourceKeyID.WindowTextBrush: 1181case (short)SystemResourceKeyID.InactiveSelectionHighlightBrush: 1184case (short)SystemResourceKeyID.InactiveSelectionHighlightTextBrush: 1187case (short)SystemResourceKeyID.ActiveBorderColor: 1190case (short)SystemResourceKeyID.ActiveCaptionColor: 1193case (short)SystemResourceKeyID.ActiveCaptionTextColor: 1196case (short)SystemResourceKeyID.AppWorkspaceColor: 1199case (short)SystemResourceKeyID.ControlColor: 1202case (short)SystemResourceKeyID.ControlDarkColor: 1205case (short)SystemResourceKeyID.ControlDarkDarkColor: 1208case (short)SystemResourceKeyID.ControlLightColor: 1211case (short)SystemResourceKeyID.ControlLightLightColor: 1214case (short)SystemResourceKeyID.ControlTextColor: 1217case (short)SystemResourceKeyID.DesktopColor: 1220case (short)SystemResourceKeyID.GradientActiveCaptionColor: 1223case (short)SystemResourceKeyID.GradientInactiveCaptionColor: 1226case (short)SystemResourceKeyID.GrayTextColor: 1229case (short)SystemResourceKeyID.HighlightColor: 1232case (short)SystemResourceKeyID.HighlightTextColor: 1235case (short)SystemResourceKeyID.HotTrackColor: 1238case (short)SystemResourceKeyID.InactiveBorderColor: 1241case (short)SystemResourceKeyID.InactiveCaptionColor: 1244case (short)SystemResourceKeyID.InactiveCaptionTextColor: 1247case (short)SystemResourceKeyID.InfoColor: 1250case (short)SystemResourceKeyID.InfoTextColor: 1253case (short)SystemResourceKeyID.MenuColor: 1256case (short)SystemResourceKeyID.MenuBarColor: 1259case (short)SystemResourceKeyID.MenuHighlightColor: 1262case (short)SystemResourceKeyID.MenuTextColor: 1265case (short)SystemResourceKeyID.ScrollBarColor: 1268case (short)SystemResourceKeyID.WindowColor: 1271case (short)SystemResourceKeyID.WindowFrameColor: 1274case (short)SystemResourceKeyID.WindowTextColor: 1277case (short)SystemResourceKeyID.ThinHorizontalBorderHeight: 1280case (short)SystemResourceKeyID.ThinVerticalBorderWidth: 1283case (short)SystemResourceKeyID.CursorWidth: 1286case (short)SystemResourceKeyID.CursorHeight: 1289case (short)SystemResourceKeyID.ThickHorizontalBorderHeight: 1292case (short)SystemResourceKeyID.ThickVerticalBorderWidth: 1295case (short)SystemResourceKeyID.FixedFrameHorizontalBorderHeight: 1298case (short)SystemResourceKeyID.FixedFrameVerticalBorderWidth: 1301case (short)SystemResourceKeyID.FocusHorizontalBorderHeight: 1304case (short)SystemResourceKeyID.FocusVerticalBorderWidth: 1307case (short)SystemResourceKeyID.FullPrimaryScreenWidth: 1310case (short)SystemResourceKeyID.FullPrimaryScreenHeight: 1313case (short)SystemResourceKeyID.HorizontalScrollBarButtonWidth: 1316case (short)SystemResourceKeyID.HorizontalScrollBarHeight: 1319case (short)SystemResourceKeyID.HorizontalScrollBarThumbWidth: 1322case (short)SystemResourceKeyID.IconWidth: 1325case (short)SystemResourceKeyID.IconHeight: 1328case (short)SystemResourceKeyID.IconGridWidth: 1331case (short)SystemResourceKeyID.IconGridHeight: 1334case (short)SystemResourceKeyID.MaximizedPrimaryScreenWidth: 1337case (short)SystemResourceKeyID.MaximizedPrimaryScreenHeight: 1340case (short)SystemResourceKeyID.MaximumWindowTrackWidth: 1343case (short)SystemResourceKeyID.MaximumWindowTrackHeight: 1346case (short)SystemResourceKeyID.MenuCheckmarkWidth: 1349case (short)SystemResourceKeyID.MenuCheckmarkHeight: 1352case (short)SystemResourceKeyID.MenuButtonWidth: 1355case (short)SystemResourceKeyID.MenuButtonHeight: 1358case (short)SystemResourceKeyID.MinimumWindowWidth: 1361case (short)SystemResourceKeyID.MinimumWindowHeight: 1364case (short)SystemResourceKeyID.MinimizedWindowWidth: 1367case (short)SystemResourceKeyID.MinimizedWindowHeight: 1370case (short)SystemResourceKeyID.MinimizedGridWidth: 1373case (short)SystemResourceKeyID.MinimizedGridHeight: 1376case (short)SystemResourceKeyID.MinimumWindowTrackWidth: 1379case (short)SystemResourceKeyID.MinimumWindowTrackHeight: 1382case (short)SystemResourceKeyID.PrimaryScreenWidth: 1385case (short)SystemResourceKeyID.PrimaryScreenHeight: 1388case (short)SystemResourceKeyID.WindowCaptionButtonWidth: 1391case (short)SystemResourceKeyID.WindowCaptionButtonHeight: 1394case (short)SystemResourceKeyID.ResizeFrameHorizontalBorderHeight: 1397case (short)SystemResourceKeyID.ResizeFrameVerticalBorderWidth: 1400case (short)SystemResourceKeyID.SmallIconWidth: 1403case (short)SystemResourceKeyID.SmallIconHeight: 1406case (short)SystemResourceKeyID.SmallWindowCaptionButtonWidth: 1409case (short)SystemResourceKeyID.SmallWindowCaptionButtonHeight: 1412case (short)SystemResourceKeyID.VirtualScreenWidth: 1415case (short)SystemResourceKeyID.VirtualScreenHeight: 1418case (short)SystemResourceKeyID.VerticalScrollBarWidth: 1421case (short)SystemResourceKeyID.VerticalScrollBarButtonHeight: 1424case (short)SystemResourceKeyID.WindowCaptionHeight: 1427case (short)SystemResourceKeyID.KanjiWindowHeight: 1430case (short)SystemResourceKeyID.MenuBarHeight: 1433case (short)SystemResourceKeyID.SmallCaptionHeight: 1436case (short)SystemResourceKeyID.VerticalScrollBarThumbHeight: 1439case (short)SystemResourceKeyID.IsImmEnabled: 1442case (short)SystemResourceKeyID.IsMediaCenter: 1445case (short)SystemResourceKeyID.IsMenuDropRightAligned: 1448case (short)SystemResourceKeyID.IsMiddleEastEnabled: 1451case (short)SystemResourceKeyID.IsMousePresent: 1454case (short)SystemResourceKeyID.IsMouseWheelPresent: 1457case (short)SystemResourceKeyID.IsPenWindows: 1460case (short)SystemResourceKeyID.IsRemotelyControlled: 1463case (short)SystemResourceKeyID.IsRemoteSession: 1466case (short)SystemResourceKeyID.ShowSounds: 1469case (short)SystemResourceKeyID.IsSlowMachine: 1472case (short)SystemResourceKeyID.SwapButtons: 1475case (short)SystemResourceKeyID.IsTabletPC: 1478case (short)SystemResourceKeyID.VirtualScreenLeft: 1481case (short)SystemResourceKeyID.VirtualScreenTop: 1484case (short)SystemResourceKeyID.FocusBorderWidth: 1487case (short)SystemResourceKeyID.FocusBorderHeight: 1490case (short)SystemResourceKeyID.HighContrast: 1493case (short)SystemResourceKeyID.DropShadow: 1496case (short)SystemResourceKeyID.FlatMenu: 1499case (short)SystemResourceKeyID.WorkArea: 1502case (short)SystemResourceKeyID.IconHorizontalSpacing: 1505case (short)SystemResourceKeyID.IconVerticalSpacing: 1508case (short)SystemResourceKeyID.IconTitleWrap: 1511case (short)SystemResourceKeyID.IconFontSize: 1514case (short)SystemResourceKeyID.IconFontFamily: 1517case (short)SystemResourceKeyID.IconFontStyle: 1520case (short)SystemResourceKeyID.IconFontWeight: 1523case (short)SystemResourceKeyID.IconFontTextDecorations: 1526case (short)SystemResourceKeyID.KeyboardCues: 1529case (short)SystemResourceKeyID.KeyboardDelay: 1532case (short)SystemResourceKeyID.KeyboardPreference: 1535case (short)SystemResourceKeyID.KeyboardSpeed: 1538case (short)SystemResourceKeyID.SnapToDefaultButton: 1541case (short)SystemResourceKeyID.WheelScrollLines: 1544case (short)SystemResourceKeyID.MouseHoverTime: 1547case (short)SystemResourceKeyID.MouseHoverHeight: 1550case (short)SystemResourceKeyID.MouseHoverWidth: 1553case (short)SystemResourceKeyID.MenuDropAlignment: 1556case (short)SystemResourceKeyID.MenuFade: 1559case (short)SystemResourceKeyID.MenuShowDelay: 1562case (short)SystemResourceKeyID.ComboBoxAnimation: 1565case (short)SystemResourceKeyID.ClientAreaAnimation: 1568case (short)SystemResourceKeyID.CursorShadow: 1571case (short)SystemResourceKeyID.GradientCaptions: 1574case (short)SystemResourceKeyID.HotTracking: 1577case (short)SystemResourceKeyID.ListBoxSmoothScrolling: 1580case (short)SystemResourceKeyID.MenuAnimation: 1583case (short)SystemResourceKeyID.SelectionFade: 1586case (short)SystemResourceKeyID.StylusHotTracking: 1589case (short)SystemResourceKeyID.ToolTipAnimation: 1592case (short)SystemResourceKeyID.ToolTipFade: 1595case (short)SystemResourceKeyID.UIEffects: 1598case (short)SystemResourceKeyID.MinimizeAnimation: 1601case (short)SystemResourceKeyID.Border: 1604case (short)SystemResourceKeyID.CaretWidth: 1607case (short)SystemResourceKeyID.ForegroundFlashCount: 1610case (short)SystemResourceKeyID.DragFullWindows: 1613case (short)SystemResourceKeyID.BorderWidth: 1616case (short)SystemResourceKeyID.ScrollWidth: 1619case (short)SystemResourceKeyID.ScrollHeight: 1622case (short)SystemResourceKeyID.CaptionWidth: 1625case (short)SystemResourceKeyID.CaptionHeight: 1628case (short)SystemResourceKeyID.SmallCaptionWidth: 1631case (short)SystemResourceKeyID.MenuWidth: 1634case (short)SystemResourceKeyID.MenuHeight: 1637case (short)SystemResourceKeyID.CaptionFontSize: 1640case (short)SystemResourceKeyID.CaptionFontFamily: 1643case (short)SystemResourceKeyID.CaptionFontStyle: 1646case (short)SystemResourceKeyID.CaptionFontWeight: 1649case (short)SystemResourceKeyID.CaptionFontTextDecorations: 1652case (short)SystemResourceKeyID.SmallCaptionFontSize: 1655case (short)SystemResourceKeyID.SmallCaptionFontFamily: 1658case (short)SystemResourceKeyID.SmallCaptionFontStyle: 1661case (short)SystemResourceKeyID.SmallCaptionFontWeight: 1664case (short)SystemResourceKeyID.SmallCaptionFontTextDecorations: 1667case (short)SystemResourceKeyID.MenuFontSize: 1670case (short)SystemResourceKeyID.MenuFontFamily: 1673case (short)SystemResourceKeyID.MenuFontStyle: 1676case (short)SystemResourceKeyID.MenuFontWeight: 1679case (short)SystemResourceKeyID.MenuFontTextDecorations: 1682case (short)SystemResourceKeyID.StatusFontSize: 1685case (short)SystemResourceKeyID.StatusFontFamily: 1688case (short)SystemResourceKeyID.StatusFontStyle: 1691case (short)SystemResourceKeyID.StatusFontWeight: 1694case (short)SystemResourceKeyID.StatusFontTextDecorations: 1697case (short)SystemResourceKeyID.MessageFontSize: 1700case (short)SystemResourceKeyID.MessageFontFamily: 1703case (short)SystemResourceKeyID.MessageFontStyle: 1706case (short)SystemResourceKeyID.MessageFontWeight: 1709case (short)SystemResourceKeyID.MessageFontTextDecorations: 1712case (short)SystemResourceKeyID.ComboBoxPopupAnimation: 1715case (short)SystemResourceKeyID.MenuPopupAnimation: 1718case (short)SystemResourceKeyID.ToolTipPopupAnimation: 1721case (short)SystemResourceKeyID.FocusVisualStyle: 1724case (short)SystemResourceKeyID.NavigationChromeDownLevelStyle: 1727case (short)SystemResourceKeyID.NavigationChromeStyle: 1730case (short)SystemResourceKeyID.MenuItemSeparatorStyle: 1733case (short)SystemResourceKeyID.GridViewScrollViewerStyle: 1736case (short)SystemResourceKeyID.GridViewStyle: 1739case (short)SystemResourceKeyID.GridViewItemContainerStyle: 1742case (short)SystemResourceKeyID.StatusBarSeparatorStyle: 1745case (short)SystemResourceKeyID.ToolBarButtonStyle: 1748case (short)SystemResourceKeyID.ToolBarToggleButtonStyle: 1751case (short)SystemResourceKeyID.ToolBarSeparatorStyle: 1754case (short)SystemResourceKeyID.ToolBarCheckBoxStyle: 1757case (short)SystemResourceKeyID.ToolBarRadioButtonStyle: 1760case (short)SystemResourceKeyID.ToolBarComboBoxStyle: 1763case (short)SystemResourceKeyID.ToolBarTextBoxStyle: 1766case (short)SystemResourceKeyID.ToolBarMenuStyle: 1769case (short)SystemResourceKeyID.PowerLineStatus: 1846SystemResourceKeyID keyId = (SystemResourceKeyID)id; 1863internal SystemResourceKey(SystemResourceKeyID id) 1865Debug.Assert(((SystemResourceKeyID.InternalSystemColorsStart < id) && (id < SystemResourceKeyID.InternalSystemColorsEnd)) || 1866((SystemResourceKeyID.InternalSystemFontsStart < id) && (id < SystemResourceKeyID.InternalSystemFontsEnd)) || 1867((SystemResourceKeyID.InternalSystemParametersStart < id) && (id < SystemResourceKeyID.InternalSystemParametersEnd)) || 1868((SystemResourceKeyID.InternalSystemColorsExtendedStart < id) && (id < SystemResourceKeyID.InternalSystemColorsExtendedEnd)), 1873internal SystemResourceKeyID InternalKey 1961_menuItemSeparatorStyleKey = new SystemThemeKey(SystemResourceKeyID.MenuItemSeparatorStyle); 1999_gridViewItemContainerStyleKey = new SystemThemeKey(SystemResourceKeyID.GridViewItemContainerStyle); 2012_scrollViewerStyleKey = new SystemThemeKey(SystemResourceKeyID.GridViewScrollViewerStyle); 2025_gridViewStyleKey = new SystemThemeKey(SystemResourceKeyID.GridViewStyle); 2038_statusBarSeparatorStyleKey = new SystemThemeKey(SystemResourceKeyID.StatusBarSeparatorStyle); 2050_cacheButtonStyle = new SystemThemeKey(SystemResourceKeyID.ToolBarButtonStyle); 2066_cacheToggleButtonStyle = new SystemThemeKey(SystemResourceKeyID.ToolBarToggleButtonStyle); 2081_cacheSeparatorStyle = new SystemThemeKey(SystemResourceKeyID.ToolBarSeparatorStyle); 2097_cacheCheckBoxStyle = new SystemThemeKey(SystemResourceKeyID.ToolBarCheckBoxStyle); 2112_cacheRadioButtonStyle = new SystemThemeKey(SystemResourceKeyID.ToolBarRadioButtonStyle); 2128_cacheComboBoxStyle = new SystemThemeKey(SystemResourceKeyID.ToolBarComboBoxStyle); 2144_cacheTextBoxStyle = new SystemThemeKey(SystemResourceKeyID.ToolBarTextBoxStyle); 2160_cacheMenuStyle = new SystemThemeKey(SystemResourceKeyID.ToolBarMenuStyle); 2188private SystemResourceKeyID _id;
src\Framework\System\Windows\SystemThemeKey.cs (5)
28internal SystemThemeKey(SystemResourceKeyID id) 31Debug.Assert(id > SystemResourceKeyID.InternalSystemThemeStylesStart && 32id < SystemResourceKeyID.InternalSystemThemeStylesEnd); 87internal SystemResourceKeyID InternalKey 96private SystemResourceKeyID _id;