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