749 references to SystemResourceKeyID
PresentationFramework (749)
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (4)
2660
if (valueId > (short)
SystemResourceKeyID
.InternalSystemColorsStart && valueId < (short)
SystemResourceKeyID
.InternalSystemColorsExtendedEnd)
2675
System.Windows.
SystemResourceKeyID
keyId = (System.Windows.
SystemResourceKeyID
)valueId;
src\Framework\System\Windows\Markup\BamlReader.cs (3)
2473
if (Enum.IsDefined(typeof(
SystemResourceKeyID
), (int)memberId))
2475
SystemResourceKeyID
keyId = (
SystemResourceKeyID
)memberId;
src\Framework\System\Windows\SystemColors.cs (63)
349
private static SystemResourceKey CreateInstance(
SystemResourceKeyID
KeyId)
365
_cacheActiveBorderColor = CreateInstance(
SystemResourceKeyID
.ActiveBorderColor);
381
_cacheActiveCaptionColor = CreateInstance(
SystemResourceKeyID
.ActiveCaptionColor);
397
_cacheActiveCaptionTextColor = CreateInstance(
SystemResourceKeyID
.ActiveCaptionTextColor);
413
_cacheAppWorkspaceColor = CreateInstance(
SystemResourceKeyID
.AppWorkspaceColor);
429
_cacheControlColor = CreateInstance(
SystemResourceKeyID
.ControlColor);
445
_cacheControlDarkColor = CreateInstance(
SystemResourceKeyID
.ControlDarkColor);
461
_cacheControlDarkDarkColor = CreateInstance(
SystemResourceKeyID
.ControlDarkDarkColor);
477
_cacheControlLightColor = CreateInstance(
SystemResourceKeyID
.ControlLightColor);
493
_cacheControlLightLightColor = CreateInstance(
SystemResourceKeyID
.ControlLightLightColor);
509
_cacheControlTextColor = CreateInstance(
SystemResourceKeyID
.ControlTextColor);
525
_cacheDesktopColor = CreateInstance(
SystemResourceKeyID
.DesktopColor);
541
_cacheGradientActiveCaptionColor = CreateInstance(
SystemResourceKeyID
.GradientActiveCaptionColor);
557
_cacheGradientInactiveCaptionColor = CreateInstance(
SystemResourceKeyID
.GradientInactiveCaptionColor);
573
_cacheGrayTextColor = CreateInstance(
SystemResourceKeyID
.GrayTextColor);
589
_cacheHighlightColor = CreateInstance(
SystemResourceKeyID
.HighlightColor);
605
_cacheHighlightTextColor = CreateInstance(
SystemResourceKeyID
.HighlightTextColor);
621
_cacheHotTrackColor = CreateInstance(
SystemResourceKeyID
.HotTrackColor);
637
_cacheInactiveBorderColor = CreateInstance(
SystemResourceKeyID
.InactiveBorderColor);
653
_cacheInactiveCaptionColor = CreateInstance(
SystemResourceKeyID
.InactiveCaptionColor);
669
_cacheInactiveCaptionTextColor = CreateInstance(
SystemResourceKeyID
.InactiveCaptionTextColor);
685
_cacheInfoColor = CreateInstance(
SystemResourceKeyID
.InfoColor);
701
_cacheInfoTextColor = CreateInstance(
SystemResourceKeyID
.InfoTextColor);
717
_cacheMenuColor = CreateInstance(
SystemResourceKeyID
.MenuColor);
733
_cacheMenuBarColor = CreateInstance(
SystemResourceKeyID
.MenuBarColor);
749
_cacheMenuHighlightColor = CreateInstance(
SystemResourceKeyID
.MenuHighlightColor);
765
_cacheMenuTextColor = CreateInstance(
SystemResourceKeyID
.MenuTextColor);
781
_cacheScrollBarColor = CreateInstance(
SystemResourceKeyID
.ScrollBarColor);
797
_cacheWindowColor = CreateInstance(
SystemResourceKeyID
.WindowColor);
813
_cacheWindowFrameColor = CreateInstance(
SystemResourceKeyID
.WindowFrameColor);
829
_cacheWindowTextColor = CreateInstance(
SystemResourceKeyID
.WindowTextColor);
1225
_cacheActiveBorderBrush = CreateInstance(
SystemResourceKeyID
.ActiveBorderBrush);
1241
_cacheActiveCaptionBrush = CreateInstance(
SystemResourceKeyID
.ActiveCaptionBrush);
1257
_cacheActiveCaptionTextBrush = CreateInstance(
SystemResourceKeyID
.ActiveCaptionTextBrush);
1273
_cacheAppWorkspaceBrush = CreateInstance(
SystemResourceKeyID
.AppWorkspaceBrush);
1289
_cacheControlBrush = CreateInstance(
SystemResourceKeyID
.ControlBrush);
1305
_cacheControlDarkBrush = CreateInstance(
SystemResourceKeyID
.ControlDarkBrush);
1321
_cacheControlDarkDarkBrush = CreateInstance(
SystemResourceKeyID
.ControlDarkDarkBrush);
1337
_cacheControlLightBrush = CreateInstance(
SystemResourceKeyID
.ControlLightBrush);
1353
_cacheControlLightLightBrush = CreateInstance(
SystemResourceKeyID
.ControlLightLightBrush);
1369
_cacheControlTextBrush = CreateInstance(
SystemResourceKeyID
.ControlTextBrush);
1385
_cacheDesktopBrush = CreateInstance(
SystemResourceKeyID
.DesktopBrush);
1401
_cacheGradientActiveCaptionBrush = CreateInstance(
SystemResourceKeyID
.GradientActiveCaptionBrush);
1417
_cacheGradientInactiveCaptionBrush = CreateInstance(
SystemResourceKeyID
.GradientInactiveCaptionBrush);
1433
_cacheGrayTextBrush = CreateInstance(
SystemResourceKeyID
.GrayTextBrush);
1449
_cacheHighlightBrush = CreateInstance(
SystemResourceKeyID
.HighlightBrush);
1465
_cacheHighlightTextBrush = CreateInstance(
SystemResourceKeyID
.HighlightTextBrush);
1481
_cacheHotTrackBrush = CreateInstance(
SystemResourceKeyID
.HotTrackBrush);
1497
_cacheInactiveBorderBrush = CreateInstance(
SystemResourceKeyID
.InactiveBorderBrush);
1513
_cacheInactiveCaptionBrush = CreateInstance(
SystemResourceKeyID
.InactiveCaptionBrush);
1529
_cacheInactiveCaptionTextBrush = CreateInstance(
SystemResourceKeyID
.InactiveCaptionTextBrush);
1545
_cacheInfoBrush = CreateInstance(
SystemResourceKeyID
.InfoBrush);
1561
_cacheInfoTextBrush = CreateInstance(
SystemResourceKeyID
.InfoTextBrush);
1577
_cacheMenuBrush = CreateInstance(
SystemResourceKeyID
.MenuBrush);
1593
_cacheMenuBarBrush = CreateInstance(
SystemResourceKeyID
.MenuBarBrush);
1609
_cacheMenuHighlightBrush = CreateInstance(
SystemResourceKeyID
.MenuHighlightBrush);
1625
_cacheMenuTextBrush = CreateInstance(
SystemResourceKeyID
.MenuTextBrush);
1641
_cacheScrollBarBrush = CreateInstance(
SystemResourceKeyID
.ScrollBarBrush);
1657
_cacheWindowBrush = CreateInstance(
SystemResourceKeyID
.WindowBrush);
1673
_cacheWindowFrameBrush = CreateInstance(
SystemResourceKeyID
.WindowFrameBrush);
1689
_cacheWindowTextBrush = CreateInstance(
SystemResourceKeyID
.WindowTextBrush);
1707
_cacheInactiveSelectionHighlightBrush = CreateInstance(
SystemResourceKeyID
.InactiveSelectionHighlightBrush);
1730
_cacheInactiveSelectionHighlightTextBrush = CreateInstance(
SystemResourceKeyID
.InactiveSelectionHighlightTextBrush);
src\Framework\System\Windows\SystemFonts.cs (31)
508
private static SystemResourceKey CreateInstance(
SystemResourceKeyID
KeyId)
524
_cacheIconFontSize = CreateInstance(
SystemResourceKeyID
.IconFontSize);
540
_cacheIconFontFamily = CreateInstance(
SystemResourceKeyID
.IconFontFamily);
556
_cacheIconFontStyle = CreateInstance(
SystemResourceKeyID
.IconFontStyle);
572
_cacheIconFontWeight = CreateInstance(
SystemResourceKeyID
.IconFontWeight);
588
_cacheIconFontTextDecorations = CreateInstance(
SystemResourceKeyID
.IconFontTextDecorations);
607
_cacheCaptionFontSize = CreateInstance(
SystemResourceKeyID
.CaptionFontSize);
623
_cacheCaptionFontFamily = CreateInstance(
SystemResourceKeyID
.CaptionFontFamily);
639
_cacheCaptionFontStyle = CreateInstance(
SystemResourceKeyID
.CaptionFontStyle);
655
_cacheCaptionFontWeight = CreateInstance(
SystemResourceKeyID
.CaptionFontWeight);
671
_cacheCaptionFontTextDecorations = CreateInstance(
SystemResourceKeyID
.CaptionFontTextDecorations);
687
_cacheSmallCaptionFontSize = CreateInstance(
SystemResourceKeyID
.SmallCaptionFontSize);
703
_cacheSmallCaptionFontFamily = CreateInstance(
SystemResourceKeyID
.SmallCaptionFontFamily);
719
_cacheSmallCaptionFontStyle = CreateInstance(
SystemResourceKeyID
.SmallCaptionFontStyle);
735
_cacheSmallCaptionFontWeight = CreateInstance(
SystemResourceKeyID
.SmallCaptionFontWeight);
751
_cacheSmallCaptionFontTextDecorations = CreateInstance(
SystemResourceKeyID
.SmallCaptionFontTextDecorations);
767
_cacheMenuFontSize = CreateInstance(
SystemResourceKeyID
.MenuFontSize);
783
_cacheMenuFontFamily = CreateInstance(
SystemResourceKeyID
.MenuFontFamily);
799
_cacheMenuFontStyle = CreateInstance(
SystemResourceKeyID
.MenuFontStyle);
815
_cacheMenuFontWeight = CreateInstance(
SystemResourceKeyID
.MenuFontWeight);
831
_cacheMenuFontTextDecorations = CreateInstance(
SystemResourceKeyID
.MenuFontTextDecorations);
847
_cacheStatusFontSize = CreateInstance(
SystemResourceKeyID
.StatusFontSize);
863
_cacheStatusFontFamily = CreateInstance(
SystemResourceKeyID
.StatusFontFamily);
879
_cacheStatusFontStyle = CreateInstance(
SystemResourceKeyID
.StatusFontStyle);
895
_cacheStatusFontWeight = CreateInstance(
SystemResourceKeyID
.StatusFontWeight);
911
_cacheStatusFontTextDecorations = CreateInstance(
SystemResourceKeyID
.StatusFontTextDecorations);
927
_cacheMessageFontSize = CreateInstance(
SystemResourceKeyID
.MessageFontSize);
943
_cacheMessageFontFamily = CreateInstance(
SystemResourceKeyID
.MessageFontFamily);
959
_cacheMessageFontStyle = CreateInstance(
SystemResourceKeyID
.MessageFontStyle);
975
_cacheMessageFontWeight = CreateInstance(
SystemResourceKeyID
.MessageFontWeight);
991
_cacheMessageFontTextDecorations = CreateInstance(
SystemResourceKeyID
.MessageFontTextDecorations);
src\Framework\System\Windows\SystemKeyConverter.cs (48)
130
SystemResourceKeyID
keyId;
173
internal static Type GetSystemClassType(
SystemResourceKeyID
id)
175
if (((
SystemResourceKeyID
.InternalSystemColorsStart < id) &&
176
(id <
SystemResourceKeyID
.InternalSystemColorsEnd))||
177
((
SystemResourceKeyID
.InternalSystemColorsExtendedStart < id) &&
178
(id <
SystemResourceKeyID
.InternalSystemColorsExtendedEnd)))
182
else if ((
SystemResourceKeyID
.InternalSystemFontsStart < id) &&
183
(id <
SystemResourceKeyID
.InternalSystemFontsEnd))
187
else if ((
SystemResourceKeyID
.InternalSystemParametersStart < id) &&
188
(id <
SystemResourceKeyID
.InternalSystemParametersEnd))
192
else if (
SystemResourceKeyID
.MenuItemSeparatorStyle == id)
196
else if ((
SystemResourceKeyID
.ToolBarButtonStyle <= id) &&
197
(id <=
SystemResourceKeyID
.ToolBarMenuStyle))
201
else if (
SystemResourceKeyID
.StatusBarSeparatorStyle == id)
205
else if ((
SystemResourceKeyID
.GridViewScrollViewerStyle <= id) &&
206
(id <=
SystemResourceKeyID
.GridViewItemContainerStyle))
214
internal static string GetSystemClassName(
SystemResourceKeyID
id)
216
if (((
SystemResourceKeyID
.InternalSystemColorsStart < id) &&
217
(id <
SystemResourceKeyID
.InternalSystemColorsEnd))||
218
((
SystemResourceKeyID
.InternalSystemColorsExtendedStart < id) &&
219
(id <
SystemResourceKeyID
.InternalSystemColorsExtendedEnd)))
223
else if ((
SystemResourceKeyID
.InternalSystemFontsStart < id) &&
224
(id <
SystemResourceKeyID
.InternalSystemFontsEnd))
228
else if ((
SystemResourceKeyID
.InternalSystemParametersStart < id) &&
229
(id <
SystemResourceKeyID
.InternalSystemParametersEnd))
233
else if (
SystemResourceKeyID
.MenuItemSeparatorStyle == id)
237
else if ((
SystemResourceKeyID
.ToolBarButtonStyle <= id) &&
238
(id <=
SystemResourceKeyID
.ToolBarMenuStyle))
242
else if (
SystemResourceKeyID
.StatusBarSeparatorStyle == id)
246
else if ((
SystemResourceKeyID
.GridViewScrollViewerStyle <= id) &&
247
(id <=
SystemResourceKeyID
.GridViewItemContainerStyle))
255
internal static string GetSystemKeyName(
SystemResourceKeyID
id)
257
if (((
SystemResourceKeyID
.InternalSystemColorsStart < id) &&
258
(id <
SystemResourceKeyID
.InternalSystemParametersEnd))||
259
((
SystemResourceKeyID
.InternalSystemColorsExtendedStart < id) &&
260
(id <
SystemResourceKeyID
.InternalSystemColorsExtendedEnd))||
261
((
SystemResourceKeyID
.GridViewScrollViewerStyle <= id) &&
262
(id <=
SystemResourceKeyID
.GridViewItemContainerStyle)))
264
return Enum.GetName(typeof(
SystemResourceKeyID
), id) + "Key";
266
else if (
SystemResourceKeyID
.MenuItemSeparatorStyle == id ||
267
SystemResourceKeyID
.StatusBarSeparatorStyle == id)
271
else if ((
SystemResourceKeyID
.ToolBarButtonStyle <= id) &&
272
(id <=
SystemResourceKeyID
.ToolBarMenuStyle))
274
string propName = Enum.GetName(typeof(
SystemResourceKeyID
), id) + "Key";
281
internal static string GetSystemPropertyName(
SystemResourceKeyID
id)
283
if ((
SystemResourceKeyID
.InternalSystemColorsStart < id) &&
284
(id <
SystemResourceKeyID
.InternalSystemColorsExtendedEnd))
286
return Enum.GetName(typeof(
SystemResourceKeyID
), id);
src\Framework\System\Windows\SystemParameters.cs (123)
251
private static SystemResourceKey CreateInstance(
SystemResourceKeyID
KeyId)
267
_cacheFocusBorderWidth = CreateInstance(
SystemResourceKeyID
.FocusBorderWidth);
283
_cacheFocusBorderHeight = CreateInstance(
SystemResourceKeyID
.FocusBorderHeight);
299
_cacheHighContrast = CreateInstance(
SystemResourceKeyID
.HighContrast);
446
_cacheDropShadow = CreateInstance(
SystemResourceKeyID
.DropShadow);
462
_cacheFlatMenu = CreateInstance(
SystemResourceKeyID
.FlatMenu);
478
_cacheWorkArea = CreateInstance(
SystemResourceKeyID
.WorkArea);
569
_cacheIconHorizontalSpacing = CreateInstance(
SystemResourceKeyID
.IconHorizontalSpacing);
585
_cacheIconVerticalSpacing = CreateInstance(
SystemResourceKeyID
.IconVerticalSpacing);
601
_cacheIconTitleWrap = CreateInstance(
SystemResourceKeyID
.IconTitleWrap);
940
_cacheKeyboardCues = CreateInstance(
SystemResourceKeyID
.KeyboardCues);
956
_cacheKeyboardDelay = CreateInstance(
SystemResourceKeyID
.KeyboardDelay);
972
_cacheKeyboardPreference = CreateInstance(
SystemResourceKeyID
.KeyboardPreference);
988
_cacheKeyboardSpeed = CreateInstance(
SystemResourceKeyID
.KeyboardSpeed);
1004
_cacheSnapToDefaultButton = CreateInstance(
SystemResourceKeyID
.SnapToDefaultButton);
1020
_cacheWheelScrollLines = CreateInstance(
SystemResourceKeyID
.WheelScrollLines);
1036
_cacheMouseHoverTime = CreateInstance(
SystemResourceKeyID
.MouseHoverTime);
1052
_cacheMouseHoverHeight = CreateInstance(
SystemResourceKeyID
.MouseHoverHeight);
1068
_cacheMouseHoverWidth = CreateInstance(
SystemResourceKeyID
.MouseHoverWidth);
1192
_cacheMenuDropAlignment = CreateInstance(
SystemResourceKeyID
.MenuDropAlignment);
1208
_cacheMenuFade = CreateInstance(
SystemResourceKeyID
.MenuFade);
1224
_cacheMenuShowDelay = CreateInstance(
SystemResourceKeyID
.MenuShowDelay);
1711
_cacheComboBoxAnimation = CreateInstance(
SystemResourceKeyID
.ComboBoxAnimation);
1727
_cacheClientAreaAnimation = CreateInstance(
SystemResourceKeyID
.ClientAreaAnimation);
1743
_cacheCursorShadow = CreateInstance(
SystemResourceKeyID
.CursorShadow);
1759
_cacheGradientCaptions = CreateInstance(
SystemResourceKeyID
.GradientCaptions);
1775
_cacheHotTracking = CreateInstance(
SystemResourceKeyID
.HotTracking);
1791
_cacheListBoxSmoothScrolling = CreateInstance(
SystemResourceKeyID
.ListBoxSmoothScrolling);
1807
_cacheMenuAnimation = CreateInstance(
SystemResourceKeyID
.MenuAnimation);
1823
_cacheSelectionFade = CreateInstance(
SystemResourceKeyID
.SelectionFade);
1839
_cacheStylusHotTracking = CreateInstance(
SystemResourceKeyID
.StylusHotTracking);
1855
_cacheToolTipAnimation = CreateInstance(
SystemResourceKeyID
.ToolTipAnimation);
1871
_cacheToolTipFade = CreateInstance(
SystemResourceKeyID
.ToolTipFade);
1887
_cacheUIEffects = CreateInstance(
SystemResourceKeyID
.UIEffects);
1903
_cacheComboBoxPopupAnimation = CreateInstance(
SystemResourceKeyID
.ComboBoxPopupAnimation);
1919
_cacheMenuPopupAnimation = CreateInstance(
SystemResourceKeyID
.MenuPopupAnimation);
1935
_cacheToolTipPopupAnimation = CreateInstance(
SystemResourceKeyID
.ToolTipPopupAnimation);
2286
_cacheMinimizeAnimation = CreateInstance(
SystemResourceKeyID
.MinimizeAnimation);
2302
_cacheBorder = CreateInstance(
SystemResourceKeyID
.Border);
2318
_cacheCaretWidth = CreateInstance(
SystemResourceKeyID
.CaretWidth);
2334
_cacheForegroundFlashCount = CreateInstance(
SystemResourceKeyID
.ForegroundFlashCount);
2350
_cacheDragFullWindows = CreateInstance(
SystemResourceKeyID
.DragFullWindows);
2366
_cacheBorderWidth = CreateInstance(
SystemResourceKeyID
.BorderWidth);
2382
_cacheScrollWidth = CreateInstance(
SystemResourceKeyID
.ScrollWidth);
2398
_cacheScrollHeight = CreateInstance(
SystemResourceKeyID
.ScrollHeight);
2414
_cacheCaptionWidth = CreateInstance(
SystemResourceKeyID
.CaptionWidth);
2430
_cacheCaptionHeight = CreateInstance(
SystemResourceKeyID
.CaptionHeight);
2446
_cacheSmallCaptionWidth = CreateInstance(
SystemResourceKeyID
.SmallCaptionWidth);
2462
_cacheMenuWidth = CreateInstance(
SystemResourceKeyID
.MenuWidth);
2478
_cacheMenuHeight = CreateInstance(
SystemResourceKeyID
.MenuHeight);
4379
_cacheThinHorizontalBorderHeight = CreateInstance(
SystemResourceKeyID
.ThinHorizontalBorderHeight);
4395
_cacheThinVerticalBorderWidth = CreateInstance(
SystemResourceKeyID
.ThinVerticalBorderWidth);
4411
_cacheCursorWidth = CreateInstance(
SystemResourceKeyID
.CursorWidth);
4427
_cacheCursorHeight = CreateInstance(
SystemResourceKeyID
.CursorHeight);
4443
_cacheThickHorizontalBorderHeight = CreateInstance(
SystemResourceKeyID
.ThickHorizontalBorderHeight);
4459
_cacheThickVerticalBorderWidth = CreateInstance(
SystemResourceKeyID
.ThickVerticalBorderWidth);
4475
_cacheFixedFrameHorizontalBorderHeight = CreateInstance(
SystemResourceKeyID
.FixedFrameHorizontalBorderHeight);
4491
_cacheFixedFrameVerticalBorderWidth = CreateInstance(
SystemResourceKeyID
.FixedFrameVerticalBorderWidth);
4507
_cacheFocusHorizontalBorderHeight = CreateInstance(
SystemResourceKeyID
.FocusHorizontalBorderHeight);
4523
_cacheFocusVerticalBorderWidth = CreateInstance(
SystemResourceKeyID
.FocusVerticalBorderWidth);
4539
_cacheFullPrimaryScreenWidth = CreateInstance(
SystemResourceKeyID
.FullPrimaryScreenWidth);
4555
_cacheFullPrimaryScreenHeight = CreateInstance(
SystemResourceKeyID
.FullPrimaryScreenHeight);
4571
_cacheHorizontalScrollBarButtonWidth = CreateInstance(
SystemResourceKeyID
.HorizontalScrollBarButtonWidth);
4587
_cacheHorizontalScrollBarHeight = CreateInstance(
SystemResourceKeyID
.HorizontalScrollBarHeight);
4603
_cacheHorizontalScrollBarThumbWidth = CreateInstance(
SystemResourceKeyID
.HorizontalScrollBarThumbWidth);
4619
_cacheIconWidth = CreateInstance(
SystemResourceKeyID
.IconWidth);
4635
_cacheIconHeight = CreateInstance(
SystemResourceKeyID
.IconHeight);
4651
_cacheIconGridWidth = CreateInstance(
SystemResourceKeyID
.IconGridWidth);
4667
_cacheIconGridHeight = CreateInstance(
SystemResourceKeyID
.IconGridHeight);
4683
_cacheMaximizedPrimaryScreenWidth = CreateInstance(
SystemResourceKeyID
.MaximizedPrimaryScreenWidth);
4699
_cacheMaximizedPrimaryScreenHeight = CreateInstance(
SystemResourceKeyID
.MaximizedPrimaryScreenHeight);
4715
_cacheMaximumWindowTrackWidth = CreateInstance(
SystemResourceKeyID
.MaximumWindowTrackWidth);
4731
_cacheMaximumWindowTrackHeight = CreateInstance(
SystemResourceKeyID
.MaximumWindowTrackHeight);
4747
_cacheMenuCheckmarkWidth = CreateInstance(
SystemResourceKeyID
.MenuCheckmarkWidth);
4763
_cacheMenuCheckmarkHeight = CreateInstance(
SystemResourceKeyID
.MenuCheckmarkHeight);
4779
_cacheMenuButtonWidth = CreateInstance(
SystemResourceKeyID
.MenuButtonWidth);
4795
_cacheMenuButtonHeight = CreateInstance(
SystemResourceKeyID
.MenuButtonHeight);
4811
_cacheMinimumWindowWidth = CreateInstance(
SystemResourceKeyID
.MinimumWindowWidth);
4827
_cacheMinimumWindowHeight = CreateInstance(
SystemResourceKeyID
.MinimumWindowHeight);
4843
_cacheMinimizedWindowWidth = CreateInstance(
SystemResourceKeyID
.MinimizedWindowWidth);
4859
_cacheMinimizedWindowHeight = CreateInstance(
SystemResourceKeyID
.MinimizedWindowHeight);
4875
_cacheMinimizedGridWidth = CreateInstance(
SystemResourceKeyID
.MinimizedGridWidth);
4891
_cacheMinimizedGridHeight = CreateInstance(
SystemResourceKeyID
.MinimizedGridHeight);
4907
_cacheMinimumWindowTrackWidth = CreateInstance(
SystemResourceKeyID
.MinimumWindowTrackWidth);
4923
_cacheMinimumWindowTrackHeight = CreateInstance(
SystemResourceKeyID
.MinimumWindowTrackHeight);
4939
_cachePrimaryScreenWidth = CreateInstance(
SystemResourceKeyID
.PrimaryScreenWidth);
4955
_cachePrimaryScreenHeight = CreateInstance(
SystemResourceKeyID
.PrimaryScreenHeight);
4971
_cacheWindowCaptionButtonWidth = CreateInstance(
SystemResourceKeyID
.WindowCaptionButtonWidth);
4987
_cacheWindowCaptionButtonHeight = CreateInstance(
SystemResourceKeyID
.WindowCaptionButtonHeight);
5003
_cacheResizeFrameHorizontalBorderHeight = CreateInstance(
SystemResourceKeyID
.ResizeFrameHorizontalBorderHeight);
5019
_cacheResizeFrameVerticalBorderWidth = CreateInstance(
SystemResourceKeyID
.ResizeFrameVerticalBorderWidth);
5035
_cacheSmallIconWidth = CreateInstance(
SystemResourceKeyID
.SmallIconWidth);
5051
_cacheSmallIconHeight = CreateInstance(
SystemResourceKeyID
.SmallIconHeight);
5067
_cacheSmallWindowCaptionButtonWidth = CreateInstance(
SystemResourceKeyID
.SmallWindowCaptionButtonWidth);
5083
_cacheSmallWindowCaptionButtonHeight = CreateInstance(
SystemResourceKeyID
.SmallWindowCaptionButtonHeight);
5099
_cacheVirtualScreenWidth = CreateInstance(
SystemResourceKeyID
.VirtualScreenWidth);
5115
_cacheVirtualScreenHeight = CreateInstance(
SystemResourceKeyID
.VirtualScreenHeight);
5131
_cacheVerticalScrollBarWidth = CreateInstance(
SystemResourceKeyID
.VerticalScrollBarWidth);
5147
_cacheVerticalScrollBarButtonHeight = CreateInstance(
SystemResourceKeyID
.VerticalScrollBarButtonHeight);
5163
_cacheWindowCaptionHeight = CreateInstance(
SystemResourceKeyID
.WindowCaptionHeight);
5179
_cacheKanjiWindowHeight = CreateInstance(
SystemResourceKeyID
.KanjiWindowHeight);
5195
_cacheMenuBarHeight = CreateInstance(
SystemResourceKeyID
.MenuBarHeight);
5211
_cacheSmallCaptionHeight = CreateInstance(
SystemResourceKeyID
.SmallCaptionHeight);
5227
_cacheVerticalScrollBarThumbHeight = CreateInstance(
SystemResourceKeyID
.VerticalScrollBarThumbHeight);
5243
_cacheIsImmEnabled = CreateInstance(
SystemResourceKeyID
.IsImmEnabled);
5259
_cacheIsMediaCenter = CreateInstance(
SystemResourceKeyID
.IsMediaCenter);
5275
_cacheIsMenuDropRightAligned = CreateInstance(
SystemResourceKeyID
.IsMenuDropRightAligned);
5291
_cacheIsMiddleEastEnabled = CreateInstance(
SystemResourceKeyID
.IsMiddleEastEnabled);
5307
_cacheIsMousePresent = CreateInstance(
SystemResourceKeyID
.IsMousePresent);
5323
_cacheIsMouseWheelPresent = CreateInstance(
SystemResourceKeyID
.IsMouseWheelPresent);
5339
_cacheIsPenWindows = CreateInstance(
SystemResourceKeyID
.IsPenWindows);
5355
_cacheIsRemotelyControlled = CreateInstance(
SystemResourceKeyID
.IsRemotelyControlled);
5371
_cacheIsRemoteSession = CreateInstance(
SystemResourceKeyID
.IsRemoteSession);
5387
_cacheShowSounds = CreateInstance(
SystemResourceKeyID
.ShowSounds);
5403
_cacheIsSlowMachine = CreateInstance(
SystemResourceKeyID
.IsSlowMachine);
5419
_cacheSwapButtons = CreateInstance(
SystemResourceKeyID
.SwapButtons);
5435
_cacheIsTabletPC = CreateInstance(
SystemResourceKeyID
.IsTabletPC);
5451
_cacheVirtualScreenLeft = CreateInstance(
SystemResourceKeyID
.VirtualScreenLeft);
5467
_cacheVirtualScreenTop = CreateInstance(
SystemResourceKeyID
.VirtualScreenTop);
5487
_cacheFocusVisualStyle = new SystemThemeKey(
SystemResourceKeyID
.FocusVisualStyle);
5504
_cacheNavigationChromeStyle = new SystemThemeKey(
SystemResourceKeyID
.NavigationChromeStyle);
5521
_cacheNavigationChromeDownLevelStyle = new SystemThemeKey(
SystemResourceKeyID
.NavigationChromeDownLevelStyle);
5580
_cachePowerLineStatus = CreateInstance(
SystemResourceKeyID
.PowerLineStatus);
src\Framework\System\Windows\SystemResourceKey.cs (472)
304
private const short SystemResourceKeyIDStart = (short)
SystemResourceKeyID
.InternalSystemColorsStart;
305
private const short SystemResourceKeyIDEnd = (short)
SystemResourceKeyID
.InternalSystemThemeStylesEnd;
310
private const short SystemResourceKeyIDExtendedStart = (short)
SystemResourceKeyID
.InternalSystemColorsExtendedStart;
311
private const short SystemResourceKeyIDExtendedEnd = (short)
SystemResourceKeyID
.InternalSystemColorsExtendedEnd;
372
SystemResourceKeyID
srkId =
SystemResourceKeyID
.InternalSystemColorsStart;
394
srkId = (
SystemResourceKeyID
)Enum.Parse(typeof(
SystemResourceKeyID
), srkField);
449
case
SystemResourceKeyID
.ActiveBorderBrush:
452
case
SystemResourceKeyID
.ActiveCaptionBrush:
455
case
SystemResourceKeyID
.ActiveCaptionTextBrush:
458
case
SystemResourceKeyID
.AppWorkspaceBrush:
461
case
SystemResourceKeyID
.ControlBrush:
464
case
SystemResourceKeyID
.ControlDarkBrush:
467
case
SystemResourceKeyID
.ControlDarkDarkBrush:
470
case
SystemResourceKeyID
.ControlLightBrush:
473
case
SystemResourceKeyID
.ControlLightLightBrush:
476
case
SystemResourceKeyID
.ControlTextBrush:
479
case
SystemResourceKeyID
.DesktopBrush:
482
case
SystemResourceKeyID
.GradientActiveCaptionBrush:
485
case
SystemResourceKeyID
.GradientInactiveCaptionBrush:
488
case
SystemResourceKeyID
.GrayTextBrush:
491
case
SystemResourceKeyID
.HighlightBrush:
494
case
SystemResourceKeyID
.HighlightTextBrush:
497
case
SystemResourceKeyID
.HotTrackBrush:
500
case
SystemResourceKeyID
.InactiveBorderBrush:
503
case
SystemResourceKeyID
.InactiveCaptionBrush:
506
case
SystemResourceKeyID
.InactiveCaptionTextBrush:
509
case
SystemResourceKeyID
.InfoBrush:
512
case
SystemResourceKeyID
.InfoTextBrush:
515
case
SystemResourceKeyID
.MenuBrush:
518
case
SystemResourceKeyID
.MenuBarBrush:
521
case
SystemResourceKeyID
.MenuHighlightBrush:
524
case
SystemResourceKeyID
.MenuTextBrush:
527
case
SystemResourceKeyID
.ScrollBarBrush:
530
case
SystemResourceKeyID
.WindowBrush:
533
case
SystemResourceKeyID
.WindowFrameBrush:
536
case
SystemResourceKeyID
.WindowTextBrush:
539
case
SystemResourceKeyID
.InactiveSelectionHighlightBrush:
542
case
SystemResourceKeyID
.InactiveSelectionHighlightTextBrush:
545
case
SystemResourceKeyID
.ActiveBorderColor:
548
case
SystemResourceKeyID
.ActiveCaptionColor:
551
case
SystemResourceKeyID
.ActiveCaptionTextColor:
554
case
SystemResourceKeyID
.AppWorkspaceColor:
557
case
SystemResourceKeyID
.ControlColor:
560
case
SystemResourceKeyID
.ControlDarkColor:
563
case
SystemResourceKeyID
.ControlDarkDarkColor:
566
case
SystemResourceKeyID
.ControlLightColor:
569
case
SystemResourceKeyID
.ControlLightLightColor:
572
case
SystemResourceKeyID
.ControlTextColor:
575
case
SystemResourceKeyID
.DesktopColor:
578
case
SystemResourceKeyID
.GradientActiveCaptionColor:
581
case
SystemResourceKeyID
.GradientInactiveCaptionColor:
584
case
SystemResourceKeyID
.GrayTextColor:
587
case
SystemResourceKeyID
.HighlightColor:
590
case
SystemResourceKeyID
.HighlightTextColor:
593
case
SystemResourceKeyID
.HotTrackColor:
596
case
SystemResourceKeyID
.InactiveBorderColor:
599
case
SystemResourceKeyID
.InactiveCaptionColor:
602
case
SystemResourceKeyID
.InactiveCaptionTextColor:
605
case
SystemResourceKeyID
.InfoColor:
608
case
SystemResourceKeyID
.InfoTextColor:
611
case
SystemResourceKeyID
.MenuColor:
614
case
SystemResourceKeyID
.MenuBarColor:
617
case
SystemResourceKeyID
.MenuHighlightColor:
620
case
SystemResourceKeyID
.MenuTextColor:
623
case
SystemResourceKeyID
.ScrollBarColor:
626
case
SystemResourceKeyID
.WindowColor:
629
case
SystemResourceKeyID
.WindowFrameColor:
632
case
SystemResourceKeyID
.WindowTextColor:
635
case
SystemResourceKeyID
.ThinHorizontalBorderHeight:
638
case
SystemResourceKeyID
.ThinVerticalBorderWidth:
641
case
SystemResourceKeyID
.CursorWidth:
644
case
SystemResourceKeyID
.CursorHeight:
647
case
SystemResourceKeyID
.ThickHorizontalBorderHeight:
650
case
SystemResourceKeyID
.ThickVerticalBorderWidth:
653
case
SystemResourceKeyID
.FixedFrameHorizontalBorderHeight:
656
case
SystemResourceKeyID
.FixedFrameVerticalBorderWidth:
659
case
SystemResourceKeyID
.FocusHorizontalBorderHeight:
662
case
SystemResourceKeyID
.FocusVerticalBorderWidth:
665
case
SystemResourceKeyID
.FullPrimaryScreenWidth:
668
case
SystemResourceKeyID
.FullPrimaryScreenHeight:
671
case
SystemResourceKeyID
.HorizontalScrollBarButtonWidth:
674
case
SystemResourceKeyID
.HorizontalScrollBarHeight:
677
case
SystemResourceKeyID
.HorizontalScrollBarThumbWidth:
680
case
SystemResourceKeyID
.IconWidth:
683
case
SystemResourceKeyID
.IconHeight:
686
case
SystemResourceKeyID
.IconGridWidth:
689
case
SystemResourceKeyID
.IconGridHeight:
692
case
SystemResourceKeyID
.MaximizedPrimaryScreenWidth:
695
case
SystemResourceKeyID
.MaximizedPrimaryScreenHeight:
698
case
SystemResourceKeyID
.MaximumWindowTrackWidth:
701
case
SystemResourceKeyID
.MaximumWindowTrackHeight:
704
case
SystemResourceKeyID
.MenuCheckmarkWidth:
707
case
SystemResourceKeyID
.MenuCheckmarkHeight:
710
case
SystemResourceKeyID
.MenuButtonWidth:
713
case
SystemResourceKeyID
.MenuButtonHeight:
716
case
SystemResourceKeyID
.MinimumWindowWidth:
719
case
SystemResourceKeyID
.MinimumWindowHeight:
722
case
SystemResourceKeyID
.MinimizedWindowWidth:
725
case
SystemResourceKeyID
.MinimizedWindowHeight:
728
case
SystemResourceKeyID
.MinimizedGridWidth:
731
case
SystemResourceKeyID
.MinimizedGridHeight:
734
case
SystemResourceKeyID
.MinimumWindowTrackWidth:
737
case
SystemResourceKeyID
.MinimumWindowTrackHeight:
740
case
SystemResourceKeyID
.PrimaryScreenWidth:
743
case
SystemResourceKeyID
.PrimaryScreenHeight:
746
case
SystemResourceKeyID
.WindowCaptionButtonWidth:
749
case
SystemResourceKeyID
.WindowCaptionButtonHeight:
752
case
SystemResourceKeyID
.ResizeFrameHorizontalBorderHeight:
755
case
SystemResourceKeyID
.ResizeFrameVerticalBorderWidth:
758
case
SystemResourceKeyID
.SmallIconWidth:
761
case
SystemResourceKeyID
.SmallIconHeight:
764
case
SystemResourceKeyID
.SmallWindowCaptionButtonWidth:
767
case
SystemResourceKeyID
.SmallWindowCaptionButtonHeight:
770
case
SystemResourceKeyID
.VirtualScreenWidth:
773
case
SystemResourceKeyID
.VirtualScreenHeight:
776
case
SystemResourceKeyID
.VerticalScrollBarWidth:
779
case
SystemResourceKeyID
.VerticalScrollBarButtonHeight:
782
case
SystemResourceKeyID
.WindowCaptionHeight:
785
case
SystemResourceKeyID
.KanjiWindowHeight:
788
case
SystemResourceKeyID
.MenuBarHeight:
791
case
SystemResourceKeyID
.SmallCaptionHeight:
794
case
SystemResourceKeyID
.VerticalScrollBarThumbHeight:
797
case
SystemResourceKeyID
.IsImmEnabled:
800
case
SystemResourceKeyID
.IsMediaCenter:
803
case
SystemResourceKeyID
.IsMenuDropRightAligned:
806
case
SystemResourceKeyID
.IsMiddleEastEnabled:
809
case
SystemResourceKeyID
.IsMousePresent:
812
case
SystemResourceKeyID
.IsMouseWheelPresent:
815
case
SystemResourceKeyID
.IsPenWindows:
818
case
SystemResourceKeyID
.IsRemotelyControlled:
821
case
SystemResourceKeyID
.IsRemoteSession:
824
case
SystemResourceKeyID
.ShowSounds:
827
case
SystemResourceKeyID
.IsSlowMachine:
830
case
SystemResourceKeyID
.SwapButtons:
833
case
SystemResourceKeyID
.IsTabletPC:
836
case
SystemResourceKeyID
.VirtualScreenLeft:
839
case
SystemResourceKeyID
.VirtualScreenTop:
842
case
SystemResourceKeyID
.FocusBorderWidth:
845
case
SystemResourceKeyID
.FocusBorderHeight:
848
case
SystemResourceKeyID
.HighContrast:
851
case
SystemResourceKeyID
.DropShadow:
854
case
SystemResourceKeyID
.FlatMenu:
857
case
SystemResourceKeyID
.WorkArea:
860
case
SystemResourceKeyID
.IconHorizontalSpacing:
863
case
SystemResourceKeyID
.IconVerticalSpacing:
866
case
SystemResourceKeyID
.IconTitleWrap:
869
case
SystemResourceKeyID
.IconFontSize:
872
case
SystemResourceKeyID
.IconFontFamily:
875
case
SystemResourceKeyID
.IconFontStyle:
878
case
SystemResourceKeyID
.IconFontWeight:
881
case
SystemResourceKeyID
.IconFontTextDecorations:
884
case
SystemResourceKeyID
.KeyboardCues:
887
case
SystemResourceKeyID
.KeyboardDelay:
890
case
SystemResourceKeyID
.KeyboardPreference:
893
case
SystemResourceKeyID
.KeyboardSpeed:
896
case
SystemResourceKeyID
.SnapToDefaultButton:
899
case
SystemResourceKeyID
.WheelScrollLines:
902
case
SystemResourceKeyID
.MouseHoverTime:
905
case
SystemResourceKeyID
.MouseHoverHeight:
908
case
SystemResourceKeyID
.MouseHoverWidth:
911
case
SystemResourceKeyID
.MenuDropAlignment:
914
case
SystemResourceKeyID
.MenuFade:
917
case
SystemResourceKeyID
.MenuShowDelay:
920
case
SystemResourceKeyID
.ComboBoxAnimation:
923
case
SystemResourceKeyID
.ClientAreaAnimation:
926
case
SystemResourceKeyID
.CursorShadow:
929
case
SystemResourceKeyID
.GradientCaptions:
932
case
SystemResourceKeyID
.HotTracking:
935
case
SystemResourceKeyID
.ListBoxSmoothScrolling:
938
case
SystemResourceKeyID
.MenuAnimation:
941
case
SystemResourceKeyID
.SelectionFade:
944
case
SystemResourceKeyID
.StylusHotTracking:
947
case
SystemResourceKeyID
.ToolTipAnimation:
950
case
SystemResourceKeyID
.ToolTipFade:
953
case
SystemResourceKeyID
.UIEffects:
956
case
SystemResourceKeyID
.MinimizeAnimation:
959
case
SystemResourceKeyID
.Border:
962
case
SystemResourceKeyID
.CaretWidth:
965
case
SystemResourceKeyID
.ForegroundFlashCount:
968
case
SystemResourceKeyID
.DragFullWindows:
971
case
SystemResourceKeyID
.BorderWidth:
974
case
SystemResourceKeyID
.ScrollWidth:
977
case
SystemResourceKeyID
.ScrollHeight:
980
case
SystemResourceKeyID
.CaptionWidth:
983
case
SystemResourceKeyID
.CaptionHeight:
986
case
SystemResourceKeyID
.SmallCaptionWidth:
989
case
SystemResourceKeyID
.MenuWidth:
992
case
SystemResourceKeyID
.MenuHeight:
995
case
SystemResourceKeyID
.CaptionFontSize:
998
case
SystemResourceKeyID
.CaptionFontFamily:
1001
case
SystemResourceKeyID
.CaptionFontStyle:
1004
case
SystemResourceKeyID
.CaptionFontWeight:
1007
case
SystemResourceKeyID
.CaptionFontTextDecorations:
1010
case
SystemResourceKeyID
.SmallCaptionFontSize:
1013
case
SystemResourceKeyID
.SmallCaptionFontFamily:
1016
case
SystemResourceKeyID
.SmallCaptionFontStyle:
1019
case
SystemResourceKeyID
.SmallCaptionFontWeight:
1022
case
SystemResourceKeyID
.SmallCaptionFontTextDecorations:
1025
case
SystemResourceKeyID
.MenuFontSize:
1028
case
SystemResourceKeyID
.MenuFontFamily:
1031
case
SystemResourceKeyID
.MenuFontStyle:
1034
case
SystemResourceKeyID
.MenuFontWeight:
1037
case
SystemResourceKeyID
.MenuFontTextDecorations:
1040
case
SystemResourceKeyID
.StatusFontSize:
1043
case
SystemResourceKeyID
.StatusFontFamily:
1046
case
SystemResourceKeyID
.StatusFontStyle:
1049
case
SystemResourceKeyID
.StatusFontWeight:
1052
case
SystemResourceKeyID
.StatusFontTextDecorations:
1055
case
SystemResourceKeyID
.MessageFontSize:
1058
case
SystemResourceKeyID
.MessageFontFamily:
1061
case
SystemResourceKeyID
.MessageFontStyle:
1064
case
SystemResourceKeyID
.MessageFontWeight:
1067
case
SystemResourceKeyID
.MessageFontTextDecorations:
1070
case
SystemResourceKeyID
.ComboBoxPopupAnimation:
1073
case
SystemResourceKeyID
.MenuPopupAnimation:
1076
case
SystemResourceKeyID
.ToolTipPopupAnimation:
1079
case
SystemResourceKeyID
.PowerLineStatus:
1091
case (short)
SystemResourceKeyID
.ActiveBorderBrush:
1094
case (short)
SystemResourceKeyID
.ActiveCaptionBrush:
1097
case (short)
SystemResourceKeyID
.ActiveCaptionTextBrush:
1100
case (short)
SystemResourceKeyID
.AppWorkspaceBrush:
1103
case (short)
SystemResourceKeyID
.ControlBrush:
1106
case (short)
SystemResourceKeyID
.ControlDarkBrush:
1109
case (short)
SystemResourceKeyID
.ControlDarkDarkBrush:
1112
case (short)
SystemResourceKeyID
.ControlLightBrush:
1115
case (short)
SystemResourceKeyID
.ControlLightLightBrush:
1118
case (short)
SystemResourceKeyID
.ControlTextBrush:
1121
case (short)
SystemResourceKeyID
.DesktopBrush:
1124
case (short)
SystemResourceKeyID
.GradientActiveCaptionBrush:
1127
case (short)
SystemResourceKeyID
.GradientInactiveCaptionBrush:
1130
case (short)
SystemResourceKeyID
.GrayTextBrush:
1133
case (short)
SystemResourceKeyID
.HighlightBrush:
1136
case (short)
SystemResourceKeyID
.HighlightTextBrush:
1139
case (short)
SystemResourceKeyID
.HotTrackBrush:
1142
case (short)
SystemResourceKeyID
.InactiveBorderBrush:
1145
case (short)
SystemResourceKeyID
.InactiveCaptionBrush:
1148
case (short)
SystemResourceKeyID
.InactiveCaptionTextBrush:
1151
case (short)
SystemResourceKeyID
.InfoBrush:
1154
case (short)
SystemResourceKeyID
.InfoTextBrush:
1157
case (short)
SystemResourceKeyID
.MenuBrush:
1160
case (short)
SystemResourceKeyID
.MenuBarBrush:
1163
case (short)
SystemResourceKeyID
.MenuHighlightBrush:
1166
case (short)
SystemResourceKeyID
.MenuTextBrush:
1169
case (short)
SystemResourceKeyID
.ScrollBarBrush:
1172
case (short)
SystemResourceKeyID
.WindowBrush:
1175
case (short)
SystemResourceKeyID
.WindowFrameBrush:
1178
case (short)
SystemResourceKeyID
.WindowTextBrush:
1181
case (short)
SystemResourceKeyID
.InactiveSelectionHighlightBrush:
1184
case (short)
SystemResourceKeyID
.InactiveSelectionHighlightTextBrush:
1187
case (short)
SystemResourceKeyID
.ActiveBorderColor:
1190
case (short)
SystemResourceKeyID
.ActiveCaptionColor:
1193
case (short)
SystemResourceKeyID
.ActiveCaptionTextColor:
1196
case (short)
SystemResourceKeyID
.AppWorkspaceColor:
1199
case (short)
SystemResourceKeyID
.ControlColor:
1202
case (short)
SystemResourceKeyID
.ControlDarkColor:
1205
case (short)
SystemResourceKeyID
.ControlDarkDarkColor:
1208
case (short)
SystemResourceKeyID
.ControlLightColor:
1211
case (short)
SystemResourceKeyID
.ControlLightLightColor:
1214
case (short)
SystemResourceKeyID
.ControlTextColor:
1217
case (short)
SystemResourceKeyID
.DesktopColor:
1220
case (short)
SystemResourceKeyID
.GradientActiveCaptionColor:
1223
case (short)
SystemResourceKeyID
.GradientInactiveCaptionColor:
1226
case (short)
SystemResourceKeyID
.GrayTextColor:
1229
case (short)
SystemResourceKeyID
.HighlightColor:
1232
case (short)
SystemResourceKeyID
.HighlightTextColor:
1235
case (short)
SystemResourceKeyID
.HotTrackColor:
1238
case (short)
SystemResourceKeyID
.InactiveBorderColor:
1241
case (short)
SystemResourceKeyID
.InactiveCaptionColor:
1244
case (short)
SystemResourceKeyID
.InactiveCaptionTextColor:
1247
case (short)
SystemResourceKeyID
.InfoColor:
1250
case (short)
SystemResourceKeyID
.InfoTextColor:
1253
case (short)
SystemResourceKeyID
.MenuColor:
1256
case (short)
SystemResourceKeyID
.MenuBarColor:
1259
case (short)
SystemResourceKeyID
.MenuHighlightColor:
1262
case (short)
SystemResourceKeyID
.MenuTextColor:
1265
case (short)
SystemResourceKeyID
.ScrollBarColor:
1268
case (short)
SystemResourceKeyID
.WindowColor:
1271
case (short)
SystemResourceKeyID
.WindowFrameColor:
1274
case (short)
SystemResourceKeyID
.WindowTextColor:
1277
case (short)
SystemResourceKeyID
.ThinHorizontalBorderHeight:
1280
case (short)
SystemResourceKeyID
.ThinVerticalBorderWidth:
1283
case (short)
SystemResourceKeyID
.CursorWidth:
1286
case (short)
SystemResourceKeyID
.CursorHeight:
1289
case (short)
SystemResourceKeyID
.ThickHorizontalBorderHeight:
1292
case (short)
SystemResourceKeyID
.ThickVerticalBorderWidth:
1295
case (short)
SystemResourceKeyID
.FixedFrameHorizontalBorderHeight:
1298
case (short)
SystemResourceKeyID
.FixedFrameVerticalBorderWidth:
1301
case (short)
SystemResourceKeyID
.FocusHorizontalBorderHeight:
1304
case (short)
SystemResourceKeyID
.FocusVerticalBorderWidth:
1307
case (short)
SystemResourceKeyID
.FullPrimaryScreenWidth:
1310
case (short)
SystemResourceKeyID
.FullPrimaryScreenHeight:
1313
case (short)
SystemResourceKeyID
.HorizontalScrollBarButtonWidth:
1316
case (short)
SystemResourceKeyID
.HorizontalScrollBarHeight:
1319
case (short)
SystemResourceKeyID
.HorizontalScrollBarThumbWidth:
1322
case (short)
SystemResourceKeyID
.IconWidth:
1325
case (short)
SystemResourceKeyID
.IconHeight:
1328
case (short)
SystemResourceKeyID
.IconGridWidth:
1331
case (short)
SystemResourceKeyID
.IconGridHeight:
1334
case (short)
SystemResourceKeyID
.MaximizedPrimaryScreenWidth:
1337
case (short)
SystemResourceKeyID
.MaximizedPrimaryScreenHeight:
1340
case (short)
SystemResourceKeyID
.MaximumWindowTrackWidth:
1343
case (short)
SystemResourceKeyID
.MaximumWindowTrackHeight:
1346
case (short)
SystemResourceKeyID
.MenuCheckmarkWidth:
1349
case (short)
SystemResourceKeyID
.MenuCheckmarkHeight:
1352
case (short)
SystemResourceKeyID
.MenuButtonWidth:
1355
case (short)
SystemResourceKeyID
.MenuButtonHeight:
1358
case (short)
SystemResourceKeyID
.MinimumWindowWidth:
1361
case (short)
SystemResourceKeyID
.MinimumWindowHeight:
1364
case (short)
SystemResourceKeyID
.MinimizedWindowWidth:
1367
case (short)
SystemResourceKeyID
.MinimizedWindowHeight:
1370
case (short)
SystemResourceKeyID
.MinimizedGridWidth:
1373
case (short)
SystemResourceKeyID
.MinimizedGridHeight:
1376
case (short)
SystemResourceKeyID
.MinimumWindowTrackWidth:
1379
case (short)
SystemResourceKeyID
.MinimumWindowTrackHeight:
1382
case (short)
SystemResourceKeyID
.PrimaryScreenWidth:
1385
case (short)
SystemResourceKeyID
.PrimaryScreenHeight:
1388
case (short)
SystemResourceKeyID
.WindowCaptionButtonWidth:
1391
case (short)
SystemResourceKeyID
.WindowCaptionButtonHeight:
1394
case (short)
SystemResourceKeyID
.ResizeFrameHorizontalBorderHeight:
1397
case (short)
SystemResourceKeyID
.ResizeFrameVerticalBorderWidth:
1400
case (short)
SystemResourceKeyID
.SmallIconWidth:
1403
case (short)
SystemResourceKeyID
.SmallIconHeight:
1406
case (short)
SystemResourceKeyID
.SmallWindowCaptionButtonWidth:
1409
case (short)
SystemResourceKeyID
.SmallWindowCaptionButtonHeight:
1412
case (short)
SystemResourceKeyID
.VirtualScreenWidth:
1415
case (short)
SystemResourceKeyID
.VirtualScreenHeight:
1418
case (short)
SystemResourceKeyID
.VerticalScrollBarWidth:
1421
case (short)
SystemResourceKeyID
.VerticalScrollBarButtonHeight:
1424
case (short)
SystemResourceKeyID
.WindowCaptionHeight:
1427
case (short)
SystemResourceKeyID
.KanjiWindowHeight:
1430
case (short)
SystemResourceKeyID
.MenuBarHeight:
1433
case (short)
SystemResourceKeyID
.SmallCaptionHeight:
1436
case (short)
SystemResourceKeyID
.VerticalScrollBarThumbHeight:
1439
case (short)
SystemResourceKeyID
.IsImmEnabled:
1442
case (short)
SystemResourceKeyID
.IsMediaCenter:
1445
case (short)
SystemResourceKeyID
.IsMenuDropRightAligned:
1448
case (short)
SystemResourceKeyID
.IsMiddleEastEnabled:
1451
case (short)
SystemResourceKeyID
.IsMousePresent:
1454
case (short)
SystemResourceKeyID
.IsMouseWheelPresent:
1457
case (short)
SystemResourceKeyID
.IsPenWindows:
1460
case (short)
SystemResourceKeyID
.IsRemotelyControlled:
1463
case (short)
SystemResourceKeyID
.IsRemoteSession:
1466
case (short)
SystemResourceKeyID
.ShowSounds:
1469
case (short)
SystemResourceKeyID
.IsSlowMachine:
1472
case (short)
SystemResourceKeyID
.SwapButtons:
1475
case (short)
SystemResourceKeyID
.IsTabletPC:
1478
case (short)
SystemResourceKeyID
.VirtualScreenLeft:
1481
case (short)
SystemResourceKeyID
.VirtualScreenTop:
1484
case (short)
SystemResourceKeyID
.FocusBorderWidth:
1487
case (short)
SystemResourceKeyID
.FocusBorderHeight:
1490
case (short)
SystemResourceKeyID
.HighContrast:
1493
case (short)
SystemResourceKeyID
.DropShadow:
1496
case (short)
SystemResourceKeyID
.FlatMenu:
1499
case (short)
SystemResourceKeyID
.WorkArea:
1502
case (short)
SystemResourceKeyID
.IconHorizontalSpacing:
1505
case (short)
SystemResourceKeyID
.IconVerticalSpacing:
1508
case (short)
SystemResourceKeyID
.IconTitleWrap:
1511
case (short)
SystemResourceKeyID
.IconFontSize:
1514
case (short)
SystemResourceKeyID
.IconFontFamily:
1517
case (short)
SystemResourceKeyID
.IconFontStyle:
1520
case (short)
SystemResourceKeyID
.IconFontWeight:
1523
case (short)
SystemResourceKeyID
.IconFontTextDecorations:
1526
case (short)
SystemResourceKeyID
.KeyboardCues:
1529
case (short)
SystemResourceKeyID
.KeyboardDelay:
1532
case (short)
SystemResourceKeyID
.KeyboardPreference:
1535
case (short)
SystemResourceKeyID
.KeyboardSpeed:
1538
case (short)
SystemResourceKeyID
.SnapToDefaultButton:
1541
case (short)
SystemResourceKeyID
.WheelScrollLines:
1544
case (short)
SystemResourceKeyID
.MouseHoverTime:
1547
case (short)
SystemResourceKeyID
.MouseHoverHeight:
1550
case (short)
SystemResourceKeyID
.MouseHoverWidth:
1553
case (short)
SystemResourceKeyID
.MenuDropAlignment:
1556
case (short)
SystemResourceKeyID
.MenuFade:
1559
case (short)
SystemResourceKeyID
.MenuShowDelay:
1562
case (short)
SystemResourceKeyID
.ComboBoxAnimation:
1565
case (short)
SystemResourceKeyID
.ClientAreaAnimation:
1568
case (short)
SystemResourceKeyID
.CursorShadow:
1571
case (short)
SystemResourceKeyID
.GradientCaptions:
1574
case (short)
SystemResourceKeyID
.HotTracking:
1577
case (short)
SystemResourceKeyID
.ListBoxSmoothScrolling:
1580
case (short)
SystemResourceKeyID
.MenuAnimation:
1583
case (short)
SystemResourceKeyID
.SelectionFade:
1586
case (short)
SystemResourceKeyID
.StylusHotTracking:
1589
case (short)
SystemResourceKeyID
.ToolTipAnimation:
1592
case (short)
SystemResourceKeyID
.ToolTipFade:
1595
case (short)
SystemResourceKeyID
.UIEffects:
1598
case (short)
SystemResourceKeyID
.MinimizeAnimation:
1601
case (short)
SystemResourceKeyID
.Border:
1604
case (short)
SystemResourceKeyID
.CaretWidth:
1607
case (short)
SystemResourceKeyID
.ForegroundFlashCount:
1610
case (short)
SystemResourceKeyID
.DragFullWindows:
1613
case (short)
SystemResourceKeyID
.BorderWidth:
1616
case (short)
SystemResourceKeyID
.ScrollWidth:
1619
case (short)
SystemResourceKeyID
.ScrollHeight:
1622
case (short)
SystemResourceKeyID
.CaptionWidth:
1625
case (short)
SystemResourceKeyID
.CaptionHeight:
1628
case (short)
SystemResourceKeyID
.SmallCaptionWidth:
1631
case (short)
SystemResourceKeyID
.MenuWidth:
1634
case (short)
SystemResourceKeyID
.MenuHeight:
1637
case (short)
SystemResourceKeyID
.CaptionFontSize:
1640
case (short)
SystemResourceKeyID
.CaptionFontFamily:
1643
case (short)
SystemResourceKeyID
.CaptionFontStyle:
1646
case (short)
SystemResourceKeyID
.CaptionFontWeight:
1649
case (short)
SystemResourceKeyID
.CaptionFontTextDecorations:
1652
case (short)
SystemResourceKeyID
.SmallCaptionFontSize:
1655
case (short)
SystemResourceKeyID
.SmallCaptionFontFamily:
1658
case (short)
SystemResourceKeyID
.SmallCaptionFontStyle:
1661
case (short)
SystemResourceKeyID
.SmallCaptionFontWeight:
1664
case (short)
SystemResourceKeyID
.SmallCaptionFontTextDecorations:
1667
case (short)
SystemResourceKeyID
.MenuFontSize:
1670
case (short)
SystemResourceKeyID
.MenuFontFamily:
1673
case (short)
SystemResourceKeyID
.MenuFontStyle:
1676
case (short)
SystemResourceKeyID
.MenuFontWeight:
1679
case (short)
SystemResourceKeyID
.MenuFontTextDecorations:
1682
case (short)
SystemResourceKeyID
.StatusFontSize:
1685
case (short)
SystemResourceKeyID
.StatusFontFamily:
1688
case (short)
SystemResourceKeyID
.StatusFontStyle:
1691
case (short)
SystemResourceKeyID
.StatusFontWeight:
1694
case (short)
SystemResourceKeyID
.StatusFontTextDecorations:
1697
case (short)
SystemResourceKeyID
.MessageFontSize:
1700
case (short)
SystemResourceKeyID
.MessageFontFamily:
1703
case (short)
SystemResourceKeyID
.MessageFontStyle:
1706
case (short)
SystemResourceKeyID
.MessageFontWeight:
1709
case (short)
SystemResourceKeyID
.MessageFontTextDecorations:
1712
case (short)
SystemResourceKeyID
.ComboBoxPopupAnimation:
1715
case (short)
SystemResourceKeyID
.MenuPopupAnimation:
1718
case (short)
SystemResourceKeyID
.ToolTipPopupAnimation:
1721
case (short)
SystemResourceKeyID
.FocusVisualStyle:
1724
case (short)
SystemResourceKeyID
.NavigationChromeDownLevelStyle:
1727
case (short)
SystemResourceKeyID
.NavigationChromeStyle:
1730
case (short)
SystemResourceKeyID
.MenuItemSeparatorStyle:
1733
case (short)
SystemResourceKeyID
.GridViewScrollViewerStyle:
1736
case (short)
SystemResourceKeyID
.GridViewStyle:
1739
case (short)
SystemResourceKeyID
.GridViewItemContainerStyle:
1742
case (short)
SystemResourceKeyID
.StatusBarSeparatorStyle:
1745
case (short)
SystemResourceKeyID
.ToolBarButtonStyle:
1748
case (short)
SystemResourceKeyID
.ToolBarToggleButtonStyle:
1751
case (short)
SystemResourceKeyID
.ToolBarSeparatorStyle:
1754
case (short)
SystemResourceKeyID
.ToolBarCheckBoxStyle:
1757
case (short)
SystemResourceKeyID
.ToolBarRadioButtonStyle:
1760
case (short)
SystemResourceKeyID
.ToolBarComboBoxStyle:
1763
case (short)
SystemResourceKeyID
.ToolBarTextBoxStyle:
1766
case (short)
SystemResourceKeyID
.ToolBarMenuStyle:
1769
case (short)
SystemResourceKeyID
.PowerLineStatus:
1846
SystemResourceKeyID
keyId = (
SystemResourceKeyID
)id;
1863
internal SystemResourceKey(
SystemResourceKeyID
id)
1865
Debug.Assert(((
SystemResourceKeyID
.InternalSystemColorsStart < id) && (id <
SystemResourceKeyID
.InternalSystemColorsEnd)) ||
1866
((
SystemResourceKeyID
.InternalSystemFontsStart < id) && (id <
SystemResourceKeyID
.InternalSystemFontsEnd)) ||
1867
((
SystemResourceKeyID
.InternalSystemParametersStart < id) && (id <
SystemResourceKeyID
.InternalSystemParametersEnd)) ||
1868
((
SystemResourceKeyID
.InternalSystemColorsExtendedStart < id) && (id <
SystemResourceKeyID
.InternalSystemColorsExtendedEnd)),
1873
internal
SystemResourceKeyID
InternalKey
1961
_menuItemSeparatorStyleKey = new SystemThemeKey(
SystemResourceKeyID
.MenuItemSeparatorStyle);
1999
_gridViewItemContainerStyleKey = new SystemThemeKey(
SystemResourceKeyID
.GridViewItemContainerStyle);
2012
_scrollViewerStyleKey = new SystemThemeKey(
SystemResourceKeyID
.GridViewScrollViewerStyle);
2025
_gridViewStyleKey = new SystemThemeKey(
SystemResourceKeyID
.GridViewStyle);
2038
_statusBarSeparatorStyleKey = new SystemThemeKey(
SystemResourceKeyID
.StatusBarSeparatorStyle);
2050
_cacheButtonStyle = new SystemThemeKey(
SystemResourceKeyID
.ToolBarButtonStyle);
2066
_cacheToggleButtonStyle = new SystemThemeKey(
SystemResourceKeyID
.ToolBarToggleButtonStyle);
2081
_cacheSeparatorStyle = new SystemThemeKey(
SystemResourceKeyID
.ToolBarSeparatorStyle);
2097
_cacheCheckBoxStyle = new SystemThemeKey(
SystemResourceKeyID
.ToolBarCheckBoxStyle);
2112
_cacheRadioButtonStyle = new SystemThemeKey(
SystemResourceKeyID
.ToolBarRadioButtonStyle);
2128
_cacheComboBoxStyle = new SystemThemeKey(
SystemResourceKeyID
.ToolBarComboBoxStyle);
2144
_cacheTextBoxStyle = new SystemThemeKey(
SystemResourceKeyID
.ToolBarTextBoxStyle);
2160
_cacheMenuStyle = new SystemThemeKey(
SystemResourceKeyID
.ToolBarMenuStyle);
2188
private
SystemResourceKeyID
_id;
src\Framework\System\Windows\SystemThemeKey.cs (5)
28
internal SystemThemeKey(
SystemResourceKeyID
id)
31
Debug.Assert(id >
SystemResourceKeyID
.InternalSystemThemeStylesStart &&
32
id <
SystemResourceKeyID
.InternalSystemThemeStylesEnd);
87
internal
SystemResourceKeyID
InternalKey
96
private
SystemResourceKeyID
_id;