784 references to SystemResourceKeyID
PresentationFramework (784)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (4)
2636
if (valueId > (short)
SystemResourceKeyID
.InternalSystemColorsStart && valueId < (short)
SystemResourceKeyID
.InternalSystemColorsExtendedEnd)
2651
System.Windows.
SystemResourceKeyID
keyId = (System.Windows.
SystemResourceKeyID
)valueId;
System\Windows\Markup\BamlReader.cs (2)
2449
SystemResourceKeyID
keyId = (
SystemResourceKeyID
)memberId;
System\Windows\SystemColors.cs (77)
431
private static SystemResourceKey CreateInstance(
SystemResourceKeyID
KeyId)
447
_cacheActiveBorderColor = CreateInstance(
SystemResourceKeyID
.ActiveBorderColor);
463
_cacheActiveCaptionColor = CreateInstance(
SystemResourceKeyID
.ActiveCaptionColor);
479
_cacheActiveCaptionTextColor = CreateInstance(
SystemResourceKeyID
.ActiveCaptionTextColor);
495
_cacheAppWorkspaceColor = CreateInstance(
SystemResourceKeyID
.AppWorkspaceColor);
511
_cacheControlColor = CreateInstance(
SystemResourceKeyID
.ControlColor);
527
_cacheControlDarkColor = CreateInstance(
SystemResourceKeyID
.ControlDarkColor);
543
_cacheControlDarkDarkColor = CreateInstance(
SystemResourceKeyID
.ControlDarkDarkColor);
559
_cacheControlLightColor = CreateInstance(
SystemResourceKeyID
.ControlLightColor);
575
_cacheControlLightLightColor = CreateInstance(
SystemResourceKeyID
.ControlLightLightColor);
591
_cacheControlTextColor = CreateInstance(
SystemResourceKeyID
.ControlTextColor);
607
_cacheDesktopColor = CreateInstance(
SystemResourceKeyID
.DesktopColor);
623
_cacheGradientActiveCaptionColor = CreateInstance(
SystemResourceKeyID
.GradientActiveCaptionColor);
639
_cacheGradientInactiveCaptionColor = CreateInstance(
SystemResourceKeyID
.GradientInactiveCaptionColor);
655
_cacheGrayTextColor = CreateInstance(
SystemResourceKeyID
.GrayTextColor);
671
_cacheHighlightColor = CreateInstance(
SystemResourceKeyID
.HighlightColor);
687
_cacheHighlightTextColor = CreateInstance(
SystemResourceKeyID
.HighlightTextColor);
703
_cacheHotTrackColor = CreateInstance(
SystemResourceKeyID
.HotTrackColor);
719
_cacheInactiveBorderColor = CreateInstance(
SystemResourceKeyID
.InactiveBorderColor);
735
_cacheInactiveCaptionColor = CreateInstance(
SystemResourceKeyID
.InactiveCaptionColor);
751
_cacheInactiveCaptionTextColor = CreateInstance(
SystemResourceKeyID
.InactiveCaptionTextColor);
767
_cacheInfoColor = CreateInstance(
SystemResourceKeyID
.InfoColor);
783
_cacheInfoTextColor = CreateInstance(
SystemResourceKeyID
.InfoTextColor);
799
_cacheMenuColor = CreateInstance(
SystemResourceKeyID
.MenuColor);
815
_cacheMenuBarColor = CreateInstance(
SystemResourceKeyID
.MenuBarColor);
831
_cacheMenuHighlightColor = CreateInstance(
SystemResourceKeyID
.MenuHighlightColor);
847
_cacheMenuTextColor = CreateInstance(
SystemResourceKeyID
.MenuTextColor);
863
_cacheScrollBarColor = CreateInstance(
SystemResourceKeyID
.ScrollBarColor);
879
_cacheWindowColor = CreateInstance(
SystemResourceKeyID
.WindowColor);
895
_cacheWindowFrameColor = CreateInstance(
SystemResourceKeyID
.WindowFrameColor);
911
_cacheWindowTextColor = CreateInstance(
SystemResourceKeyID
.WindowTextColor);
927
_cacheAccentColor = CreateInstance(
SystemResourceKeyID
.AccentColor);
943
_cacheAccentColorLight1 = CreateInstance(
SystemResourceKeyID
.AccentColorLight1);
959
_cacheAccentColorLight2 = CreateInstance(
SystemResourceKeyID
.AccentColorLight2);
975
_cacheAccentColorLight3 = CreateInstance(
SystemResourceKeyID
.AccentColorLight3);
991
_cacheAccentColorDark1 = CreateInstance(
SystemResourceKeyID
.AccentColorDark1);
1007
_cacheAccentColorDark2 = CreateInstance(
SystemResourceKeyID
.AccentColorDark2);
1023
_cacheAccentColorDark3 = CreateInstance(
SystemResourceKeyID
.AccentColorDark3);
1567
_cacheActiveBorderBrush = CreateInstance(
SystemResourceKeyID
.ActiveBorderBrush);
1583
_cacheActiveCaptionBrush = CreateInstance(
SystemResourceKeyID
.ActiveCaptionBrush);
1599
_cacheActiveCaptionTextBrush = CreateInstance(
SystemResourceKeyID
.ActiveCaptionTextBrush);
1615
_cacheAppWorkspaceBrush = CreateInstance(
SystemResourceKeyID
.AppWorkspaceBrush);
1631
_cacheControlBrush = CreateInstance(
SystemResourceKeyID
.ControlBrush);
1647
_cacheControlDarkBrush = CreateInstance(
SystemResourceKeyID
.ControlDarkBrush);
1663
_cacheControlDarkDarkBrush = CreateInstance(
SystemResourceKeyID
.ControlDarkDarkBrush);
1679
_cacheControlLightBrush = CreateInstance(
SystemResourceKeyID
.ControlLightBrush);
1695
_cacheControlLightLightBrush = CreateInstance(
SystemResourceKeyID
.ControlLightLightBrush);
1711
_cacheControlTextBrush = CreateInstance(
SystemResourceKeyID
.ControlTextBrush);
1727
_cacheDesktopBrush = CreateInstance(
SystemResourceKeyID
.DesktopBrush);
1743
_cacheGradientActiveCaptionBrush = CreateInstance(
SystemResourceKeyID
.GradientActiveCaptionBrush);
1759
_cacheGradientInactiveCaptionBrush = CreateInstance(
SystemResourceKeyID
.GradientInactiveCaptionBrush);
1775
_cacheGrayTextBrush = CreateInstance(
SystemResourceKeyID
.GrayTextBrush);
1791
_cacheHighlightBrush = CreateInstance(
SystemResourceKeyID
.HighlightBrush);
1807
_cacheHighlightTextBrush = CreateInstance(
SystemResourceKeyID
.HighlightTextBrush);
1823
_cacheHotTrackBrush = CreateInstance(
SystemResourceKeyID
.HotTrackBrush);
1839
_cacheInactiveBorderBrush = CreateInstance(
SystemResourceKeyID
.InactiveBorderBrush);
1855
_cacheInactiveCaptionBrush = CreateInstance(
SystemResourceKeyID
.InactiveCaptionBrush);
1871
_cacheInactiveCaptionTextBrush = CreateInstance(
SystemResourceKeyID
.InactiveCaptionTextBrush);
1887
_cacheInfoBrush = CreateInstance(
SystemResourceKeyID
.InfoBrush);
1903
_cacheInfoTextBrush = CreateInstance(
SystemResourceKeyID
.InfoTextBrush);
1919
_cacheMenuBrush = CreateInstance(
SystemResourceKeyID
.MenuBrush);
1935
_cacheMenuBarBrush = CreateInstance(
SystemResourceKeyID
.MenuBarBrush);
1951
_cacheMenuHighlightBrush = CreateInstance(
SystemResourceKeyID
.MenuHighlightBrush);
1967
_cacheMenuTextBrush = CreateInstance(
SystemResourceKeyID
.MenuTextBrush);
1983
_cacheScrollBarBrush = CreateInstance(
SystemResourceKeyID
.ScrollBarBrush);
1999
_cacheWindowBrush = CreateInstance(
SystemResourceKeyID
.WindowBrush);
2015
_cacheWindowFrameBrush = CreateInstance(
SystemResourceKeyID
.WindowFrameBrush);
2031
_cacheWindowTextBrush = CreateInstance(
SystemResourceKeyID
.WindowTextBrush);
2049
_cacheInactiveSelectionHighlightBrush = CreateInstance(
SystemResourceKeyID
.InactiveSelectionHighlightBrush);
2072
_cacheInactiveSelectionHighlightTextBrush = CreateInstance(
SystemResourceKeyID
.InactiveSelectionHighlightTextBrush);
2093
_cacheAccentColorBrush = CreateInstance(
SystemResourceKeyID
.AccentColorBrush);
2109
_cacheAccentColorLight1Brush = CreateInstance(
SystemResourceKeyID
.AccentColorLight1Brush);
2125
_cacheAccentColorLight2Brush = CreateInstance(
SystemResourceKeyID
.AccentColorLight2Brush);
2141
_cacheAccentColorLight3Brush = CreateInstance(
SystemResourceKeyID
.AccentColorLight3Brush);
2157
_cacheAccentColorDark1Brush = CreateInstance(
SystemResourceKeyID
.AccentColorDark1Brush);
2173
_cacheAccentColorDark2Brush = CreateInstance(
SystemResourceKeyID
.AccentColorDark2Brush);
2189
_cacheAccentColorDark3Brush = CreateInstance(
SystemResourceKeyID
.AccentColorDark3Brush);
System\Windows\SystemFonts.cs (31)
527
private static SystemResourceKey CreateInstance(
SystemResourceKeyID
KeyId)
543
_cacheIconFontSize = CreateInstance(
SystemResourceKeyID
.IconFontSize);
559
_cacheIconFontFamily = CreateInstance(
SystemResourceKeyID
.IconFontFamily);
575
_cacheIconFontStyle = CreateInstance(
SystemResourceKeyID
.IconFontStyle);
591
_cacheIconFontWeight = CreateInstance(
SystemResourceKeyID
.IconFontWeight);
607
_cacheIconFontTextDecorations = CreateInstance(
SystemResourceKeyID
.IconFontTextDecorations);
626
_cacheCaptionFontSize = CreateInstance(
SystemResourceKeyID
.CaptionFontSize);
642
_cacheCaptionFontFamily = CreateInstance(
SystemResourceKeyID
.CaptionFontFamily);
658
_cacheCaptionFontStyle = CreateInstance(
SystemResourceKeyID
.CaptionFontStyle);
674
_cacheCaptionFontWeight = CreateInstance(
SystemResourceKeyID
.CaptionFontWeight);
690
_cacheCaptionFontTextDecorations = CreateInstance(
SystemResourceKeyID
.CaptionFontTextDecorations);
706
_cacheSmallCaptionFontSize = CreateInstance(
SystemResourceKeyID
.SmallCaptionFontSize);
722
_cacheSmallCaptionFontFamily = CreateInstance(
SystemResourceKeyID
.SmallCaptionFontFamily);
738
_cacheSmallCaptionFontStyle = CreateInstance(
SystemResourceKeyID
.SmallCaptionFontStyle);
754
_cacheSmallCaptionFontWeight = CreateInstance(
SystemResourceKeyID
.SmallCaptionFontWeight);
770
_cacheSmallCaptionFontTextDecorations = CreateInstance(
SystemResourceKeyID
.SmallCaptionFontTextDecorations);
786
_cacheMenuFontSize = CreateInstance(
SystemResourceKeyID
.MenuFontSize);
802
_cacheMenuFontFamily = CreateInstance(
SystemResourceKeyID
.MenuFontFamily);
818
_cacheMenuFontStyle = CreateInstance(
SystemResourceKeyID
.MenuFontStyle);
834
_cacheMenuFontWeight = CreateInstance(
SystemResourceKeyID
.MenuFontWeight);
850
_cacheMenuFontTextDecorations = CreateInstance(
SystemResourceKeyID
.MenuFontTextDecorations);
866
_cacheStatusFontSize = CreateInstance(
SystemResourceKeyID
.StatusFontSize);
882
_cacheStatusFontFamily = CreateInstance(
SystemResourceKeyID
.StatusFontFamily);
898
_cacheStatusFontStyle = CreateInstance(
SystemResourceKeyID
.StatusFontStyle);
914
_cacheStatusFontWeight = CreateInstance(
SystemResourceKeyID
.StatusFontWeight);
930
_cacheStatusFontTextDecorations = CreateInstance(
SystemResourceKeyID
.StatusFontTextDecorations);
946
_cacheMessageFontSize = CreateInstance(
SystemResourceKeyID
.MessageFontSize);
962
_cacheMessageFontFamily = CreateInstance(
SystemResourceKeyID
.MessageFontFamily);
978
_cacheMessageFontStyle = CreateInstance(
SystemResourceKeyID
.MessageFontStyle);
994
_cacheMessageFontWeight = CreateInstance(
SystemResourceKeyID
.MessageFontWeight);
1010
_cacheMessageFontTextDecorations = CreateInstance(
SystemResourceKeyID
.MessageFontTextDecorations);
System\Windows\SystemKeyConverter.cs (45)
121
SystemResourceKeyID
keyId;
164
internal static Type GetSystemClassType(
SystemResourceKeyID
id)
166
if (((
SystemResourceKeyID
.InternalSystemColorsStart < id) &&
167
(id <
SystemResourceKeyID
.InternalSystemColorsEnd))||
168
((
SystemResourceKeyID
.InternalSystemColorsExtendedStart < id) &&
169
(id <
SystemResourceKeyID
.InternalSystemColorsExtendedEnd)))
173
else if ((
SystemResourceKeyID
.InternalSystemFontsStart < id) &&
174
(id <
SystemResourceKeyID
.InternalSystemFontsEnd))
178
else if ((
SystemResourceKeyID
.InternalSystemParametersStart < id) &&
179
(id <
SystemResourceKeyID
.InternalSystemParametersEnd))
183
else if (
SystemResourceKeyID
.MenuItemSeparatorStyle == id)
187
else if ((
SystemResourceKeyID
.ToolBarButtonStyle <= id) &&
188
(id <=
SystemResourceKeyID
.ToolBarMenuStyle))
192
else if (
SystemResourceKeyID
.StatusBarSeparatorStyle == id)
196
else if ((
SystemResourceKeyID
.GridViewScrollViewerStyle <= id) &&
197
(id <=
SystemResourceKeyID
.GridViewItemContainerStyle))
205
internal static string GetSystemClassName(
SystemResourceKeyID
id)
207
if (((
SystemResourceKeyID
.InternalSystemColorsStart < id) &&
208
(id <
SystemResourceKeyID
.InternalSystemColorsEnd))||
209
((
SystemResourceKeyID
.InternalSystemColorsExtendedStart < id) &&
210
(id <
SystemResourceKeyID
.InternalSystemColorsExtendedEnd)))
214
else if ((
SystemResourceKeyID
.InternalSystemFontsStart < id) &&
215
(id <
SystemResourceKeyID
.InternalSystemFontsEnd))
219
else if ((
SystemResourceKeyID
.InternalSystemParametersStart < id) &&
220
(id <
SystemResourceKeyID
.InternalSystemParametersEnd))
224
else if (
SystemResourceKeyID
.MenuItemSeparatorStyle == id)
228
else if ((
SystemResourceKeyID
.ToolBarButtonStyle <= id) &&
229
(id <=
SystemResourceKeyID
.ToolBarMenuStyle))
233
else if (
SystemResourceKeyID
.StatusBarSeparatorStyle == id)
237
else if ((
SystemResourceKeyID
.GridViewScrollViewerStyle <= id) &&
238
(id <=
SystemResourceKeyID
.GridViewItemContainerStyle))
246
internal static string GetSystemKeyName(
SystemResourceKeyID
id)
248
if (((
SystemResourceKeyID
.InternalSystemColorsStart < id) &&
249
(id <
SystemResourceKeyID
.InternalSystemParametersEnd))||
250
((
SystemResourceKeyID
.InternalSystemColorsExtendedStart < id) &&
251
(id <
SystemResourceKeyID
.InternalSystemColorsExtendedEnd))||
252
((
SystemResourceKeyID
.GridViewScrollViewerStyle <= id) &&
253
(id <=
SystemResourceKeyID
.GridViewItemContainerStyle)))
257
else if (
SystemResourceKeyID
.MenuItemSeparatorStyle == id ||
258
SystemResourceKeyID
.StatusBarSeparatorStyle == id)
262
else if ((
SystemResourceKeyID
.ToolBarButtonStyle <= id) &&
263
(id <=
SystemResourceKeyID
.ToolBarMenuStyle))
272
internal static string GetSystemPropertyName(
SystemResourceKeyID
id)
274
if ((
SystemResourceKeyID
.InternalSystemColorsStart < id) &&
275
(id <
SystemResourceKeyID
.InternalSystemColorsExtendedEnd))
System\Windows\SystemParameters.cs (123)
234
private static SystemResourceKey CreateInstance(
SystemResourceKeyID
KeyId)
250
_cacheFocusBorderWidth = CreateInstance(
SystemResourceKeyID
.FocusBorderWidth);
266
_cacheFocusBorderHeight = CreateInstance(
SystemResourceKeyID
.FocusBorderHeight);
282
_cacheHighContrast = CreateInstance(
SystemResourceKeyID
.HighContrast);
414
_cacheDropShadow = CreateInstance(
SystemResourceKeyID
.DropShadow);
430
_cacheFlatMenu = CreateInstance(
SystemResourceKeyID
.FlatMenu);
446
_cacheWorkArea = CreateInstance(
SystemResourceKeyID
.WorkArea);
532
_cacheIconHorizontalSpacing = CreateInstance(
SystemResourceKeyID
.IconHorizontalSpacing);
548
_cacheIconVerticalSpacing = CreateInstance(
SystemResourceKeyID
.IconVerticalSpacing);
564
_cacheIconTitleWrap = CreateInstance(
SystemResourceKeyID
.IconTitleWrap);
857
_cacheKeyboardCues = CreateInstance(
SystemResourceKeyID
.KeyboardCues);
873
_cacheKeyboardDelay = CreateInstance(
SystemResourceKeyID
.KeyboardDelay);
889
_cacheKeyboardPreference = CreateInstance(
SystemResourceKeyID
.KeyboardPreference);
905
_cacheKeyboardSpeed = CreateInstance(
SystemResourceKeyID
.KeyboardSpeed);
921
_cacheSnapToDefaultButton = CreateInstance(
SystemResourceKeyID
.SnapToDefaultButton);
937
_cacheWheelScrollLines = CreateInstance(
SystemResourceKeyID
.WheelScrollLines);
953
_cacheMouseHoverTime = CreateInstance(
SystemResourceKeyID
.MouseHoverTime);
969
_cacheMouseHoverHeight = CreateInstance(
SystemResourceKeyID
.MouseHoverHeight);
985
_cacheMouseHoverWidth = CreateInstance(
SystemResourceKeyID
.MouseHoverWidth);
1093
_cacheMenuDropAlignment = CreateInstance(
SystemResourceKeyID
.MenuDropAlignment);
1109
_cacheMenuFade = CreateInstance(
SystemResourceKeyID
.MenuFade);
1125
_cacheMenuShowDelay = CreateInstance(
SystemResourceKeyID
.MenuShowDelay);
1552
_cacheComboBoxAnimation = CreateInstance(
SystemResourceKeyID
.ComboBoxAnimation);
1568
_cacheClientAreaAnimation = CreateInstance(
SystemResourceKeyID
.ClientAreaAnimation);
1584
_cacheCursorShadow = CreateInstance(
SystemResourceKeyID
.CursorShadow);
1600
_cacheGradientCaptions = CreateInstance(
SystemResourceKeyID
.GradientCaptions);
1616
_cacheHotTracking = CreateInstance(
SystemResourceKeyID
.HotTracking);
1632
_cacheListBoxSmoothScrolling = CreateInstance(
SystemResourceKeyID
.ListBoxSmoothScrolling);
1648
_cacheMenuAnimation = CreateInstance(
SystemResourceKeyID
.MenuAnimation);
1664
_cacheSelectionFade = CreateInstance(
SystemResourceKeyID
.SelectionFade);
1680
_cacheStylusHotTracking = CreateInstance(
SystemResourceKeyID
.StylusHotTracking);
1696
_cacheToolTipAnimation = CreateInstance(
SystemResourceKeyID
.ToolTipAnimation);
1712
_cacheToolTipFade = CreateInstance(
SystemResourceKeyID
.ToolTipFade);
1728
_cacheUIEffects = CreateInstance(
SystemResourceKeyID
.UIEffects);
1744
_cacheComboBoxPopupAnimation = CreateInstance(
SystemResourceKeyID
.ComboBoxPopupAnimation);
1760
_cacheMenuPopupAnimation = CreateInstance(
SystemResourceKeyID
.MenuPopupAnimation);
1776
_cacheToolTipPopupAnimation = CreateInstance(
SystemResourceKeyID
.ToolTipPopupAnimation);
2096
_cacheMinimizeAnimation = CreateInstance(
SystemResourceKeyID
.MinimizeAnimation);
2112
_cacheBorder = CreateInstance(
SystemResourceKeyID
.Border);
2128
_cacheCaretWidth = CreateInstance(
SystemResourceKeyID
.CaretWidth);
2144
_cacheForegroundFlashCount = CreateInstance(
SystemResourceKeyID
.ForegroundFlashCount);
2160
_cacheDragFullWindows = CreateInstance(
SystemResourceKeyID
.DragFullWindows);
2176
_cacheBorderWidth = CreateInstance(
SystemResourceKeyID
.BorderWidth);
2192
_cacheScrollWidth = CreateInstance(
SystemResourceKeyID
.ScrollWidth);
2208
_cacheScrollHeight = CreateInstance(
SystemResourceKeyID
.ScrollHeight);
2224
_cacheCaptionWidth = CreateInstance(
SystemResourceKeyID
.CaptionWidth);
2240
_cacheCaptionHeight = CreateInstance(
SystemResourceKeyID
.CaptionHeight);
2256
_cacheSmallCaptionWidth = CreateInstance(
SystemResourceKeyID
.SmallCaptionWidth);
2272
_cacheMenuWidth = CreateInstance(
SystemResourceKeyID
.MenuWidth);
2288
_cacheMenuHeight = CreateInstance(
SystemResourceKeyID
.MenuHeight);
3809
_cacheThinHorizontalBorderHeight = CreateInstance(
SystemResourceKeyID
.ThinHorizontalBorderHeight);
3825
_cacheThinVerticalBorderWidth = CreateInstance(
SystemResourceKeyID
.ThinVerticalBorderWidth);
3841
_cacheCursorWidth = CreateInstance(
SystemResourceKeyID
.CursorWidth);
3857
_cacheCursorHeight = CreateInstance(
SystemResourceKeyID
.CursorHeight);
3873
_cacheThickHorizontalBorderHeight = CreateInstance(
SystemResourceKeyID
.ThickHorizontalBorderHeight);
3889
_cacheThickVerticalBorderWidth = CreateInstance(
SystemResourceKeyID
.ThickVerticalBorderWidth);
3905
_cacheFixedFrameHorizontalBorderHeight = CreateInstance(
SystemResourceKeyID
.FixedFrameHorizontalBorderHeight);
3921
_cacheFixedFrameVerticalBorderWidth = CreateInstance(
SystemResourceKeyID
.FixedFrameVerticalBorderWidth);
3937
_cacheFocusHorizontalBorderHeight = CreateInstance(
SystemResourceKeyID
.FocusHorizontalBorderHeight);
3953
_cacheFocusVerticalBorderWidth = CreateInstance(
SystemResourceKeyID
.FocusVerticalBorderWidth);
3969
_cacheFullPrimaryScreenWidth = CreateInstance(
SystemResourceKeyID
.FullPrimaryScreenWidth);
3985
_cacheFullPrimaryScreenHeight = CreateInstance(
SystemResourceKeyID
.FullPrimaryScreenHeight);
4001
_cacheHorizontalScrollBarButtonWidth = CreateInstance(
SystemResourceKeyID
.HorizontalScrollBarButtonWidth);
4017
_cacheHorizontalScrollBarHeight = CreateInstance(
SystemResourceKeyID
.HorizontalScrollBarHeight);
4033
_cacheHorizontalScrollBarThumbWidth = CreateInstance(
SystemResourceKeyID
.HorizontalScrollBarThumbWidth);
4049
_cacheIconWidth = CreateInstance(
SystemResourceKeyID
.IconWidth);
4065
_cacheIconHeight = CreateInstance(
SystemResourceKeyID
.IconHeight);
4081
_cacheIconGridWidth = CreateInstance(
SystemResourceKeyID
.IconGridWidth);
4097
_cacheIconGridHeight = CreateInstance(
SystemResourceKeyID
.IconGridHeight);
4113
_cacheMaximizedPrimaryScreenWidth = CreateInstance(
SystemResourceKeyID
.MaximizedPrimaryScreenWidth);
4129
_cacheMaximizedPrimaryScreenHeight = CreateInstance(
SystemResourceKeyID
.MaximizedPrimaryScreenHeight);
4145
_cacheMaximumWindowTrackWidth = CreateInstance(
SystemResourceKeyID
.MaximumWindowTrackWidth);
4161
_cacheMaximumWindowTrackHeight = CreateInstance(
SystemResourceKeyID
.MaximumWindowTrackHeight);
4177
_cacheMenuCheckmarkWidth = CreateInstance(
SystemResourceKeyID
.MenuCheckmarkWidth);
4193
_cacheMenuCheckmarkHeight = CreateInstance(
SystemResourceKeyID
.MenuCheckmarkHeight);
4209
_cacheMenuButtonWidth = CreateInstance(
SystemResourceKeyID
.MenuButtonWidth);
4225
_cacheMenuButtonHeight = CreateInstance(
SystemResourceKeyID
.MenuButtonHeight);
4241
_cacheMinimumWindowWidth = CreateInstance(
SystemResourceKeyID
.MinimumWindowWidth);
4257
_cacheMinimumWindowHeight = CreateInstance(
SystemResourceKeyID
.MinimumWindowHeight);
4273
_cacheMinimizedWindowWidth = CreateInstance(
SystemResourceKeyID
.MinimizedWindowWidth);
4289
_cacheMinimizedWindowHeight = CreateInstance(
SystemResourceKeyID
.MinimizedWindowHeight);
4305
_cacheMinimizedGridWidth = CreateInstance(
SystemResourceKeyID
.MinimizedGridWidth);
4321
_cacheMinimizedGridHeight = CreateInstance(
SystemResourceKeyID
.MinimizedGridHeight);
4337
_cacheMinimumWindowTrackWidth = CreateInstance(
SystemResourceKeyID
.MinimumWindowTrackWidth);
4353
_cacheMinimumWindowTrackHeight = CreateInstance(
SystemResourceKeyID
.MinimumWindowTrackHeight);
4369
_cachePrimaryScreenWidth = CreateInstance(
SystemResourceKeyID
.PrimaryScreenWidth);
4385
_cachePrimaryScreenHeight = CreateInstance(
SystemResourceKeyID
.PrimaryScreenHeight);
4401
_cacheWindowCaptionButtonWidth = CreateInstance(
SystemResourceKeyID
.WindowCaptionButtonWidth);
4417
_cacheWindowCaptionButtonHeight = CreateInstance(
SystemResourceKeyID
.WindowCaptionButtonHeight);
4433
_cacheResizeFrameHorizontalBorderHeight = CreateInstance(
SystemResourceKeyID
.ResizeFrameHorizontalBorderHeight);
4449
_cacheResizeFrameVerticalBorderWidth = CreateInstance(
SystemResourceKeyID
.ResizeFrameVerticalBorderWidth);
4465
_cacheSmallIconWidth = CreateInstance(
SystemResourceKeyID
.SmallIconWidth);
4481
_cacheSmallIconHeight = CreateInstance(
SystemResourceKeyID
.SmallIconHeight);
4497
_cacheSmallWindowCaptionButtonWidth = CreateInstance(
SystemResourceKeyID
.SmallWindowCaptionButtonWidth);
4513
_cacheSmallWindowCaptionButtonHeight = CreateInstance(
SystemResourceKeyID
.SmallWindowCaptionButtonHeight);
4529
_cacheVirtualScreenWidth = CreateInstance(
SystemResourceKeyID
.VirtualScreenWidth);
4545
_cacheVirtualScreenHeight = CreateInstance(
SystemResourceKeyID
.VirtualScreenHeight);
4561
_cacheVerticalScrollBarWidth = CreateInstance(
SystemResourceKeyID
.VerticalScrollBarWidth);
4577
_cacheVerticalScrollBarButtonHeight = CreateInstance(
SystemResourceKeyID
.VerticalScrollBarButtonHeight);
4593
_cacheWindowCaptionHeight = CreateInstance(
SystemResourceKeyID
.WindowCaptionHeight);
4609
_cacheKanjiWindowHeight = CreateInstance(
SystemResourceKeyID
.KanjiWindowHeight);
4625
_cacheMenuBarHeight = CreateInstance(
SystemResourceKeyID
.MenuBarHeight);
4641
_cacheSmallCaptionHeight = CreateInstance(
SystemResourceKeyID
.SmallCaptionHeight);
4657
_cacheVerticalScrollBarThumbHeight = CreateInstance(
SystemResourceKeyID
.VerticalScrollBarThumbHeight);
4673
_cacheIsImmEnabled = CreateInstance(
SystemResourceKeyID
.IsImmEnabled);
4689
_cacheIsMediaCenter = CreateInstance(
SystemResourceKeyID
.IsMediaCenter);
4705
_cacheIsMenuDropRightAligned = CreateInstance(
SystemResourceKeyID
.IsMenuDropRightAligned);
4721
_cacheIsMiddleEastEnabled = CreateInstance(
SystemResourceKeyID
.IsMiddleEastEnabled);
4737
_cacheIsMousePresent = CreateInstance(
SystemResourceKeyID
.IsMousePresent);
4753
_cacheIsMouseWheelPresent = CreateInstance(
SystemResourceKeyID
.IsMouseWheelPresent);
4769
_cacheIsPenWindows = CreateInstance(
SystemResourceKeyID
.IsPenWindows);
4785
_cacheIsRemotelyControlled = CreateInstance(
SystemResourceKeyID
.IsRemotelyControlled);
4801
_cacheIsRemoteSession = CreateInstance(
SystemResourceKeyID
.IsRemoteSession);
4817
_cacheShowSounds = CreateInstance(
SystemResourceKeyID
.ShowSounds);
4833
_cacheIsSlowMachine = CreateInstance(
SystemResourceKeyID
.IsSlowMachine);
4849
_cacheSwapButtons = CreateInstance(
SystemResourceKeyID
.SwapButtons);
4865
_cacheIsTabletPC = CreateInstance(
SystemResourceKeyID
.IsTabletPC);
4881
_cacheVirtualScreenLeft = CreateInstance(
SystemResourceKeyID
.VirtualScreenLeft);
4897
_cacheVirtualScreenTop = CreateInstance(
SystemResourceKeyID
.VirtualScreenTop);
4917
_cacheFocusVisualStyle = new SystemThemeKey(
SystemResourceKeyID
.FocusVisualStyle);
4934
_cacheNavigationChromeStyle = new SystemThemeKey(
SystemResourceKeyID
.NavigationChromeStyle);
4951
_cacheNavigationChromeDownLevelStyle = new SystemThemeKey(
SystemResourceKeyID
.NavigationChromeDownLevelStyle);
5005
_cachePowerLineStatus = CreateInstance(
SystemResourceKeyID
.PowerLineStatus);
System\Windows\SystemResourceKey.cs (497)
317
private const short SystemResourceKeyIDStart = (short)
SystemResourceKeyID
.InternalSystemColorsStart;
318
private const short SystemResourceKeyIDEnd = (short)
SystemResourceKeyID
.InternalSystemThemeStylesEnd;
323
private const short SystemResourceKeyIDExtendedStart = (short)
SystemResourceKeyID
.InternalSystemColorsExtendedStart;
324
private const short SystemResourceKeyIDExtendedEnd = (short)
SystemResourceKeyID
.InternalSystemColorsExtendedEnd;
409
Enum.TryParse(srkField, out
SystemResourceKeyID
srkId))
457
case
SystemResourceKeyID
.ActiveBorderBrush:
460
case
SystemResourceKeyID
.ActiveCaptionBrush:
463
case
SystemResourceKeyID
.ActiveCaptionTextBrush:
466
case
SystemResourceKeyID
.AppWorkspaceBrush:
469
case
SystemResourceKeyID
.ControlBrush:
472
case
SystemResourceKeyID
.ControlDarkBrush:
475
case
SystemResourceKeyID
.ControlDarkDarkBrush:
478
case
SystemResourceKeyID
.ControlLightBrush:
481
case
SystemResourceKeyID
.ControlLightLightBrush:
484
case
SystemResourceKeyID
.ControlTextBrush:
487
case
SystemResourceKeyID
.DesktopBrush:
490
case
SystemResourceKeyID
.GradientActiveCaptionBrush:
493
case
SystemResourceKeyID
.GradientInactiveCaptionBrush:
496
case
SystemResourceKeyID
.GrayTextBrush:
499
case
SystemResourceKeyID
.HighlightBrush:
502
case
SystemResourceKeyID
.HighlightTextBrush:
505
case
SystemResourceKeyID
.HotTrackBrush:
508
case
SystemResourceKeyID
.InactiveBorderBrush:
511
case
SystemResourceKeyID
.InactiveCaptionBrush:
514
case
SystemResourceKeyID
.InactiveCaptionTextBrush:
517
case
SystemResourceKeyID
.InfoBrush:
520
case
SystemResourceKeyID
.InfoTextBrush:
523
case
SystemResourceKeyID
.MenuBrush:
526
case
SystemResourceKeyID
.MenuBarBrush:
529
case
SystemResourceKeyID
.MenuHighlightBrush:
532
case
SystemResourceKeyID
.MenuTextBrush:
535
case
SystemResourceKeyID
.ScrollBarBrush:
538
case
SystemResourceKeyID
.WindowBrush:
541
case
SystemResourceKeyID
.WindowFrameBrush:
544
case
SystemResourceKeyID
.WindowTextBrush:
547
case
SystemResourceKeyID
.InactiveSelectionHighlightBrush:
550
case
SystemResourceKeyID
.InactiveSelectionHighlightTextBrush:
553
case
SystemResourceKeyID
.AccentColorBrush:
556
case
SystemResourceKeyID
.AccentColorLight1Brush:
559
case
SystemResourceKeyID
.AccentColorLight2Brush:
562
case
SystemResourceKeyID
.AccentColorLight3Brush:
565
case
SystemResourceKeyID
.AccentColorDark1Brush:
568
case
SystemResourceKeyID
.AccentColorDark2Brush:
571
case
SystemResourceKeyID
.AccentColorDark3Brush:
574
case
SystemResourceKeyID
.ActiveBorderColor:
577
case
SystemResourceKeyID
.ActiveCaptionColor:
580
case
SystemResourceKeyID
.ActiveCaptionTextColor:
583
case
SystemResourceKeyID
.AppWorkspaceColor:
586
case
SystemResourceKeyID
.ControlColor:
589
case
SystemResourceKeyID
.ControlDarkColor:
592
case
SystemResourceKeyID
.ControlDarkDarkColor:
595
case
SystemResourceKeyID
.ControlLightColor:
598
case
SystemResourceKeyID
.ControlLightLightColor:
601
case
SystemResourceKeyID
.ControlTextColor:
604
case
SystemResourceKeyID
.DesktopColor:
607
case
SystemResourceKeyID
.GradientActiveCaptionColor:
610
case
SystemResourceKeyID
.GradientInactiveCaptionColor:
613
case
SystemResourceKeyID
.GrayTextColor:
616
case
SystemResourceKeyID
.HighlightColor:
619
case
SystemResourceKeyID
.HighlightTextColor:
622
case
SystemResourceKeyID
.HotTrackColor:
625
case
SystemResourceKeyID
.InactiveBorderColor:
628
case
SystemResourceKeyID
.InactiveCaptionColor:
631
case
SystemResourceKeyID
.InactiveCaptionTextColor:
634
case
SystemResourceKeyID
.InfoColor:
637
case
SystemResourceKeyID
.InfoTextColor:
640
case
SystemResourceKeyID
.MenuColor:
643
case
SystemResourceKeyID
.MenuBarColor:
646
case
SystemResourceKeyID
.MenuHighlightColor:
649
case
SystemResourceKeyID
.MenuTextColor:
652
case
SystemResourceKeyID
.ScrollBarColor:
655
case
SystemResourceKeyID
.WindowColor:
658
case
SystemResourceKeyID
.WindowFrameColor:
661
case
SystemResourceKeyID
.WindowTextColor:
664
case
SystemResourceKeyID
.AccentColor:
667
case
SystemResourceKeyID
.AccentColorLight1:
670
case
SystemResourceKeyID
.AccentColorLight2:
673
case
SystemResourceKeyID
.AccentColorLight3:
676
case
SystemResourceKeyID
.AccentColorDark1:
679
case
SystemResourceKeyID
.AccentColorDark2:
682
case
SystemResourceKeyID
.AccentColorDark3:
685
case
SystemResourceKeyID
.ThinHorizontalBorderHeight:
688
case
SystemResourceKeyID
.ThinVerticalBorderWidth:
691
case
SystemResourceKeyID
.CursorWidth:
694
case
SystemResourceKeyID
.CursorHeight:
697
case
SystemResourceKeyID
.ThickHorizontalBorderHeight:
700
case
SystemResourceKeyID
.ThickVerticalBorderWidth:
703
case
SystemResourceKeyID
.FixedFrameHorizontalBorderHeight:
706
case
SystemResourceKeyID
.FixedFrameVerticalBorderWidth:
709
case
SystemResourceKeyID
.FocusHorizontalBorderHeight:
712
case
SystemResourceKeyID
.FocusVerticalBorderWidth:
715
case
SystemResourceKeyID
.FullPrimaryScreenWidth:
718
case
SystemResourceKeyID
.FullPrimaryScreenHeight:
721
case
SystemResourceKeyID
.HorizontalScrollBarButtonWidth:
724
case
SystemResourceKeyID
.HorizontalScrollBarHeight:
727
case
SystemResourceKeyID
.HorizontalScrollBarThumbWidth:
730
case
SystemResourceKeyID
.IconWidth:
733
case
SystemResourceKeyID
.IconHeight:
736
case
SystemResourceKeyID
.IconGridWidth:
739
case
SystemResourceKeyID
.IconGridHeight:
742
case
SystemResourceKeyID
.MaximizedPrimaryScreenWidth:
745
case
SystemResourceKeyID
.MaximizedPrimaryScreenHeight:
748
case
SystemResourceKeyID
.MaximumWindowTrackWidth:
751
case
SystemResourceKeyID
.MaximumWindowTrackHeight:
754
case
SystemResourceKeyID
.MenuCheckmarkWidth:
757
case
SystemResourceKeyID
.MenuCheckmarkHeight:
760
case
SystemResourceKeyID
.MenuButtonWidth:
763
case
SystemResourceKeyID
.MenuButtonHeight:
766
case
SystemResourceKeyID
.MinimumWindowWidth:
769
case
SystemResourceKeyID
.MinimumWindowHeight:
772
case
SystemResourceKeyID
.MinimizedWindowWidth:
775
case
SystemResourceKeyID
.MinimizedWindowHeight:
778
case
SystemResourceKeyID
.MinimizedGridWidth:
781
case
SystemResourceKeyID
.MinimizedGridHeight:
784
case
SystemResourceKeyID
.MinimumWindowTrackWidth:
787
case
SystemResourceKeyID
.MinimumWindowTrackHeight:
790
case
SystemResourceKeyID
.PrimaryScreenWidth:
793
case
SystemResourceKeyID
.PrimaryScreenHeight:
796
case
SystemResourceKeyID
.WindowCaptionButtonWidth:
799
case
SystemResourceKeyID
.WindowCaptionButtonHeight:
802
case
SystemResourceKeyID
.ResizeFrameHorizontalBorderHeight:
805
case
SystemResourceKeyID
.ResizeFrameVerticalBorderWidth:
808
case
SystemResourceKeyID
.SmallIconWidth:
811
case
SystemResourceKeyID
.SmallIconHeight:
814
case
SystemResourceKeyID
.SmallWindowCaptionButtonWidth:
817
case
SystemResourceKeyID
.SmallWindowCaptionButtonHeight:
820
case
SystemResourceKeyID
.VirtualScreenWidth:
823
case
SystemResourceKeyID
.VirtualScreenHeight:
826
case
SystemResourceKeyID
.VerticalScrollBarWidth:
829
case
SystemResourceKeyID
.VerticalScrollBarButtonHeight:
832
case
SystemResourceKeyID
.WindowCaptionHeight:
835
case
SystemResourceKeyID
.KanjiWindowHeight:
838
case
SystemResourceKeyID
.MenuBarHeight:
841
case
SystemResourceKeyID
.SmallCaptionHeight:
844
case
SystemResourceKeyID
.VerticalScrollBarThumbHeight:
847
case
SystemResourceKeyID
.IsImmEnabled:
850
case
SystemResourceKeyID
.IsMediaCenter:
853
case
SystemResourceKeyID
.IsMenuDropRightAligned:
856
case
SystemResourceKeyID
.IsMiddleEastEnabled:
859
case
SystemResourceKeyID
.IsMousePresent:
862
case
SystemResourceKeyID
.IsMouseWheelPresent:
865
case
SystemResourceKeyID
.IsPenWindows:
868
case
SystemResourceKeyID
.IsRemotelyControlled:
871
case
SystemResourceKeyID
.IsRemoteSession:
874
case
SystemResourceKeyID
.ShowSounds:
877
case
SystemResourceKeyID
.IsSlowMachine:
880
case
SystemResourceKeyID
.SwapButtons:
883
case
SystemResourceKeyID
.IsTabletPC:
886
case
SystemResourceKeyID
.VirtualScreenLeft:
889
case
SystemResourceKeyID
.VirtualScreenTop:
892
case
SystemResourceKeyID
.FocusBorderWidth:
895
case
SystemResourceKeyID
.FocusBorderHeight:
898
case
SystemResourceKeyID
.HighContrast:
901
case
SystemResourceKeyID
.DropShadow:
904
case
SystemResourceKeyID
.FlatMenu:
907
case
SystemResourceKeyID
.WorkArea:
910
case
SystemResourceKeyID
.IconHorizontalSpacing:
913
case
SystemResourceKeyID
.IconVerticalSpacing:
916
case
SystemResourceKeyID
.IconTitleWrap:
919
case
SystemResourceKeyID
.IconFontSize:
922
case
SystemResourceKeyID
.IconFontFamily:
925
case
SystemResourceKeyID
.IconFontStyle:
928
case
SystemResourceKeyID
.IconFontWeight:
931
case
SystemResourceKeyID
.IconFontTextDecorations:
934
case
SystemResourceKeyID
.KeyboardCues:
937
case
SystemResourceKeyID
.KeyboardDelay:
940
case
SystemResourceKeyID
.KeyboardPreference:
943
case
SystemResourceKeyID
.KeyboardSpeed:
946
case
SystemResourceKeyID
.SnapToDefaultButton:
949
case
SystemResourceKeyID
.WheelScrollLines:
952
case
SystemResourceKeyID
.MouseHoverTime:
955
case
SystemResourceKeyID
.MouseHoverHeight:
958
case
SystemResourceKeyID
.MouseHoverWidth:
961
case
SystemResourceKeyID
.MenuDropAlignment:
964
case
SystemResourceKeyID
.MenuFade:
967
case
SystemResourceKeyID
.MenuShowDelay:
970
case
SystemResourceKeyID
.ComboBoxAnimation:
973
case
SystemResourceKeyID
.ClientAreaAnimation:
976
case
SystemResourceKeyID
.CursorShadow:
979
case
SystemResourceKeyID
.GradientCaptions:
982
case
SystemResourceKeyID
.HotTracking:
985
case
SystemResourceKeyID
.ListBoxSmoothScrolling:
988
case
SystemResourceKeyID
.MenuAnimation:
991
case
SystemResourceKeyID
.SelectionFade:
994
case
SystemResourceKeyID
.StylusHotTracking:
997
case
SystemResourceKeyID
.ToolTipAnimation:
1000
case
SystemResourceKeyID
.ToolTipFade:
1003
case
SystemResourceKeyID
.UIEffects:
1006
case
SystemResourceKeyID
.MinimizeAnimation:
1009
case
SystemResourceKeyID
.Border:
1012
case
SystemResourceKeyID
.CaretWidth:
1015
case
SystemResourceKeyID
.ForegroundFlashCount:
1018
case
SystemResourceKeyID
.DragFullWindows:
1021
case
SystemResourceKeyID
.BorderWidth:
1024
case
SystemResourceKeyID
.ScrollWidth:
1027
case
SystemResourceKeyID
.ScrollHeight:
1030
case
SystemResourceKeyID
.CaptionWidth:
1033
case
SystemResourceKeyID
.CaptionHeight:
1036
case
SystemResourceKeyID
.SmallCaptionWidth:
1039
case
SystemResourceKeyID
.MenuWidth:
1042
case
SystemResourceKeyID
.MenuHeight:
1045
case
SystemResourceKeyID
.CaptionFontSize:
1048
case
SystemResourceKeyID
.CaptionFontFamily:
1051
case
SystemResourceKeyID
.CaptionFontStyle:
1054
case
SystemResourceKeyID
.CaptionFontWeight:
1057
case
SystemResourceKeyID
.CaptionFontTextDecorations:
1060
case
SystemResourceKeyID
.SmallCaptionFontSize:
1063
case
SystemResourceKeyID
.SmallCaptionFontFamily:
1066
case
SystemResourceKeyID
.SmallCaptionFontStyle:
1069
case
SystemResourceKeyID
.SmallCaptionFontWeight:
1072
case
SystemResourceKeyID
.SmallCaptionFontTextDecorations:
1075
case
SystemResourceKeyID
.MenuFontSize:
1078
case
SystemResourceKeyID
.MenuFontFamily:
1081
case
SystemResourceKeyID
.MenuFontStyle:
1084
case
SystemResourceKeyID
.MenuFontWeight:
1087
case
SystemResourceKeyID
.MenuFontTextDecorations:
1090
case
SystemResourceKeyID
.StatusFontSize:
1093
case
SystemResourceKeyID
.StatusFontFamily:
1096
case
SystemResourceKeyID
.StatusFontStyle:
1099
case
SystemResourceKeyID
.StatusFontWeight:
1102
case
SystemResourceKeyID
.StatusFontTextDecorations:
1105
case
SystemResourceKeyID
.MessageFontSize:
1108
case
SystemResourceKeyID
.MessageFontFamily:
1111
case
SystemResourceKeyID
.MessageFontStyle:
1114
case
SystemResourceKeyID
.MessageFontWeight:
1117
case
SystemResourceKeyID
.MessageFontTextDecorations:
1120
case
SystemResourceKeyID
.ComboBoxPopupAnimation:
1123
case
SystemResourceKeyID
.MenuPopupAnimation:
1126
case
SystemResourceKeyID
.ToolTipPopupAnimation:
1129
case
SystemResourceKeyID
.PowerLineStatus:
1141
case (short)
SystemResourceKeyID
.ActiveBorderBrush:
1144
case (short)
SystemResourceKeyID
.ActiveCaptionBrush:
1147
case (short)
SystemResourceKeyID
.ActiveCaptionTextBrush:
1150
case (short)
SystemResourceKeyID
.AppWorkspaceBrush:
1153
case (short)
SystemResourceKeyID
.ControlBrush:
1156
case (short)
SystemResourceKeyID
.ControlDarkBrush:
1159
case (short)
SystemResourceKeyID
.ControlDarkDarkBrush:
1162
case (short)
SystemResourceKeyID
.ControlLightBrush:
1165
case (short)
SystemResourceKeyID
.ControlLightLightBrush:
1168
case (short)
SystemResourceKeyID
.ControlTextBrush:
1171
case (short)
SystemResourceKeyID
.DesktopBrush:
1174
case (short)
SystemResourceKeyID
.GradientActiveCaptionBrush:
1177
case (short)
SystemResourceKeyID
.GradientInactiveCaptionBrush:
1180
case (short)
SystemResourceKeyID
.GrayTextBrush:
1183
case (short)
SystemResourceKeyID
.HighlightBrush:
1186
case (short)
SystemResourceKeyID
.HighlightTextBrush:
1189
case (short)
SystemResourceKeyID
.HotTrackBrush:
1192
case (short)
SystemResourceKeyID
.InactiveBorderBrush:
1195
case (short)
SystemResourceKeyID
.InactiveCaptionBrush:
1198
case (short)
SystemResourceKeyID
.InactiveCaptionTextBrush:
1201
case (short)
SystemResourceKeyID
.InfoBrush:
1204
case (short)
SystemResourceKeyID
.InfoTextBrush:
1207
case (short)
SystemResourceKeyID
.MenuBrush:
1210
case (short)
SystemResourceKeyID
.MenuBarBrush:
1213
case (short)
SystemResourceKeyID
.MenuHighlightBrush:
1216
case (short)
SystemResourceKeyID
.MenuTextBrush:
1219
case (short)
SystemResourceKeyID
.ScrollBarBrush:
1222
case (short)
SystemResourceKeyID
.WindowBrush:
1225
case (short)
SystemResourceKeyID
.WindowFrameBrush:
1228
case (short)
SystemResourceKeyID
.WindowTextBrush:
1231
case (short)
SystemResourceKeyID
.InactiveSelectionHighlightBrush:
1234
case (short)
SystemResourceKeyID
.InactiveSelectionHighlightTextBrush:
1237
case (short)
SystemResourceKeyID
.AccentColorBrush:
1240
case (short)
SystemResourceKeyID
.AccentColorLight1Brush:
1243
case (short)
SystemResourceKeyID
.AccentColorLight2Brush:
1246
case (short)
SystemResourceKeyID
.AccentColorLight3Brush:
1249
case (short)
SystemResourceKeyID
.AccentColorDark1Brush:
1252
case (short)
SystemResourceKeyID
.AccentColorDark2Brush:
1255
case (short)
SystemResourceKeyID
.AccentColorDark3Brush:
1258
case (short)
SystemResourceKeyID
.ActiveBorderColor:
1261
case (short)
SystemResourceKeyID
.ActiveCaptionColor:
1264
case (short)
SystemResourceKeyID
.ActiveCaptionTextColor:
1267
case (short)
SystemResourceKeyID
.AppWorkspaceColor:
1270
case (short)
SystemResourceKeyID
.ControlColor:
1273
case (short)
SystemResourceKeyID
.ControlDarkColor:
1276
case (short)
SystemResourceKeyID
.ControlDarkDarkColor:
1279
case (short)
SystemResourceKeyID
.ControlLightColor:
1282
case (short)
SystemResourceKeyID
.ControlLightLightColor:
1285
case (short)
SystemResourceKeyID
.ControlTextColor:
1288
case (short)
SystemResourceKeyID
.DesktopColor:
1291
case (short)
SystemResourceKeyID
.GradientActiveCaptionColor:
1294
case (short)
SystemResourceKeyID
.GradientInactiveCaptionColor:
1297
case (short)
SystemResourceKeyID
.GrayTextColor:
1300
case (short)
SystemResourceKeyID
.HighlightColor:
1303
case (short)
SystemResourceKeyID
.HighlightTextColor:
1306
case (short)
SystemResourceKeyID
.HotTrackColor:
1309
case (short)
SystemResourceKeyID
.InactiveBorderColor:
1312
case (short)
SystemResourceKeyID
.InactiveCaptionColor:
1315
case (short)
SystemResourceKeyID
.InactiveCaptionTextColor:
1318
case (short)
SystemResourceKeyID
.InfoColor:
1321
case (short)
SystemResourceKeyID
.InfoTextColor:
1324
case (short)
SystemResourceKeyID
.MenuColor:
1327
case (short)
SystemResourceKeyID
.MenuBarColor:
1330
case (short)
SystemResourceKeyID
.MenuHighlightColor:
1333
case (short)
SystemResourceKeyID
.MenuTextColor:
1336
case (short)
SystemResourceKeyID
.ScrollBarColor:
1339
case (short)
SystemResourceKeyID
.WindowColor:
1342
case (short)
SystemResourceKeyID
.WindowFrameColor:
1345
case (short)
SystemResourceKeyID
.WindowTextColor:
1348
case (short)
SystemResourceKeyID
.AccentColor:
1351
case (short)
SystemResourceKeyID
.AccentColorLight1:
1354
case (short)
SystemResourceKeyID
.AccentColorLight2:
1357
case (short)
SystemResourceKeyID
.AccentColorLight3:
1360
case (short)
SystemResourceKeyID
.AccentColorDark1:
1363
case (short)
SystemResourceKeyID
.AccentColorDark2:
1366
case (short)
SystemResourceKeyID
.AccentColorDark3:
1369
case (short)
SystemResourceKeyID
.ThinHorizontalBorderHeight:
1372
case (short)
SystemResourceKeyID
.ThinVerticalBorderWidth:
1375
case (short)
SystemResourceKeyID
.CursorWidth:
1378
case (short)
SystemResourceKeyID
.CursorHeight:
1381
case (short)
SystemResourceKeyID
.ThickHorizontalBorderHeight:
1384
case (short)
SystemResourceKeyID
.ThickVerticalBorderWidth:
1387
case (short)
SystemResourceKeyID
.FixedFrameHorizontalBorderHeight:
1390
case (short)
SystemResourceKeyID
.FixedFrameVerticalBorderWidth:
1393
case (short)
SystemResourceKeyID
.FocusHorizontalBorderHeight:
1396
case (short)
SystemResourceKeyID
.FocusVerticalBorderWidth:
1399
case (short)
SystemResourceKeyID
.FullPrimaryScreenWidth:
1402
case (short)
SystemResourceKeyID
.FullPrimaryScreenHeight:
1405
case (short)
SystemResourceKeyID
.HorizontalScrollBarButtonWidth:
1408
case (short)
SystemResourceKeyID
.HorizontalScrollBarHeight:
1411
case (short)
SystemResourceKeyID
.HorizontalScrollBarThumbWidth:
1414
case (short)
SystemResourceKeyID
.IconWidth:
1417
case (short)
SystemResourceKeyID
.IconHeight:
1420
case (short)
SystemResourceKeyID
.IconGridWidth:
1423
case (short)
SystemResourceKeyID
.IconGridHeight:
1426
case (short)
SystemResourceKeyID
.MaximizedPrimaryScreenWidth:
1429
case (short)
SystemResourceKeyID
.MaximizedPrimaryScreenHeight:
1432
case (short)
SystemResourceKeyID
.MaximumWindowTrackWidth:
1435
case (short)
SystemResourceKeyID
.MaximumWindowTrackHeight:
1438
case (short)
SystemResourceKeyID
.MenuCheckmarkWidth:
1441
case (short)
SystemResourceKeyID
.MenuCheckmarkHeight:
1444
case (short)
SystemResourceKeyID
.MenuButtonWidth:
1447
case (short)
SystemResourceKeyID
.MenuButtonHeight:
1450
case (short)
SystemResourceKeyID
.MinimumWindowWidth:
1453
case (short)
SystemResourceKeyID
.MinimumWindowHeight:
1456
case (short)
SystemResourceKeyID
.MinimizedWindowWidth:
1459
case (short)
SystemResourceKeyID
.MinimizedWindowHeight:
1462
case (short)
SystemResourceKeyID
.MinimizedGridWidth:
1465
case (short)
SystemResourceKeyID
.MinimizedGridHeight:
1468
case (short)
SystemResourceKeyID
.MinimumWindowTrackWidth:
1471
case (short)
SystemResourceKeyID
.MinimumWindowTrackHeight:
1474
case (short)
SystemResourceKeyID
.PrimaryScreenWidth:
1477
case (short)
SystemResourceKeyID
.PrimaryScreenHeight:
1480
case (short)
SystemResourceKeyID
.WindowCaptionButtonWidth:
1483
case (short)
SystemResourceKeyID
.WindowCaptionButtonHeight:
1486
case (short)
SystemResourceKeyID
.ResizeFrameHorizontalBorderHeight:
1489
case (short)
SystemResourceKeyID
.ResizeFrameVerticalBorderWidth:
1492
case (short)
SystemResourceKeyID
.SmallIconWidth:
1495
case (short)
SystemResourceKeyID
.SmallIconHeight:
1498
case (short)
SystemResourceKeyID
.SmallWindowCaptionButtonWidth:
1501
case (short)
SystemResourceKeyID
.SmallWindowCaptionButtonHeight:
1504
case (short)
SystemResourceKeyID
.VirtualScreenWidth:
1507
case (short)
SystemResourceKeyID
.VirtualScreenHeight:
1510
case (short)
SystemResourceKeyID
.VerticalScrollBarWidth:
1513
case (short)
SystemResourceKeyID
.VerticalScrollBarButtonHeight:
1516
case (short)
SystemResourceKeyID
.WindowCaptionHeight:
1519
case (short)
SystemResourceKeyID
.KanjiWindowHeight:
1522
case (short)
SystemResourceKeyID
.MenuBarHeight:
1525
case (short)
SystemResourceKeyID
.SmallCaptionHeight:
1528
case (short)
SystemResourceKeyID
.VerticalScrollBarThumbHeight:
1531
case (short)
SystemResourceKeyID
.IsImmEnabled:
1534
case (short)
SystemResourceKeyID
.IsMediaCenter:
1537
case (short)
SystemResourceKeyID
.IsMenuDropRightAligned:
1540
case (short)
SystemResourceKeyID
.IsMiddleEastEnabled:
1543
case (short)
SystemResourceKeyID
.IsMousePresent:
1546
case (short)
SystemResourceKeyID
.IsMouseWheelPresent:
1549
case (short)
SystemResourceKeyID
.IsPenWindows:
1552
case (short)
SystemResourceKeyID
.IsRemotelyControlled:
1555
case (short)
SystemResourceKeyID
.IsRemoteSession:
1558
case (short)
SystemResourceKeyID
.ShowSounds:
1561
case (short)
SystemResourceKeyID
.IsSlowMachine:
1564
case (short)
SystemResourceKeyID
.SwapButtons:
1567
case (short)
SystemResourceKeyID
.IsTabletPC:
1570
case (short)
SystemResourceKeyID
.VirtualScreenLeft:
1573
case (short)
SystemResourceKeyID
.VirtualScreenTop:
1576
case (short)
SystemResourceKeyID
.FocusBorderWidth:
1579
case (short)
SystemResourceKeyID
.FocusBorderHeight:
1582
case (short)
SystemResourceKeyID
.HighContrast:
1585
case (short)
SystemResourceKeyID
.DropShadow:
1588
case (short)
SystemResourceKeyID
.FlatMenu:
1591
case (short)
SystemResourceKeyID
.WorkArea:
1594
case (short)
SystemResourceKeyID
.IconHorizontalSpacing:
1597
case (short)
SystemResourceKeyID
.IconVerticalSpacing:
1600
case (short)
SystemResourceKeyID
.IconTitleWrap:
1603
case (short)
SystemResourceKeyID
.IconFontSize:
1606
case (short)
SystemResourceKeyID
.IconFontFamily:
1609
case (short)
SystemResourceKeyID
.IconFontStyle:
1612
case (short)
SystemResourceKeyID
.IconFontWeight:
1615
case (short)
SystemResourceKeyID
.IconFontTextDecorations:
1618
case (short)
SystemResourceKeyID
.KeyboardCues:
1621
case (short)
SystemResourceKeyID
.KeyboardDelay:
1624
case (short)
SystemResourceKeyID
.KeyboardPreference:
1627
case (short)
SystemResourceKeyID
.KeyboardSpeed:
1630
case (short)
SystemResourceKeyID
.SnapToDefaultButton:
1633
case (short)
SystemResourceKeyID
.WheelScrollLines:
1636
case (short)
SystemResourceKeyID
.MouseHoverTime:
1639
case (short)
SystemResourceKeyID
.MouseHoverHeight:
1642
case (short)
SystemResourceKeyID
.MouseHoverWidth:
1645
case (short)
SystemResourceKeyID
.MenuDropAlignment:
1648
case (short)
SystemResourceKeyID
.MenuFade:
1651
case (short)
SystemResourceKeyID
.MenuShowDelay:
1654
case (short)
SystemResourceKeyID
.ComboBoxAnimation:
1657
case (short)
SystemResourceKeyID
.ClientAreaAnimation:
1660
case (short)
SystemResourceKeyID
.CursorShadow:
1663
case (short)
SystemResourceKeyID
.GradientCaptions:
1666
case (short)
SystemResourceKeyID
.HotTracking:
1669
case (short)
SystemResourceKeyID
.ListBoxSmoothScrolling:
1672
case (short)
SystemResourceKeyID
.MenuAnimation:
1675
case (short)
SystemResourceKeyID
.SelectionFade:
1678
case (short)
SystemResourceKeyID
.StylusHotTracking:
1681
case (short)
SystemResourceKeyID
.ToolTipAnimation:
1684
case (short)
SystemResourceKeyID
.ToolTipFade:
1687
case (short)
SystemResourceKeyID
.UIEffects:
1690
case (short)
SystemResourceKeyID
.MinimizeAnimation:
1693
case (short)
SystemResourceKeyID
.Border:
1696
case (short)
SystemResourceKeyID
.CaretWidth:
1699
case (short)
SystemResourceKeyID
.ForegroundFlashCount:
1702
case (short)
SystemResourceKeyID
.DragFullWindows:
1705
case (short)
SystemResourceKeyID
.BorderWidth:
1708
case (short)
SystemResourceKeyID
.ScrollWidth:
1711
case (short)
SystemResourceKeyID
.ScrollHeight:
1714
case (short)
SystemResourceKeyID
.CaptionWidth:
1717
case (short)
SystemResourceKeyID
.CaptionHeight:
1720
case (short)
SystemResourceKeyID
.SmallCaptionWidth:
1723
case (short)
SystemResourceKeyID
.MenuWidth:
1726
case (short)
SystemResourceKeyID
.MenuHeight:
1729
case (short)
SystemResourceKeyID
.CaptionFontSize:
1732
case (short)
SystemResourceKeyID
.CaptionFontFamily:
1735
case (short)
SystemResourceKeyID
.CaptionFontStyle:
1738
case (short)
SystemResourceKeyID
.CaptionFontWeight:
1741
case (short)
SystemResourceKeyID
.CaptionFontTextDecorations:
1744
case (short)
SystemResourceKeyID
.SmallCaptionFontSize:
1747
case (short)
SystemResourceKeyID
.SmallCaptionFontFamily:
1750
case (short)
SystemResourceKeyID
.SmallCaptionFontStyle:
1753
case (short)
SystemResourceKeyID
.SmallCaptionFontWeight:
1756
case (short)
SystemResourceKeyID
.SmallCaptionFontTextDecorations:
1759
case (short)
SystemResourceKeyID
.MenuFontSize:
1762
case (short)
SystemResourceKeyID
.MenuFontFamily:
1765
case (short)
SystemResourceKeyID
.MenuFontStyle:
1768
case (short)
SystemResourceKeyID
.MenuFontWeight:
1771
case (short)
SystemResourceKeyID
.MenuFontTextDecorations:
1774
case (short)
SystemResourceKeyID
.StatusFontSize:
1777
case (short)
SystemResourceKeyID
.StatusFontFamily:
1780
case (short)
SystemResourceKeyID
.StatusFontStyle:
1783
case (short)
SystemResourceKeyID
.StatusFontWeight:
1786
case (short)
SystemResourceKeyID
.StatusFontTextDecorations:
1789
case (short)
SystemResourceKeyID
.MessageFontSize:
1792
case (short)
SystemResourceKeyID
.MessageFontFamily:
1795
case (short)
SystemResourceKeyID
.MessageFontStyle:
1798
case (short)
SystemResourceKeyID
.MessageFontWeight:
1801
case (short)
SystemResourceKeyID
.MessageFontTextDecorations:
1804
case (short)
SystemResourceKeyID
.ComboBoxPopupAnimation:
1807
case (short)
SystemResourceKeyID
.MenuPopupAnimation:
1810
case (short)
SystemResourceKeyID
.ToolTipPopupAnimation:
1813
case (short)
SystemResourceKeyID
.FocusVisualStyle:
1816
case (short)
SystemResourceKeyID
.NavigationChromeDownLevelStyle:
1819
case (short)
SystemResourceKeyID
.NavigationChromeStyle:
1822
case (short)
SystemResourceKeyID
.MenuItemSeparatorStyle:
1825
case (short)
SystemResourceKeyID
.GridViewScrollViewerStyle:
1828
case (short)
SystemResourceKeyID
.GridViewStyle:
1831
case (short)
SystemResourceKeyID
.GridViewItemContainerStyle:
1834
case (short)
SystemResourceKeyID
.StatusBarSeparatorStyle:
1837
case (short)
SystemResourceKeyID
.ToolBarButtonStyle:
1840
case (short)
SystemResourceKeyID
.ToolBarToggleButtonStyle:
1843
case (short)
SystemResourceKeyID
.ToolBarSeparatorStyle:
1846
case (short)
SystemResourceKeyID
.ToolBarCheckBoxStyle:
1849
case (short)
SystemResourceKeyID
.ToolBarRadioButtonStyle:
1852
case (short)
SystemResourceKeyID
.ToolBarComboBoxStyle:
1855
case (short)
SystemResourceKeyID
.ToolBarTextBoxStyle:
1858
case (short)
SystemResourceKeyID
.ToolBarMenuStyle:
1861
case (short)
SystemResourceKeyID
.PowerLineStatus:
1938
SystemResourceKeyID
keyId = (
SystemResourceKeyID
)id;
1955
internal SystemResourceKey(
SystemResourceKeyID
id)
1957
Debug.Assert(((
SystemResourceKeyID
.InternalSystemColorsStart < id) && (id <
SystemResourceKeyID
.InternalSystemColorsEnd)) ||
1958
((
SystemResourceKeyID
.InternalSystemFontsStart < id) && (id <
SystemResourceKeyID
.InternalSystemFontsEnd)) ||
1959
((
SystemResourceKeyID
.InternalSystemParametersStart < id) && (id <
SystemResourceKeyID
.InternalSystemParametersEnd)) ||
1960
((
SystemResourceKeyID
.InternalSystemColorsExtendedStart < id) && (id <
SystemResourceKeyID
.InternalSystemColorsExtendedEnd)),
1965
internal
SystemResourceKeyID
InternalKey
2053
_menuItemSeparatorStyleKey = new SystemThemeKey(
SystemResourceKeyID
.MenuItemSeparatorStyle);
2091
_gridViewItemContainerStyleKey = new SystemThemeKey(
SystemResourceKeyID
.GridViewItemContainerStyle);
2104
_scrollViewerStyleKey = new SystemThemeKey(
SystemResourceKeyID
.GridViewScrollViewerStyle);
2117
_gridViewStyleKey = new SystemThemeKey(
SystemResourceKeyID
.GridViewStyle);
2130
_statusBarSeparatorStyleKey = new SystemThemeKey(
SystemResourceKeyID
.StatusBarSeparatorStyle);
2142
_cacheButtonStyle = new SystemThemeKey(
SystemResourceKeyID
.ToolBarButtonStyle);
2158
_cacheToggleButtonStyle = new SystemThemeKey(
SystemResourceKeyID
.ToolBarToggleButtonStyle);
2173
_cacheSeparatorStyle = new SystemThemeKey(
SystemResourceKeyID
.ToolBarSeparatorStyle);
2189
_cacheCheckBoxStyle = new SystemThemeKey(
SystemResourceKeyID
.ToolBarCheckBoxStyle);
2204
_cacheRadioButtonStyle = new SystemThemeKey(
SystemResourceKeyID
.ToolBarRadioButtonStyle);
2220
_cacheComboBoxStyle = new SystemThemeKey(
SystemResourceKeyID
.ToolBarComboBoxStyle);
2236
_cacheTextBoxStyle = new SystemThemeKey(
SystemResourceKeyID
.ToolBarTextBoxStyle);
2252
_cacheMenuStyle = new SystemThemeKey(
SystemResourceKeyID
.ToolBarMenuStyle);
2280
private
SystemResourceKeyID
_id;
System\Windows\SystemThemeKey.cs (5)
29
internal SystemThemeKey(
SystemResourceKeyID
id)
32
Debug.Assert(id >
SystemResourceKeyID
.InternalSystemThemeStylesStart &&
33
id <
SystemResourceKeyID
.InternalSystemThemeStylesEnd);
88
internal
SystemResourceKeyID
InternalKey
97
private
SystemResourceKeyID
_id;