4 instantiations of SystemResourceKey
PresentationFramework (4)
src\Framework\System\Windows\SystemColors.cs (1)
351
return new
SystemResourceKey
(KeyId);
src\Framework\System\Windows\SystemFonts.cs (1)
510
return new
SystemResourceKey
(KeyId);
src\Framework\System\Windows\SystemParameters.cs (1)
253
return new
SystemResourceKey
(KeyId);
src\Framework\System\Windows\SystemResourceKey.cs (1)
1849
_srk = new
SystemResourceKey
(keyId);
254 references to SystemResourceKey
PresentationFramework (254)
src\Framework\MS\Internal\Markup\StaticExtension.cs (2)
54
value =
SystemResourceKey
.GetSystemResourceKey(MemberType.Name + "." + Member);
62
value =
SystemResourceKey
.GetSystemResourceKey(Member);
src\Framework\System\Windows\Controls\DataGrid.cs (1)
1463
get { return
SystemResourceKey
.DataGridFocusBorderBrushKey; }
src\Framework\System\Windows\Controls\DataGridComboBoxColumn.cs (1)
49
return
SystemResourceKey
.DataGridComboBoxColumnTextBlockComboBoxStyleKey;
src\Framework\System\Windows\Controls\GridView.cs (3)
135
return
SystemResourceKey
.GridViewScrollViewerStyleKey;
146
return
SystemResourceKey
.GridViewStyleKey;
157
return
SystemResourceKey
.GridViewItemContainerStyleKey;
src\Framework\System\Windows\Controls\MenuItem.cs (1)
2808
return
SystemResourceKey
.MenuItemSeparatorStyleKey;
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeader.cs (2)
1028
return
SystemResourceKey
.DataGridColumnHeaderColumnHeaderDropSeparatorStyleKey;
1039
return
SystemResourceKey
.DataGridColumnHeaderColumnFloatingHeaderStyleKey;
src\Framework\System\Windows\Controls\Primitives\StatusBar.cs (1)
206
return
SystemResourceKey
.StatusBarSeparatorStyleKey;
src\Framework\System\Windows\Controls\ToolBar.cs (8)
788
return
SystemResourceKey
.ToolBarButtonStyleKey;
799
return
SystemResourceKey
.ToolBarToggleButtonStyleKey;
810
return
SystemResourceKey
.ToolBarSeparatorStyleKey;
821
return
SystemResourceKey
.ToolBarCheckBoxStyleKey;
832
return
SystemResourceKey
.ToolBarRadioButtonStyleKey;
843
return
SystemResourceKey
.ToolBarComboBoxStyleKey;
854
return
SystemResourceKey
.ToolBarTextBoxStyleKey;
865
return
SystemResourceKey
.ToolBarMenuStyleKey;
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (3)
2658
valueId =
SystemResourceKey
.GetSystemResourceKeyIdFromBamlId(valueId, out isKey);
2666
providedValue =
SystemResourceKey
.GetResourceKey(valueId);
2670
providedValue =
SystemResourceKey
.GetResource(valueId);
src\Framework\System\Windows\Markup\BamlMapTable.cs (1)
1520
memberId =
SystemResourceKey
.GetBamlIdBasedOnSystemResourceKeyId(targetType, memberName);
src\Framework\System\Windows\Markup\BamlReader.cs (1)
2471
memberId =
SystemResourceKey
.GetSystemResourceKeyIdFromBamlId(memberId, out isKey);
src\Framework\System\Windows\Markup\BamlRecordReader.cs (3)
2392
keyId =
SystemResourceKey
.GetSystemResourceKeyIdFromBamlId(keyId, out isKey);
2396
valueObject =
SystemResourceKey
.GetResourceKey(keyId);
2400
valueObject =
SystemResourceKey
.GetResource(keyId);
src\Framework\System\Windows\StaticResourceExtension.cs (2)
63
if (ResourceKey is
SystemResourceKey
)
65
return (ResourceKey as
SystemResourceKey
).Resource;
src\Framework\System\Windows\SystemColors.cs (63)
349
private static
SystemResourceKey
CreateInstance(SystemResourceKeyID KeyId)
1942
private static
SystemResourceKey
_cacheActiveBorderBrush;
1943
private static
SystemResourceKey
_cacheActiveCaptionBrush;
1944
private static
SystemResourceKey
_cacheActiveCaptionTextBrush;
1945
private static
SystemResourceKey
_cacheAppWorkspaceBrush;
1946
private static
SystemResourceKey
_cacheControlBrush;
1947
private static
SystemResourceKey
_cacheControlDarkBrush;
1948
private static
SystemResourceKey
_cacheControlDarkDarkBrush;
1949
private static
SystemResourceKey
_cacheControlLightBrush;
1950
private static
SystemResourceKey
_cacheControlLightLightBrush;
1951
private static
SystemResourceKey
_cacheControlTextBrush;
1952
private static
SystemResourceKey
_cacheDesktopBrush;
1953
private static
SystemResourceKey
_cacheGradientActiveCaptionBrush;
1954
private static
SystemResourceKey
_cacheGradientInactiveCaptionBrush;
1955
private static
SystemResourceKey
_cacheGrayTextBrush;
1956
private static
SystemResourceKey
_cacheHighlightBrush;
1957
private static
SystemResourceKey
_cacheHighlightTextBrush;
1958
private static
SystemResourceKey
_cacheHotTrackBrush;
1959
private static
SystemResourceKey
_cacheInactiveBorderBrush;
1960
private static
SystemResourceKey
_cacheInactiveCaptionBrush;
1961
private static
SystemResourceKey
_cacheInactiveCaptionTextBrush;
1962
private static
SystemResourceKey
_cacheInfoBrush;
1963
private static
SystemResourceKey
_cacheInfoTextBrush;
1964
private static
SystemResourceKey
_cacheMenuBrush;
1965
private static
SystemResourceKey
_cacheMenuBarBrush;
1966
private static
SystemResourceKey
_cacheMenuHighlightBrush;
1967
private static
SystemResourceKey
_cacheMenuTextBrush;
1968
private static
SystemResourceKey
_cacheScrollBarBrush;
1969
private static
SystemResourceKey
_cacheWindowBrush;
1970
private static
SystemResourceKey
_cacheWindowFrameBrush;
1971
private static
SystemResourceKey
_cacheWindowTextBrush;
1972
private static
SystemResourceKey
_cacheInactiveSelectionHighlightBrush;
1973
private static
SystemResourceKey
_cacheInactiveSelectionHighlightTextBrush;
1974
private static
SystemResourceKey
_cacheActiveBorderColor;
1975
private static
SystemResourceKey
_cacheActiveCaptionColor;
1976
private static
SystemResourceKey
_cacheActiveCaptionTextColor;
1977
private static
SystemResourceKey
_cacheAppWorkspaceColor;
1978
private static
SystemResourceKey
_cacheControlColor;
1979
private static
SystemResourceKey
_cacheControlDarkColor;
1980
private static
SystemResourceKey
_cacheControlDarkDarkColor;
1981
private static
SystemResourceKey
_cacheControlLightColor;
1982
private static
SystemResourceKey
_cacheControlLightLightColor;
1983
private static
SystemResourceKey
_cacheControlTextColor;
1984
private static
SystemResourceKey
_cacheDesktopColor;
1985
private static
SystemResourceKey
_cacheGradientActiveCaptionColor;
1986
private static
SystemResourceKey
_cacheGradientInactiveCaptionColor;
1987
private static
SystemResourceKey
_cacheGrayTextColor;
1988
private static
SystemResourceKey
_cacheHighlightColor;
1989
private static
SystemResourceKey
_cacheHighlightTextColor;
1990
private static
SystemResourceKey
_cacheHotTrackColor;
1991
private static
SystemResourceKey
_cacheInactiveBorderColor;
1992
private static
SystemResourceKey
_cacheInactiveCaptionColor;
1993
private static
SystemResourceKey
_cacheInactiveCaptionTextColor;
1994
private static
SystemResourceKey
_cacheInfoColor;
1995
private static
SystemResourceKey
_cacheInfoTextColor;
1996
private static
SystemResourceKey
_cacheMenuColor;
1997
private static
SystemResourceKey
_cacheMenuBarColor;
1998
private static
SystemResourceKey
_cacheMenuHighlightColor;
1999
private static
SystemResourceKey
_cacheMenuTextColor;
2000
private static
SystemResourceKey
_cacheScrollBarColor;
2001
private static
SystemResourceKey
_cacheWindowColor;
2002
private static
SystemResourceKey
_cacheWindowFrameColor;
2003
private static
SystemResourceKey
_cacheWindowTextColor;
src\Framework\System\Windows\SystemFonts.cs (31)
508
private static
SystemResourceKey
CreateInstance(SystemResourceKeyID KeyId)
1054
private static
SystemResourceKey
_cacheIconFontSize;
1055
private static
SystemResourceKey
_cacheIconFontFamily;
1056
private static
SystemResourceKey
_cacheIconFontStyle;
1057
private static
SystemResourceKey
_cacheIconFontWeight;
1058
private static
SystemResourceKey
_cacheIconFontTextDecorations;
1059
private static
SystemResourceKey
_cacheCaptionFontSize;
1060
private static
SystemResourceKey
_cacheCaptionFontFamily;
1061
private static
SystemResourceKey
_cacheCaptionFontStyle;
1062
private static
SystemResourceKey
_cacheCaptionFontWeight;
1063
private static
SystemResourceKey
_cacheCaptionFontTextDecorations;
1064
private static
SystemResourceKey
_cacheSmallCaptionFontSize;
1065
private static
SystemResourceKey
_cacheSmallCaptionFontFamily;
1066
private static
SystemResourceKey
_cacheSmallCaptionFontStyle;
1067
private static
SystemResourceKey
_cacheSmallCaptionFontWeight;
1068
private static
SystemResourceKey
_cacheSmallCaptionFontTextDecorations;
1069
private static
SystemResourceKey
_cacheMenuFontSize;
1070
private static
SystemResourceKey
_cacheMenuFontFamily;
1071
private static
SystemResourceKey
_cacheMenuFontStyle;
1072
private static
SystemResourceKey
_cacheMenuFontWeight;
1073
private static
SystemResourceKey
_cacheMenuFontTextDecorations;
1074
private static
SystemResourceKey
_cacheStatusFontSize;
1075
private static
SystemResourceKey
_cacheStatusFontFamily;
1076
private static
SystemResourceKey
_cacheStatusFontStyle;
1077
private static
SystemResourceKey
_cacheStatusFontWeight;
1078
private static
SystemResourceKey
_cacheStatusFontTextDecorations;
1079
private static
SystemResourceKey
_cacheMessageFontSize;
1080
private static
SystemResourceKey
_cacheMessageFontFamily;
1081
private static
SystemResourceKey
_cacheMessageFontStyle;
1082
private static
SystemResourceKey
_cacheMessageFontWeight;
1083
private static
SystemResourceKey
_cacheMessageFontTextDecorations;
src\Framework\System\Windows\SystemKeyConverter.cs (2)
134
if( value is
SystemResourceKey
)
136
keyId = (value as
SystemResourceKey
).InternalKey;
src\Framework\System\Windows\SystemParameters.cs (120)
251
private static
SystemResourceKey
CreateInstance(SystemResourceKeyID KeyId)
6700
private static
SystemResourceKey
_cacheThinHorizontalBorderHeight;
6701
private static
SystemResourceKey
_cacheThinVerticalBorderWidth;
6702
private static
SystemResourceKey
_cacheCursorWidth;
6703
private static
SystemResourceKey
_cacheCursorHeight;
6704
private static
SystemResourceKey
_cacheThickHorizontalBorderHeight;
6705
private static
SystemResourceKey
_cacheThickVerticalBorderWidth;
6706
private static
SystemResourceKey
_cacheFixedFrameHorizontalBorderHeight;
6707
private static
SystemResourceKey
_cacheFixedFrameVerticalBorderWidth;
6708
private static
SystemResourceKey
_cacheFocusHorizontalBorderHeight;
6709
private static
SystemResourceKey
_cacheFocusVerticalBorderWidth;
6710
private static
SystemResourceKey
_cacheFullPrimaryScreenWidth;
6711
private static
SystemResourceKey
_cacheFullPrimaryScreenHeight;
6712
private static
SystemResourceKey
_cacheHorizontalScrollBarButtonWidth;
6713
private static
SystemResourceKey
_cacheHorizontalScrollBarHeight;
6714
private static
SystemResourceKey
_cacheHorizontalScrollBarThumbWidth;
6715
private static
SystemResourceKey
_cacheIconWidth;
6716
private static
SystemResourceKey
_cacheIconHeight;
6717
private static
SystemResourceKey
_cacheIconGridWidth;
6718
private static
SystemResourceKey
_cacheIconGridHeight;
6719
private static
SystemResourceKey
_cacheMaximizedPrimaryScreenWidth;
6720
private static
SystemResourceKey
_cacheMaximizedPrimaryScreenHeight;
6721
private static
SystemResourceKey
_cacheMaximumWindowTrackWidth;
6722
private static
SystemResourceKey
_cacheMaximumWindowTrackHeight;
6723
private static
SystemResourceKey
_cacheMenuCheckmarkWidth;
6724
private static
SystemResourceKey
_cacheMenuCheckmarkHeight;
6725
private static
SystemResourceKey
_cacheMenuButtonWidth;
6726
private static
SystemResourceKey
_cacheMenuButtonHeight;
6727
private static
SystemResourceKey
_cacheMinimumWindowWidth;
6728
private static
SystemResourceKey
_cacheMinimumWindowHeight;
6729
private static
SystemResourceKey
_cacheMinimizedWindowWidth;
6730
private static
SystemResourceKey
_cacheMinimizedWindowHeight;
6731
private static
SystemResourceKey
_cacheMinimizedGridWidth;
6732
private static
SystemResourceKey
_cacheMinimizedGridHeight;
6733
private static
SystemResourceKey
_cacheMinimumWindowTrackWidth;
6734
private static
SystemResourceKey
_cacheMinimumWindowTrackHeight;
6735
private static
SystemResourceKey
_cachePrimaryScreenWidth;
6736
private static
SystemResourceKey
_cachePrimaryScreenHeight;
6737
private static
SystemResourceKey
_cacheWindowCaptionButtonWidth;
6738
private static
SystemResourceKey
_cacheWindowCaptionButtonHeight;
6739
private static
SystemResourceKey
_cacheResizeFrameHorizontalBorderHeight;
6740
private static
SystemResourceKey
_cacheResizeFrameVerticalBorderWidth;
6741
private static
SystemResourceKey
_cacheSmallIconWidth;
6742
private static
SystemResourceKey
_cacheSmallIconHeight;
6743
private static
SystemResourceKey
_cacheSmallWindowCaptionButtonWidth;
6744
private static
SystemResourceKey
_cacheSmallWindowCaptionButtonHeight;
6745
private static
SystemResourceKey
_cacheVirtualScreenWidth;
6746
private static
SystemResourceKey
_cacheVirtualScreenHeight;
6747
private static
SystemResourceKey
_cacheVerticalScrollBarWidth;
6748
private static
SystemResourceKey
_cacheVerticalScrollBarButtonHeight;
6749
private static
SystemResourceKey
_cacheWindowCaptionHeight;
6750
private static
SystemResourceKey
_cacheKanjiWindowHeight;
6751
private static
SystemResourceKey
_cacheMenuBarHeight;
6752
private static
SystemResourceKey
_cacheSmallCaptionHeight;
6753
private static
SystemResourceKey
_cacheVerticalScrollBarThumbHeight;
6754
private static
SystemResourceKey
_cacheIsImmEnabled;
6755
private static
SystemResourceKey
_cacheIsMediaCenter;
6756
private static
SystemResourceKey
_cacheIsMenuDropRightAligned;
6757
private static
SystemResourceKey
_cacheIsMiddleEastEnabled;
6758
private static
SystemResourceKey
_cacheIsMousePresent;
6759
private static
SystemResourceKey
_cacheIsMouseWheelPresent;
6760
private static
SystemResourceKey
_cacheIsPenWindows;
6761
private static
SystemResourceKey
_cacheIsRemotelyControlled;
6762
private static
SystemResourceKey
_cacheIsRemoteSession;
6763
private static
SystemResourceKey
_cacheShowSounds;
6764
private static
SystemResourceKey
_cacheIsSlowMachine;
6765
private static
SystemResourceKey
_cacheSwapButtons;
6766
private static
SystemResourceKey
_cacheIsTabletPC;
6767
private static
SystemResourceKey
_cacheVirtualScreenLeft;
6768
private static
SystemResourceKey
_cacheVirtualScreenTop;
6769
private static
SystemResourceKey
_cacheFocusBorderWidth;
6770
private static
SystemResourceKey
_cacheFocusBorderHeight;
6771
private static
SystemResourceKey
_cacheHighContrast;
6772
private static
SystemResourceKey
_cacheDropShadow;
6773
private static
SystemResourceKey
_cacheFlatMenu;
6774
private static
SystemResourceKey
_cacheWorkArea;
6775
private static
SystemResourceKey
_cacheIconHorizontalSpacing;
6776
private static
SystemResourceKey
_cacheIconVerticalSpacing;
6777
private static
SystemResourceKey
_cacheIconTitleWrap;
6778
private static
SystemResourceKey
_cacheKeyboardCues;
6779
private static
SystemResourceKey
_cacheKeyboardDelay;
6780
private static
SystemResourceKey
_cacheKeyboardPreference;
6781
private static
SystemResourceKey
_cacheKeyboardSpeed;
6782
private static
SystemResourceKey
_cacheSnapToDefaultButton;
6783
private static
SystemResourceKey
_cacheWheelScrollLines;
6784
private static
SystemResourceKey
_cacheMouseHoverTime;
6785
private static
SystemResourceKey
_cacheMouseHoverHeight;
6786
private static
SystemResourceKey
_cacheMouseHoverWidth;
6787
private static
SystemResourceKey
_cacheMenuDropAlignment;
6788
private static
SystemResourceKey
_cacheMenuFade;
6789
private static
SystemResourceKey
_cacheMenuShowDelay;
6790
private static
SystemResourceKey
_cacheComboBoxAnimation;
6791
private static
SystemResourceKey
_cacheClientAreaAnimation;
6792
private static
SystemResourceKey
_cacheCursorShadow;
6793
private static
SystemResourceKey
_cacheGradientCaptions;
6794
private static
SystemResourceKey
_cacheHotTracking;
6795
private static
SystemResourceKey
_cacheListBoxSmoothScrolling;
6796
private static
SystemResourceKey
_cacheMenuAnimation;
6797
private static
SystemResourceKey
_cacheSelectionFade;
6798
private static
SystemResourceKey
_cacheStylusHotTracking;
6799
private static
SystemResourceKey
_cacheToolTipAnimation;
6800
private static
SystemResourceKey
_cacheToolTipFade;
6801
private static
SystemResourceKey
_cacheUIEffects;
6802
private static
SystemResourceKey
_cacheMinimizeAnimation;
6803
private static
SystemResourceKey
_cacheBorder;
6804
private static
SystemResourceKey
_cacheCaretWidth;
6805
private static
SystemResourceKey
_cacheForegroundFlashCount;
6806
private static
SystemResourceKey
_cacheDragFullWindows;
6807
private static
SystemResourceKey
_cacheBorderWidth;
6808
private static
SystemResourceKey
_cacheScrollWidth;
6809
private static
SystemResourceKey
_cacheScrollHeight;
6810
private static
SystemResourceKey
_cacheCaptionWidth;
6811
private static
SystemResourceKey
_cacheCaptionHeight;
6812
private static
SystemResourceKey
_cacheSmallCaptionWidth;
6813
private static
SystemResourceKey
_cacheMenuWidth;
6814
private static
SystemResourceKey
_cacheMenuHeight;
6815
private static
SystemResourceKey
_cacheComboBoxPopupAnimation;
6816
private static
SystemResourceKey
_cacheMenuPopupAnimation;
6817
private static
SystemResourceKey
_cacheToolTipPopupAnimation;
6818
private static
SystemResourceKey
_cachePowerLineStatus;
src\Framework\System\Windows\SystemResourceKey.cs (3)
1900
SystemResourceKey
key = o as
SystemResourceKey
;
2191
private static
SystemResourceKey
_srk = null;
src\Framework\System\Windows\SystemResources.cs (6)
159
SystemResourceKey
sysKey = (resourceKey != null) ? resourceKey as
SystemResourceKey
: null;
1288
List<
SystemResourceKey
> keys = new List<
SystemResourceKey
>();
1292
SystemResourceKey
resKey = key as
SystemResourceKey
;