784 references to SystemResourceKeyID
PresentationFramework (784)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (4)
2631
if (valueId > (short)
SystemResourceKeyID
.InternalSystemColorsStart && valueId < (short)
SystemResourceKeyID
.InternalSystemColorsExtendedEnd)
2646
System.Windows.
SystemResourceKeyID
keyId = (System.Windows.
SystemResourceKeyID
)valueId;
System\Windows\Markup\BamlReader.cs (2)
2439
SystemResourceKeyID
keyId = (
SystemResourceKeyID
)memberId;
System\Windows\SystemColors.cs (77)
429
private static SystemResourceKey CreateInstance(
SystemResourceKeyID
KeyId)
445
_cacheActiveBorderColor = CreateInstance(
SystemResourceKeyID
.ActiveBorderColor);
461
_cacheActiveCaptionColor = CreateInstance(
SystemResourceKeyID
.ActiveCaptionColor);
477
_cacheActiveCaptionTextColor = CreateInstance(
SystemResourceKeyID
.ActiveCaptionTextColor);
493
_cacheAppWorkspaceColor = CreateInstance(
SystemResourceKeyID
.AppWorkspaceColor);
509
_cacheControlColor = CreateInstance(
SystemResourceKeyID
.ControlColor);
525
_cacheControlDarkColor = CreateInstance(
SystemResourceKeyID
.ControlDarkColor);
541
_cacheControlDarkDarkColor = CreateInstance(
SystemResourceKeyID
.ControlDarkDarkColor);
557
_cacheControlLightColor = CreateInstance(
SystemResourceKeyID
.ControlLightColor);
573
_cacheControlLightLightColor = CreateInstance(
SystemResourceKeyID
.ControlLightLightColor);
589
_cacheControlTextColor = CreateInstance(
SystemResourceKeyID
.ControlTextColor);
605
_cacheDesktopColor = CreateInstance(
SystemResourceKeyID
.DesktopColor);
621
_cacheGradientActiveCaptionColor = CreateInstance(
SystemResourceKeyID
.GradientActiveCaptionColor);
637
_cacheGradientInactiveCaptionColor = CreateInstance(
SystemResourceKeyID
.GradientInactiveCaptionColor);
653
_cacheGrayTextColor = CreateInstance(
SystemResourceKeyID
.GrayTextColor);
669
_cacheHighlightColor = CreateInstance(
SystemResourceKeyID
.HighlightColor);
685
_cacheHighlightTextColor = CreateInstance(
SystemResourceKeyID
.HighlightTextColor);
701
_cacheHotTrackColor = CreateInstance(
SystemResourceKeyID
.HotTrackColor);
717
_cacheInactiveBorderColor = CreateInstance(
SystemResourceKeyID
.InactiveBorderColor);
733
_cacheInactiveCaptionColor = CreateInstance(
SystemResourceKeyID
.InactiveCaptionColor);
749
_cacheInactiveCaptionTextColor = CreateInstance(
SystemResourceKeyID
.InactiveCaptionTextColor);
765
_cacheInfoColor = CreateInstance(
SystemResourceKeyID
.InfoColor);
781
_cacheInfoTextColor = CreateInstance(
SystemResourceKeyID
.InfoTextColor);
797
_cacheMenuColor = CreateInstance(
SystemResourceKeyID
.MenuColor);
813
_cacheMenuBarColor = CreateInstance(
SystemResourceKeyID
.MenuBarColor);
829
_cacheMenuHighlightColor = CreateInstance(
SystemResourceKeyID
.MenuHighlightColor);
845
_cacheMenuTextColor = CreateInstance(
SystemResourceKeyID
.MenuTextColor);
861
_cacheScrollBarColor = CreateInstance(
SystemResourceKeyID
.ScrollBarColor);
877
_cacheWindowColor = CreateInstance(
SystemResourceKeyID
.WindowColor);
893
_cacheWindowFrameColor = CreateInstance(
SystemResourceKeyID
.WindowFrameColor);
909
_cacheWindowTextColor = CreateInstance(
SystemResourceKeyID
.WindowTextColor);
925
_cacheAccentColor = CreateInstance(
SystemResourceKeyID
.AccentColor);
941
_cacheAccentColorLight1 = CreateInstance(
SystemResourceKeyID
.AccentColorLight1);
957
_cacheAccentColorLight2 = CreateInstance(
SystemResourceKeyID
.AccentColorLight2);
973
_cacheAccentColorLight3 = CreateInstance(
SystemResourceKeyID
.AccentColorLight3);
989
_cacheAccentColorDark1 = CreateInstance(
SystemResourceKeyID
.AccentColorDark1);
1005
_cacheAccentColorDark2 = CreateInstance(
SystemResourceKeyID
.AccentColorDark2);
1021
_cacheAccentColorDark3 = CreateInstance(
SystemResourceKeyID
.AccentColorDark3);
1565
_cacheActiveBorderBrush = CreateInstance(
SystemResourceKeyID
.ActiveBorderBrush);
1581
_cacheActiveCaptionBrush = CreateInstance(
SystemResourceKeyID
.ActiveCaptionBrush);
1597
_cacheActiveCaptionTextBrush = CreateInstance(
SystemResourceKeyID
.ActiveCaptionTextBrush);
1613
_cacheAppWorkspaceBrush = CreateInstance(
SystemResourceKeyID
.AppWorkspaceBrush);
1629
_cacheControlBrush = CreateInstance(
SystemResourceKeyID
.ControlBrush);
1645
_cacheControlDarkBrush = CreateInstance(
SystemResourceKeyID
.ControlDarkBrush);
1661
_cacheControlDarkDarkBrush = CreateInstance(
SystemResourceKeyID
.ControlDarkDarkBrush);
1677
_cacheControlLightBrush = CreateInstance(
SystemResourceKeyID
.ControlLightBrush);
1693
_cacheControlLightLightBrush = CreateInstance(
SystemResourceKeyID
.ControlLightLightBrush);
1709
_cacheControlTextBrush = CreateInstance(
SystemResourceKeyID
.ControlTextBrush);
1725
_cacheDesktopBrush = CreateInstance(
SystemResourceKeyID
.DesktopBrush);
1741
_cacheGradientActiveCaptionBrush = CreateInstance(
SystemResourceKeyID
.GradientActiveCaptionBrush);
1757
_cacheGradientInactiveCaptionBrush = CreateInstance(
SystemResourceKeyID
.GradientInactiveCaptionBrush);
1773
_cacheGrayTextBrush = CreateInstance(
SystemResourceKeyID
.GrayTextBrush);
1789
_cacheHighlightBrush = CreateInstance(
SystemResourceKeyID
.HighlightBrush);
1805
_cacheHighlightTextBrush = CreateInstance(
SystemResourceKeyID
.HighlightTextBrush);
1821
_cacheHotTrackBrush = CreateInstance(
SystemResourceKeyID
.HotTrackBrush);
1837
_cacheInactiveBorderBrush = CreateInstance(
SystemResourceKeyID
.InactiveBorderBrush);
1853
_cacheInactiveCaptionBrush = CreateInstance(
SystemResourceKeyID
.InactiveCaptionBrush);
1869
_cacheInactiveCaptionTextBrush = CreateInstance(
SystemResourceKeyID
.InactiveCaptionTextBrush);
1885
_cacheInfoBrush = CreateInstance(
SystemResourceKeyID
.InfoBrush);
1901
_cacheInfoTextBrush = CreateInstance(
SystemResourceKeyID
.InfoTextBrush);
1917
_cacheMenuBrush = CreateInstance(
SystemResourceKeyID
.MenuBrush);
1933
_cacheMenuBarBrush = CreateInstance(
SystemResourceKeyID
.MenuBarBrush);
1949
_cacheMenuHighlightBrush = CreateInstance(
SystemResourceKeyID
.MenuHighlightBrush);
1965
_cacheMenuTextBrush = CreateInstance(
SystemResourceKeyID
.MenuTextBrush);
1981
_cacheScrollBarBrush = CreateInstance(
SystemResourceKeyID
.ScrollBarBrush);
1997
_cacheWindowBrush = CreateInstance(
SystemResourceKeyID
.WindowBrush);
2013
_cacheWindowFrameBrush = CreateInstance(
SystemResourceKeyID
.WindowFrameBrush);
2029
_cacheWindowTextBrush = CreateInstance(
SystemResourceKeyID
.WindowTextBrush);
2047
_cacheInactiveSelectionHighlightBrush = CreateInstance(
SystemResourceKeyID
.InactiveSelectionHighlightBrush);
2070
_cacheInactiveSelectionHighlightTextBrush = CreateInstance(
SystemResourceKeyID
.InactiveSelectionHighlightTextBrush);
2091
_cacheAccentColorBrush = CreateInstance(
SystemResourceKeyID
.AccentColorBrush);
2107
_cacheAccentColorLight1Brush = CreateInstance(
SystemResourceKeyID
.AccentColorLight1Brush);
2123
_cacheAccentColorLight2Brush = CreateInstance(
SystemResourceKeyID
.AccentColorLight2Brush);
2139
_cacheAccentColorLight3Brush = CreateInstance(
SystemResourceKeyID
.AccentColorLight3Brush);
2155
_cacheAccentColorDark1Brush = CreateInstance(
SystemResourceKeyID
.AccentColorDark1Brush);
2171
_cacheAccentColorDark2Brush = CreateInstance(
SystemResourceKeyID
.AccentColorDark2Brush);
2187
_cacheAccentColorDark3Brush = CreateInstance(
SystemResourceKeyID
.AccentColorDark3Brush);
System\Windows\SystemFonts.cs (31)
518
private static SystemResourceKey CreateInstance(
SystemResourceKeyID
KeyId)
534
_cacheIconFontSize = CreateInstance(
SystemResourceKeyID
.IconFontSize);
550
_cacheIconFontFamily = CreateInstance(
SystemResourceKeyID
.IconFontFamily);
566
_cacheIconFontStyle = CreateInstance(
SystemResourceKeyID
.IconFontStyle);
582
_cacheIconFontWeight = CreateInstance(
SystemResourceKeyID
.IconFontWeight);
598
_cacheIconFontTextDecorations = CreateInstance(
SystemResourceKeyID
.IconFontTextDecorations);
617
_cacheCaptionFontSize = CreateInstance(
SystemResourceKeyID
.CaptionFontSize);
633
_cacheCaptionFontFamily = CreateInstance(
SystemResourceKeyID
.CaptionFontFamily);
649
_cacheCaptionFontStyle = CreateInstance(
SystemResourceKeyID
.CaptionFontStyle);
665
_cacheCaptionFontWeight = CreateInstance(
SystemResourceKeyID
.CaptionFontWeight);
681
_cacheCaptionFontTextDecorations = CreateInstance(
SystemResourceKeyID
.CaptionFontTextDecorations);
697
_cacheSmallCaptionFontSize = CreateInstance(
SystemResourceKeyID
.SmallCaptionFontSize);
713
_cacheSmallCaptionFontFamily = CreateInstance(
SystemResourceKeyID
.SmallCaptionFontFamily);
729
_cacheSmallCaptionFontStyle = CreateInstance(
SystemResourceKeyID
.SmallCaptionFontStyle);
745
_cacheSmallCaptionFontWeight = CreateInstance(
SystemResourceKeyID
.SmallCaptionFontWeight);
761
_cacheSmallCaptionFontTextDecorations = CreateInstance(
SystemResourceKeyID
.SmallCaptionFontTextDecorations);
777
_cacheMenuFontSize = CreateInstance(
SystemResourceKeyID
.MenuFontSize);
793
_cacheMenuFontFamily = CreateInstance(
SystemResourceKeyID
.MenuFontFamily);
809
_cacheMenuFontStyle = CreateInstance(
SystemResourceKeyID
.MenuFontStyle);
825
_cacheMenuFontWeight = CreateInstance(
SystemResourceKeyID
.MenuFontWeight);
841
_cacheMenuFontTextDecorations = CreateInstance(
SystemResourceKeyID
.MenuFontTextDecorations);
857
_cacheStatusFontSize = CreateInstance(
SystemResourceKeyID
.StatusFontSize);
873
_cacheStatusFontFamily = CreateInstance(
SystemResourceKeyID
.StatusFontFamily);
889
_cacheStatusFontStyle = CreateInstance(
SystemResourceKeyID
.StatusFontStyle);
905
_cacheStatusFontWeight = CreateInstance(
SystemResourceKeyID
.StatusFontWeight);
921
_cacheStatusFontTextDecorations = CreateInstance(
SystemResourceKeyID
.StatusFontTextDecorations);
937
_cacheMessageFontSize = CreateInstance(
SystemResourceKeyID
.MessageFontSize);
953
_cacheMessageFontFamily = CreateInstance(
SystemResourceKeyID
.MessageFontFamily);
969
_cacheMessageFontStyle = CreateInstance(
SystemResourceKeyID
.MessageFontStyle);
985
_cacheMessageFontWeight = CreateInstance(
SystemResourceKeyID
.MessageFontWeight);
1001
_cacheMessageFontTextDecorations = CreateInstance(
SystemResourceKeyID
.MessageFontTextDecorations);
System\Windows\SystemKeyConverter.cs (45)
119
SystemResourceKeyID
keyId;
162
internal static Type GetSystemClassType(
SystemResourceKeyID
id)
164
if (((
SystemResourceKeyID
.InternalSystemColorsStart < id) &&
165
(id <
SystemResourceKeyID
.InternalSystemColorsEnd))||
166
((
SystemResourceKeyID
.InternalSystemColorsExtendedStart < id) &&
167
(id <
SystemResourceKeyID
.InternalSystemColorsExtendedEnd)))
171
else if ((
SystemResourceKeyID
.InternalSystemFontsStart < id) &&
172
(id <
SystemResourceKeyID
.InternalSystemFontsEnd))
176
else if ((
SystemResourceKeyID
.InternalSystemParametersStart < id) &&
177
(id <
SystemResourceKeyID
.InternalSystemParametersEnd))
181
else if (
SystemResourceKeyID
.MenuItemSeparatorStyle == id)
185
else if ((
SystemResourceKeyID
.ToolBarButtonStyle <= id) &&
186
(id <=
SystemResourceKeyID
.ToolBarMenuStyle))
190
else if (
SystemResourceKeyID
.StatusBarSeparatorStyle == id)
194
else if ((
SystemResourceKeyID
.GridViewScrollViewerStyle <= id) &&
195
(id <=
SystemResourceKeyID
.GridViewItemContainerStyle))
203
internal static string GetSystemClassName(
SystemResourceKeyID
id)
205
if (((
SystemResourceKeyID
.InternalSystemColorsStart < id) &&
206
(id <
SystemResourceKeyID
.InternalSystemColorsEnd))||
207
((
SystemResourceKeyID
.InternalSystemColorsExtendedStart < id) &&
208
(id <
SystemResourceKeyID
.InternalSystemColorsExtendedEnd)))
212
else if ((
SystemResourceKeyID
.InternalSystemFontsStart < id) &&
213
(id <
SystemResourceKeyID
.InternalSystemFontsEnd))
217
else if ((
SystemResourceKeyID
.InternalSystemParametersStart < id) &&
218
(id <
SystemResourceKeyID
.InternalSystemParametersEnd))
222
else if (
SystemResourceKeyID
.MenuItemSeparatorStyle == id)
226
else if ((
SystemResourceKeyID
.ToolBarButtonStyle <= id) &&
227
(id <=
SystemResourceKeyID
.ToolBarMenuStyle))
231
else if (
SystemResourceKeyID
.StatusBarSeparatorStyle == id)
235
else if ((
SystemResourceKeyID
.GridViewScrollViewerStyle <= id) &&
236
(id <=
SystemResourceKeyID
.GridViewItemContainerStyle))
244
internal static string GetSystemKeyName(
SystemResourceKeyID
id)
246
if (((
SystemResourceKeyID
.InternalSystemColorsStart < id) &&
247
(id <
SystemResourceKeyID
.InternalSystemParametersEnd))||
248
((
SystemResourceKeyID
.InternalSystemColorsExtendedStart < id) &&
249
(id <
SystemResourceKeyID
.InternalSystemColorsExtendedEnd))||
250
((
SystemResourceKeyID
.GridViewScrollViewerStyle <= id) &&
251
(id <=
SystemResourceKeyID
.GridViewItemContainerStyle)))
255
else if (
SystemResourceKeyID
.MenuItemSeparatorStyle == id ||
256
SystemResourceKeyID
.StatusBarSeparatorStyle == id)
260
else if ((
SystemResourceKeyID
.ToolBarButtonStyle <= id) &&
261
(id <=
SystemResourceKeyID
.ToolBarMenuStyle))
270
internal static string GetSystemPropertyName(
SystemResourceKeyID
id)
272
if ((
SystemResourceKeyID
.InternalSystemColorsStart < id) &&
273
(id <
SystemResourceKeyID
.InternalSystemColorsExtendedEnd))
System\Windows\SystemParameters.cs (123)
230
private static SystemResourceKey CreateInstance(
SystemResourceKeyID
KeyId)
246
_cacheFocusBorderWidth = CreateInstance(
SystemResourceKeyID
.FocusBorderWidth);
262
_cacheFocusBorderHeight = CreateInstance(
SystemResourceKeyID
.FocusBorderHeight);
278
_cacheHighContrast = CreateInstance(
SystemResourceKeyID
.HighContrast);
410
_cacheDropShadow = CreateInstance(
SystemResourceKeyID
.DropShadow);
426
_cacheFlatMenu = CreateInstance(
SystemResourceKeyID
.FlatMenu);
442
_cacheWorkArea = CreateInstance(
SystemResourceKeyID
.WorkArea);
528
_cacheIconHorizontalSpacing = CreateInstance(
SystemResourceKeyID
.IconHorizontalSpacing);
544
_cacheIconVerticalSpacing = CreateInstance(
SystemResourceKeyID
.IconVerticalSpacing);
560
_cacheIconTitleWrap = CreateInstance(
SystemResourceKeyID
.IconTitleWrap);
853
_cacheKeyboardCues = CreateInstance(
SystemResourceKeyID
.KeyboardCues);
869
_cacheKeyboardDelay = CreateInstance(
SystemResourceKeyID
.KeyboardDelay);
885
_cacheKeyboardPreference = CreateInstance(
SystemResourceKeyID
.KeyboardPreference);
901
_cacheKeyboardSpeed = CreateInstance(
SystemResourceKeyID
.KeyboardSpeed);
917
_cacheSnapToDefaultButton = CreateInstance(
SystemResourceKeyID
.SnapToDefaultButton);
933
_cacheWheelScrollLines = CreateInstance(
SystemResourceKeyID
.WheelScrollLines);
949
_cacheMouseHoverTime = CreateInstance(
SystemResourceKeyID
.MouseHoverTime);
965
_cacheMouseHoverHeight = CreateInstance(
SystemResourceKeyID
.MouseHoverHeight);
981
_cacheMouseHoverWidth = CreateInstance(
SystemResourceKeyID
.MouseHoverWidth);
1089
_cacheMenuDropAlignment = CreateInstance(
SystemResourceKeyID
.MenuDropAlignment);
1105
_cacheMenuFade = CreateInstance(
SystemResourceKeyID
.MenuFade);
1121
_cacheMenuShowDelay = CreateInstance(
SystemResourceKeyID
.MenuShowDelay);
1548
_cacheComboBoxAnimation = CreateInstance(
SystemResourceKeyID
.ComboBoxAnimation);
1564
_cacheClientAreaAnimation = CreateInstance(
SystemResourceKeyID
.ClientAreaAnimation);
1580
_cacheCursorShadow = CreateInstance(
SystemResourceKeyID
.CursorShadow);
1596
_cacheGradientCaptions = CreateInstance(
SystemResourceKeyID
.GradientCaptions);
1612
_cacheHotTracking = CreateInstance(
SystemResourceKeyID
.HotTracking);
1628
_cacheListBoxSmoothScrolling = CreateInstance(
SystemResourceKeyID
.ListBoxSmoothScrolling);
1644
_cacheMenuAnimation = CreateInstance(
SystemResourceKeyID
.MenuAnimation);
1660
_cacheSelectionFade = CreateInstance(
SystemResourceKeyID
.SelectionFade);
1676
_cacheStylusHotTracking = CreateInstance(
SystemResourceKeyID
.StylusHotTracking);
1692
_cacheToolTipAnimation = CreateInstance(
SystemResourceKeyID
.ToolTipAnimation);
1708
_cacheToolTipFade = CreateInstance(
SystemResourceKeyID
.ToolTipFade);
1724
_cacheUIEffects = CreateInstance(
SystemResourceKeyID
.UIEffects);
1740
_cacheComboBoxPopupAnimation = CreateInstance(
SystemResourceKeyID
.ComboBoxPopupAnimation);
1756
_cacheMenuPopupAnimation = CreateInstance(
SystemResourceKeyID
.MenuPopupAnimation);
1772
_cacheToolTipPopupAnimation = CreateInstance(
SystemResourceKeyID
.ToolTipPopupAnimation);
2092
_cacheMinimizeAnimation = CreateInstance(
SystemResourceKeyID
.MinimizeAnimation);
2108
_cacheBorder = CreateInstance(
SystemResourceKeyID
.Border);
2124
_cacheCaretWidth = CreateInstance(
SystemResourceKeyID
.CaretWidth);
2140
_cacheForegroundFlashCount = CreateInstance(
SystemResourceKeyID
.ForegroundFlashCount);
2156
_cacheDragFullWindows = CreateInstance(
SystemResourceKeyID
.DragFullWindows);
2172
_cacheBorderWidth = CreateInstance(
SystemResourceKeyID
.BorderWidth);
2188
_cacheScrollWidth = CreateInstance(
SystemResourceKeyID
.ScrollWidth);
2204
_cacheScrollHeight = CreateInstance(
SystemResourceKeyID
.ScrollHeight);
2220
_cacheCaptionWidth = CreateInstance(
SystemResourceKeyID
.CaptionWidth);
2236
_cacheCaptionHeight = CreateInstance(
SystemResourceKeyID
.CaptionHeight);
2252
_cacheSmallCaptionWidth = CreateInstance(
SystemResourceKeyID
.SmallCaptionWidth);
2268
_cacheMenuWidth = CreateInstance(
SystemResourceKeyID
.MenuWidth);
2284
_cacheMenuHeight = CreateInstance(
SystemResourceKeyID
.MenuHeight);
3805
_cacheThinHorizontalBorderHeight = CreateInstance(
SystemResourceKeyID
.ThinHorizontalBorderHeight);
3821
_cacheThinVerticalBorderWidth = CreateInstance(
SystemResourceKeyID
.ThinVerticalBorderWidth);
3837
_cacheCursorWidth = CreateInstance(
SystemResourceKeyID
.CursorWidth);
3853
_cacheCursorHeight = CreateInstance(
SystemResourceKeyID
.CursorHeight);
3869
_cacheThickHorizontalBorderHeight = CreateInstance(
SystemResourceKeyID
.ThickHorizontalBorderHeight);
3885
_cacheThickVerticalBorderWidth = CreateInstance(
SystemResourceKeyID
.ThickVerticalBorderWidth);
3901
_cacheFixedFrameHorizontalBorderHeight = CreateInstance(
SystemResourceKeyID
.FixedFrameHorizontalBorderHeight);
3917
_cacheFixedFrameVerticalBorderWidth = CreateInstance(
SystemResourceKeyID
.FixedFrameVerticalBorderWidth);
3933
_cacheFocusHorizontalBorderHeight = CreateInstance(
SystemResourceKeyID
.FocusHorizontalBorderHeight);
3949
_cacheFocusVerticalBorderWidth = CreateInstance(
SystemResourceKeyID
.FocusVerticalBorderWidth);
3965
_cacheFullPrimaryScreenWidth = CreateInstance(
SystemResourceKeyID
.FullPrimaryScreenWidth);
3981
_cacheFullPrimaryScreenHeight = CreateInstance(
SystemResourceKeyID
.FullPrimaryScreenHeight);
3997
_cacheHorizontalScrollBarButtonWidth = CreateInstance(
SystemResourceKeyID
.HorizontalScrollBarButtonWidth);
4013
_cacheHorizontalScrollBarHeight = CreateInstance(
SystemResourceKeyID
.HorizontalScrollBarHeight);
4029
_cacheHorizontalScrollBarThumbWidth = CreateInstance(
SystemResourceKeyID
.HorizontalScrollBarThumbWidth);
4045
_cacheIconWidth = CreateInstance(
SystemResourceKeyID
.IconWidth);
4061
_cacheIconHeight = CreateInstance(
SystemResourceKeyID
.IconHeight);
4077
_cacheIconGridWidth = CreateInstance(
SystemResourceKeyID
.IconGridWidth);
4093
_cacheIconGridHeight = CreateInstance(
SystemResourceKeyID
.IconGridHeight);
4109
_cacheMaximizedPrimaryScreenWidth = CreateInstance(
SystemResourceKeyID
.MaximizedPrimaryScreenWidth);
4125
_cacheMaximizedPrimaryScreenHeight = CreateInstance(
SystemResourceKeyID
.MaximizedPrimaryScreenHeight);
4141
_cacheMaximumWindowTrackWidth = CreateInstance(
SystemResourceKeyID
.MaximumWindowTrackWidth);
4157
_cacheMaximumWindowTrackHeight = CreateInstance(
SystemResourceKeyID
.MaximumWindowTrackHeight);
4173
_cacheMenuCheckmarkWidth = CreateInstance(
SystemResourceKeyID
.MenuCheckmarkWidth);
4189
_cacheMenuCheckmarkHeight = CreateInstance(
SystemResourceKeyID
.MenuCheckmarkHeight);
4205
_cacheMenuButtonWidth = CreateInstance(
SystemResourceKeyID
.MenuButtonWidth);
4221
_cacheMenuButtonHeight = CreateInstance(
SystemResourceKeyID
.MenuButtonHeight);
4237
_cacheMinimumWindowWidth = CreateInstance(
SystemResourceKeyID
.MinimumWindowWidth);
4253
_cacheMinimumWindowHeight = CreateInstance(
SystemResourceKeyID
.MinimumWindowHeight);
4269
_cacheMinimizedWindowWidth = CreateInstance(
SystemResourceKeyID
.MinimizedWindowWidth);
4285
_cacheMinimizedWindowHeight = CreateInstance(
SystemResourceKeyID
.MinimizedWindowHeight);
4301
_cacheMinimizedGridWidth = CreateInstance(
SystemResourceKeyID
.MinimizedGridWidth);
4317
_cacheMinimizedGridHeight = CreateInstance(
SystemResourceKeyID
.MinimizedGridHeight);
4333
_cacheMinimumWindowTrackWidth = CreateInstance(
SystemResourceKeyID
.MinimumWindowTrackWidth);
4349
_cacheMinimumWindowTrackHeight = CreateInstance(
SystemResourceKeyID
.MinimumWindowTrackHeight);
4365
_cachePrimaryScreenWidth = CreateInstance(
SystemResourceKeyID
.PrimaryScreenWidth);
4381
_cachePrimaryScreenHeight = CreateInstance(
SystemResourceKeyID
.PrimaryScreenHeight);
4397
_cacheWindowCaptionButtonWidth = CreateInstance(
SystemResourceKeyID
.WindowCaptionButtonWidth);
4413
_cacheWindowCaptionButtonHeight = CreateInstance(
SystemResourceKeyID
.WindowCaptionButtonHeight);
4429
_cacheResizeFrameHorizontalBorderHeight = CreateInstance(
SystemResourceKeyID
.ResizeFrameHorizontalBorderHeight);
4445
_cacheResizeFrameVerticalBorderWidth = CreateInstance(
SystemResourceKeyID
.ResizeFrameVerticalBorderWidth);
4461
_cacheSmallIconWidth = CreateInstance(
SystemResourceKeyID
.SmallIconWidth);
4477
_cacheSmallIconHeight = CreateInstance(
SystemResourceKeyID
.SmallIconHeight);
4493
_cacheSmallWindowCaptionButtonWidth = CreateInstance(
SystemResourceKeyID
.SmallWindowCaptionButtonWidth);
4509
_cacheSmallWindowCaptionButtonHeight = CreateInstance(
SystemResourceKeyID
.SmallWindowCaptionButtonHeight);
4525
_cacheVirtualScreenWidth = CreateInstance(
SystemResourceKeyID
.VirtualScreenWidth);
4541
_cacheVirtualScreenHeight = CreateInstance(
SystemResourceKeyID
.VirtualScreenHeight);
4557
_cacheVerticalScrollBarWidth = CreateInstance(
SystemResourceKeyID
.VerticalScrollBarWidth);
4573
_cacheVerticalScrollBarButtonHeight = CreateInstance(
SystemResourceKeyID
.VerticalScrollBarButtonHeight);
4589
_cacheWindowCaptionHeight = CreateInstance(
SystemResourceKeyID
.WindowCaptionHeight);
4605
_cacheKanjiWindowHeight = CreateInstance(
SystemResourceKeyID
.KanjiWindowHeight);
4621
_cacheMenuBarHeight = CreateInstance(
SystemResourceKeyID
.MenuBarHeight);
4637
_cacheSmallCaptionHeight = CreateInstance(
SystemResourceKeyID
.SmallCaptionHeight);
4653
_cacheVerticalScrollBarThumbHeight = CreateInstance(
SystemResourceKeyID
.VerticalScrollBarThumbHeight);
4669
_cacheIsImmEnabled = CreateInstance(
SystemResourceKeyID
.IsImmEnabled);
4685
_cacheIsMediaCenter = CreateInstance(
SystemResourceKeyID
.IsMediaCenter);
4701
_cacheIsMenuDropRightAligned = CreateInstance(
SystemResourceKeyID
.IsMenuDropRightAligned);
4717
_cacheIsMiddleEastEnabled = CreateInstance(
SystemResourceKeyID
.IsMiddleEastEnabled);
4733
_cacheIsMousePresent = CreateInstance(
SystemResourceKeyID
.IsMousePresent);
4749
_cacheIsMouseWheelPresent = CreateInstance(
SystemResourceKeyID
.IsMouseWheelPresent);
4765
_cacheIsPenWindows = CreateInstance(
SystemResourceKeyID
.IsPenWindows);
4781
_cacheIsRemotelyControlled = CreateInstance(
SystemResourceKeyID
.IsRemotelyControlled);
4797
_cacheIsRemoteSession = CreateInstance(
SystemResourceKeyID
.IsRemoteSession);
4813
_cacheShowSounds = CreateInstance(
SystemResourceKeyID
.ShowSounds);
4829
_cacheIsSlowMachine = CreateInstance(
SystemResourceKeyID
.IsSlowMachine);
4845
_cacheSwapButtons = CreateInstance(
SystemResourceKeyID
.SwapButtons);
4861
_cacheIsTabletPC = CreateInstance(
SystemResourceKeyID
.IsTabletPC);
4877
_cacheVirtualScreenLeft = CreateInstance(
SystemResourceKeyID
.VirtualScreenLeft);
4893
_cacheVirtualScreenTop = CreateInstance(
SystemResourceKeyID
.VirtualScreenTop);
4913
_cacheFocusVisualStyle = new SystemThemeKey(
SystemResourceKeyID
.FocusVisualStyle);
4930
_cacheNavigationChromeStyle = new SystemThemeKey(
SystemResourceKeyID
.NavigationChromeStyle);
4947
_cacheNavigationChromeDownLevelStyle = new SystemThemeKey(
SystemResourceKeyID
.NavigationChromeDownLevelStyle);
5001
_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)
24
internal SystemThemeKey(
SystemResourceKeyID
id)
27
Debug.Assert(id >
SystemResourceKeyID
.InternalSystemThemeStylesStart &&
28
id <
SystemResourceKeyID
.InternalSystemThemeStylesEnd);
83
internal
SystemResourceKeyID
InternalKey
92
private
SystemResourceKeyID
_id;