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