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