4 instantiations of SystemResourceKey
PresentationFramework (4)
System\Windows\SystemColors.cs (1)
431return new SystemResourceKey(KeyId);
System\Windows\SystemFonts.cs (1)
520return new SystemResourceKey(KeyId);
System\Windows\SystemParameters.cs (1)
232return new SystemResourceKey(KeyId);
System\Windows\SystemResourceKey.cs (1)
1941_srk = new SystemResourceKey(keyId);
268 references to SystemResourceKey
PresentationFramework (268)
MS\Internal\Markup\StaticExtension.cs (2)
47value = SystemResourceKey.GetSystemResourceKey($"{MemberType.Name}.{Member}"); 55value = SystemResourceKey.GetSystemResourceKey(Member);
System\Windows\Controls\DataGrid.cs (1)
1459get { return SystemResourceKey.DataGridFocusBorderBrushKey; }
System\Windows\Controls\DataGridComboBoxColumn.cs (1)
44return SystemResourceKey.DataGridComboBoxColumnTextBlockComboBoxStyleKey;
System\Windows\Controls\GridView.cs (3)
132return SystemResourceKey.GridViewScrollViewerStyleKey; 143return SystemResourceKey.GridViewStyleKey; 154return SystemResourceKey.GridViewItemContainerStyleKey;
System\Windows\Controls\MenuItem.cs (1)
2737return SystemResourceKey.MenuItemSeparatorStyleKey;
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (2)
1022return SystemResourceKey.DataGridColumnHeaderColumnHeaderDropSeparatorStyleKey; 1033return SystemResourceKey.DataGridColumnHeaderColumnFloatingHeaderStyleKey;
System\Windows\Controls\Primitives\StatusBar.cs (1)
202return SystemResourceKey.StatusBarSeparatorStyleKey;
System\Windows\Controls\ToolBar.cs (8)
769return SystemResourceKey.ToolBarButtonStyleKey; 780return SystemResourceKey.ToolBarToggleButtonStyleKey; 791return SystemResourceKey.ToolBarSeparatorStyleKey; 802return SystemResourceKey.ToolBarCheckBoxStyleKey; 813return SystemResourceKey.ToolBarRadioButtonStyleKey; 824return SystemResourceKey.ToolBarComboBoxStyleKey; 835return SystemResourceKey.ToolBarTextBoxStyleKey; 846return SystemResourceKey.ToolBarMenuStyleKey;
System\Windows\Markup\Baml2006\Baml2006Reader.cs (3)
2629valueId = SystemResourceKey.GetSystemResourceKeyIdFromBamlId(valueId, out isKey); 2637providedValue = SystemResourceKey.GetResourceKey(valueId); 2641providedValue = SystemResourceKey.GetResource(valueId);
System\Windows\Markup\BamlMapTable.cs (1)
1502memberId = SystemResourceKey.GetBamlIdBasedOnSystemResourceKeyId(targetType, memberName);
System\Windows\Markup\BamlReader.cs (1)
2437memberId = SystemResourceKey.GetSystemResourceKeyIdFromBamlId(memberId, out isKey);
System\Windows\Markup\BamlRecordReader.cs (3)
2352keyId = SystemResourceKey.GetSystemResourceKeyIdFromBamlId(keyId, out isKey); 2356valueObject = SystemResourceKey.GetResourceKey(keyId); 2360valueObject = SystemResourceKey.GetResource(keyId);
System\Windows\StaticResourceExtension.cs (2)
53if (ResourceKey is SystemResourceKey) 55return (ResourceKey as SystemResourceKey).Resource;
System\Windows\SystemColors.cs (77)
429private static SystemResourceKey CreateInstance(SystemResourceKeyID KeyId) 2470private static SystemResourceKey _cacheActiveBorderBrush; 2471private static SystemResourceKey _cacheActiveCaptionBrush; 2472private static SystemResourceKey _cacheActiveCaptionTextBrush; 2473private static SystemResourceKey _cacheAppWorkspaceBrush; 2474private static SystemResourceKey _cacheControlBrush; 2475private static SystemResourceKey _cacheControlDarkBrush; 2476private static SystemResourceKey _cacheControlDarkDarkBrush; 2477private static SystemResourceKey _cacheControlLightBrush; 2478private static SystemResourceKey _cacheControlLightLightBrush; 2479private static SystemResourceKey _cacheControlTextBrush; 2480private static SystemResourceKey _cacheDesktopBrush; 2481private static SystemResourceKey _cacheGradientActiveCaptionBrush; 2482private static SystemResourceKey _cacheGradientInactiveCaptionBrush; 2483private static SystemResourceKey _cacheGrayTextBrush; 2484private static SystemResourceKey _cacheHighlightBrush; 2485private static SystemResourceKey _cacheHighlightTextBrush; 2486private static SystemResourceKey _cacheHotTrackBrush; 2487private static SystemResourceKey _cacheInactiveBorderBrush; 2488private static SystemResourceKey _cacheInactiveCaptionBrush; 2489private static SystemResourceKey _cacheInactiveCaptionTextBrush; 2490private static SystemResourceKey _cacheInfoBrush; 2491private static SystemResourceKey _cacheInfoTextBrush; 2492private static SystemResourceKey _cacheMenuBrush; 2493private static SystemResourceKey _cacheMenuBarBrush; 2494private static SystemResourceKey _cacheMenuHighlightBrush; 2495private static SystemResourceKey _cacheMenuTextBrush; 2496private static SystemResourceKey _cacheScrollBarBrush; 2497private static SystemResourceKey _cacheWindowBrush; 2498private static SystemResourceKey _cacheWindowFrameBrush; 2499private static SystemResourceKey _cacheWindowTextBrush; 2500private static SystemResourceKey _cacheInactiveSelectionHighlightBrush; 2501private static SystemResourceKey _cacheInactiveSelectionHighlightTextBrush; 2502private static SystemResourceKey _cacheAccentColorBrush; 2503private static SystemResourceKey _cacheAccentColorLight1Brush; 2504private static SystemResourceKey _cacheAccentColorLight2Brush; 2505private static SystemResourceKey _cacheAccentColorLight3Brush; 2506private static SystemResourceKey _cacheAccentColorDark1Brush; 2507private static SystemResourceKey _cacheAccentColorDark2Brush; 2508private static SystemResourceKey _cacheAccentColorDark3Brush; 2509private static SystemResourceKey _cacheActiveBorderColor; 2510private static SystemResourceKey _cacheActiveCaptionColor; 2511private static SystemResourceKey _cacheActiveCaptionTextColor; 2512private static SystemResourceKey _cacheAppWorkspaceColor; 2513private static SystemResourceKey _cacheControlColor; 2514private static SystemResourceKey _cacheControlDarkColor; 2515private static SystemResourceKey _cacheControlDarkDarkColor; 2516private static SystemResourceKey _cacheControlLightColor; 2517private static SystemResourceKey _cacheControlLightLightColor; 2518private static SystemResourceKey _cacheControlTextColor; 2519private static SystemResourceKey _cacheDesktopColor; 2520private static SystemResourceKey _cacheGradientActiveCaptionColor; 2521private static SystemResourceKey _cacheGradientInactiveCaptionColor; 2522private static SystemResourceKey _cacheGrayTextColor; 2523private static SystemResourceKey _cacheHighlightColor; 2524private static SystemResourceKey _cacheHighlightTextColor; 2525private static SystemResourceKey _cacheHotTrackColor; 2526private static SystemResourceKey _cacheInactiveBorderColor; 2527private static SystemResourceKey _cacheInactiveCaptionColor; 2528private static SystemResourceKey _cacheInactiveCaptionTextColor; 2529private static SystemResourceKey _cacheInfoColor; 2530private static SystemResourceKey _cacheInfoTextColor; 2531private static SystemResourceKey _cacheMenuColor; 2532private static SystemResourceKey _cacheMenuBarColor; 2533private static SystemResourceKey _cacheMenuHighlightColor; 2534private static SystemResourceKey _cacheMenuTextColor; 2535private static SystemResourceKey _cacheScrollBarColor; 2536private static SystemResourceKey _cacheWindowColor; 2537private static SystemResourceKey _cacheWindowFrameColor; 2538private static SystemResourceKey _cacheWindowTextColor; 2539private static SystemResourceKey _cacheAccentColor; 2540private static SystemResourceKey _cacheAccentColorLight1; 2541private static SystemResourceKey _cacheAccentColorLight2; 2542private static SystemResourceKey _cacheAccentColorLight3; 2543private static SystemResourceKey _cacheAccentColorDark1; 2544private static SystemResourceKey _cacheAccentColorDark2; 2545private static SystemResourceKey _cacheAccentColorDark3;
System\Windows\SystemFonts.cs (31)
518private static SystemResourceKey CreateInstance(SystemResourceKeyID KeyId) 1064private static SystemResourceKey _cacheIconFontSize; 1065private static SystemResourceKey _cacheIconFontFamily; 1066private static SystemResourceKey _cacheIconFontStyle; 1067private static SystemResourceKey _cacheIconFontWeight; 1068private static SystemResourceKey _cacheIconFontTextDecorations; 1069private static SystemResourceKey _cacheCaptionFontSize; 1070private static SystemResourceKey _cacheCaptionFontFamily; 1071private static SystemResourceKey _cacheCaptionFontStyle; 1072private static SystemResourceKey _cacheCaptionFontWeight; 1073private static SystemResourceKey _cacheCaptionFontTextDecorations; 1074private static SystemResourceKey _cacheSmallCaptionFontSize; 1075private static SystemResourceKey _cacheSmallCaptionFontFamily; 1076private static SystemResourceKey _cacheSmallCaptionFontStyle; 1077private static SystemResourceKey _cacheSmallCaptionFontWeight; 1078private static SystemResourceKey _cacheSmallCaptionFontTextDecorations; 1079private static SystemResourceKey _cacheMenuFontSize; 1080private static SystemResourceKey _cacheMenuFontFamily; 1081private static SystemResourceKey _cacheMenuFontStyle; 1082private static SystemResourceKey _cacheMenuFontWeight; 1083private static SystemResourceKey _cacheMenuFontTextDecorations; 1084private static SystemResourceKey _cacheStatusFontSize; 1085private static SystemResourceKey _cacheStatusFontFamily; 1086private static SystemResourceKey _cacheStatusFontStyle; 1087private static SystemResourceKey _cacheStatusFontWeight; 1088private static SystemResourceKey _cacheStatusFontTextDecorations; 1089private static SystemResourceKey _cacheMessageFontSize; 1090private static SystemResourceKey _cacheMessageFontFamily; 1091private static SystemResourceKey _cacheMessageFontStyle; 1092private static SystemResourceKey _cacheMessageFontWeight; 1093private static SystemResourceKey _cacheMessageFontTextDecorations;
System\Windows\SystemKeyConverter.cs (2)
123if( value is SystemResourceKey ) 125keyId = (value as SystemResourceKey).InternalKey;
System\Windows\SystemParameters.cs (120)
230private static SystemResourceKey CreateInstance(SystemResourceKeyID KeyId) 6084private static SystemResourceKey _cacheThinHorizontalBorderHeight; 6085private static SystemResourceKey _cacheThinVerticalBorderWidth; 6086private static SystemResourceKey _cacheCursorWidth; 6087private static SystemResourceKey _cacheCursorHeight; 6088private static SystemResourceKey _cacheThickHorizontalBorderHeight; 6089private static SystemResourceKey _cacheThickVerticalBorderWidth; 6090private static SystemResourceKey _cacheFixedFrameHorizontalBorderHeight; 6091private static SystemResourceKey _cacheFixedFrameVerticalBorderWidth; 6092private static SystemResourceKey _cacheFocusHorizontalBorderHeight; 6093private static SystemResourceKey _cacheFocusVerticalBorderWidth; 6094private static SystemResourceKey _cacheFullPrimaryScreenWidth; 6095private static SystemResourceKey _cacheFullPrimaryScreenHeight; 6096private static SystemResourceKey _cacheHorizontalScrollBarButtonWidth; 6097private static SystemResourceKey _cacheHorizontalScrollBarHeight; 6098private static SystemResourceKey _cacheHorizontalScrollBarThumbWidth; 6099private static SystemResourceKey _cacheIconWidth; 6100private static SystemResourceKey _cacheIconHeight; 6101private static SystemResourceKey _cacheIconGridWidth; 6102private static SystemResourceKey _cacheIconGridHeight; 6103private static SystemResourceKey _cacheMaximizedPrimaryScreenWidth; 6104private static SystemResourceKey _cacheMaximizedPrimaryScreenHeight; 6105private static SystemResourceKey _cacheMaximumWindowTrackWidth; 6106private static SystemResourceKey _cacheMaximumWindowTrackHeight; 6107private static SystemResourceKey _cacheMenuCheckmarkWidth; 6108private static SystemResourceKey _cacheMenuCheckmarkHeight; 6109private static SystemResourceKey _cacheMenuButtonWidth; 6110private static SystemResourceKey _cacheMenuButtonHeight; 6111private static SystemResourceKey _cacheMinimumWindowWidth; 6112private static SystemResourceKey _cacheMinimumWindowHeight; 6113private static SystemResourceKey _cacheMinimizedWindowWidth; 6114private static SystemResourceKey _cacheMinimizedWindowHeight; 6115private static SystemResourceKey _cacheMinimizedGridWidth; 6116private static SystemResourceKey _cacheMinimizedGridHeight; 6117private static SystemResourceKey _cacheMinimumWindowTrackWidth; 6118private static SystemResourceKey _cacheMinimumWindowTrackHeight; 6119private static SystemResourceKey _cachePrimaryScreenWidth; 6120private static SystemResourceKey _cachePrimaryScreenHeight; 6121private static SystemResourceKey _cacheWindowCaptionButtonWidth; 6122private static SystemResourceKey _cacheWindowCaptionButtonHeight; 6123private static SystemResourceKey _cacheResizeFrameHorizontalBorderHeight; 6124private static SystemResourceKey _cacheResizeFrameVerticalBorderWidth; 6125private static SystemResourceKey _cacheSmallIconWidth; 6126private static SystemResourceKey _cacheSmallIconHeight; 6127private static SystemResourceKey _cacheSmallWindowCaptionButtonWidth; 6128private static SystemResourceKey _cacheSmallWindowCaptionButtonHeight; 6129private static SystemResourceKey _cacheVirtualScreenWidth; 6130private static SystemResourceKey _cacheVirtualScreenHeight; 6131private static SystemResourceKey _cacheVerticalScrollBarWidth; 6132private static SystemResourceKey _cacheVerticalScrollBarButtonHeight; 6133private static SystemResourceKey _cacheWindowCaptionHeight; 6134private static SystemResourceKey _cacheKanjiWindowHeight; 6135private static SystemResourceKey _cacheMenuBarHeight; 6136private static SystemResourceKey _cacheSmallCaptionHeight; 6137private static SystemResourceKey _cacheVerticalScrollBarThumbHeight; 6138private static SystemResourceKey _cacheIsImmEnabled; 6139private static SystemResourceKey _cacheIsMediaCenter; 6140private static SystemResourceKey _cacheIsMenuDropRightAligned; 6141private static SystemResourceKey _cacheIsMiddleEastEnabled; 6142private static SystemResourceKey _cacheIsMousePresent; 6143private static SystemResourceKey _cacheIsMouseWheelPresent; 6144private static SystemResourceKey _cacheIsPenWindows; 6145private static SystemResourceKey _cacheIsRemotelyControlled; 6146private static SystemResourceKey _cacheIsRemoteSession; 6147private static SystemResourceKey _cacheShowSounds; 6148private static SystemResourceKey _cacheIsSlowMachine; 6149private static SystemResourceKey _cacheSwapButtons; 6150private static SystemResourceKey _cacheIsTabletPC; 6151private static SystemResourceKey _cacheVirtualScreenLeft; 6152private static SystemResourceKey _cacheVirtualScreenTop; 6153private static SystemResourceKey _cacheFocusBorderWidth; 6154private static SystemResourceKey _cacheFocusBorderHeight; 6155private static SystemResourceKey _cacheHighContrast; 6156private static SystemResourceKey _cacheDropShadow; 6157private static SystemResourceKey _cacheFlatMenu; 6158private static SystemResourceKey _cacheWorkArea; 6159private static SystemResourceKey _cacheIconHorizontalSpacing; 6160private static SystemResourceKey _cacheIconVerticalSpacing; 6161private static SystemResourceKey _cacheIconTitleWrap; 6162private static SystemResourceKey _cacheKeyboardCues; 6163private static SystemResourceKey _cacheKeyboardDelay; 6164private static SystemResourceKey _cacheKeyboardPreference; 6165private static SystemResourceKey _cacheKeyboardSpeed; 6166private static SystemResourceKey _cacheSnapToDefaultButton; 6167private static SystemResourceKey _cacheWheelScrollLines; 6168private static SystemResourceKey _cacheMouseHoverTime; 6169private static SystemResourceKey _cacheMouseHoverHeight; 6170private static SystemResourceKey _cacheMouseHoverWidth; 6171private static SystemResourceKey _cacheMenuDropAlignment; 6172private static SystemResourceKey _cacheMenuFade; 6173private static SystemResourceKey _cacheMenuShowDelay; 6174private static SystemResourceKey _cacheComboBoxAnimation; 6175private static SystemResourceKey _cacheClientAreaAnimation; 6176private static SystemResourceKey _cacheCursorShadow; 6177private static SystemResourceKey _cacheGradientCaptions; 6178private static SystemResourceKey _cacheHotTracking; 6179private static SystemResourceKey _cacheListBoxSmoothScrolling; 6180private static SystemResourceKey _cacheMenuAnimation; 6181private static SystemResourceKey _cacheSelectionFade; 6182private static SystemResourceKey _cacheStylusHotTracking; 6183private static SystemResourceKey _cacheToolTipAnimation; 6184private static SystemResourceKey _cacheToolTipFade; 6185private static SystemResourceKey _cacheUIEffects; 6186private static SystemResourceKey _cacheMinimizeAnimation; 6187private static SystemResourceKey _cacheBorder; 6188private static SystemResourceKey _cacheCaretWidth; 6189private static SystemResourceKey _cacheForegroundFlashCount; 6190private static SystemResourceKey _cacheDragFullWindows; 6191private static SystemResourceKey _cacheBorderWidth; 6192private static SystemResourceKey _cacheScrollWidth; 6193private static SystemResourceKey _cacheScrollHeight; 6194private static SystemResourceKey _cacheCaptionWidth; 6195private static SystemResourceKey _cacheCaptionHeight; 6196private static SystemResourceKey _cacheSmallCaptionWidth; 6197private static SystemResourceKey _cacheMenuWidth; 6198private static SystemResourceKey _cacheMenuHeight; 6199private static SystemResourceKey _cacheComboBoxPopupAnimation; 6200private static SystemResourceKey _cacheMenuPopupAnimation; 6201private static SystemResourceKey _cacheToolTipPopupAnimation; 6202private static SystemResourceKey _cachePowerLineStatus;
System\Windows\SystemResourceKey.cs (3)
1992SystemResourceKey key = o as SystemResourceKey; 2283private static SystemResourceKey _srk = null;
System\Windows\SystemResources.cs (6)
153SystemResourceKey sysKey = (resourceKey != null) ? resourceKey as SystemResourceKey : null; 1223List<SystemResourceKey> keys = new List<SystemResourceKey>(); 1227SystemResourceKey resKey = key as SystemResourceKey;