System\Windows\SystemParameters.cs (465)
84if (!SystemResources.ClearSlot(_cacheValid, slot))
100lock (_cacheValid)
102while (!_cacheValid[(int)CacheSlot.FocusBorderWidth])
104_cacheValid[(int)CacheSlot.FocusBorderWidth] = true;
114_cacheValid[(int)CacheSlot.FocusBorderWidth] = false;
131lock (_cacheValid)
133while (!_cacheValid[(int)CacheSlot.FocusBorderHeight])
135_cacheValid[(int)CacheSlot.FocusBorderHeight] = true;
145_cacheValid[(int)CacheSlot.FocusBorderHeight] = false;
162lock (_cacheValid)
164while (!_cacheValid[(int)CacheSlot.HighContrast])
166_cacheValid[(int)CacheSlot.HighContrast] = true;
178_cacheValid[(int)CacheSlot.HighContrast] = false;
196lock (_cacheValid)
198while (!_cacheValid[(int)CacheSlot.MouseVanish])
200_cacheValid[(int)CacheSlot.MouseVanish] = true;
207_cacheValid[(int)CacheSlot.MouseVanish] = false;
286lock (_cacheValid)
288while (!_cacheValid[(int)CacheSlot.DropShadow])
290_cacheValid[(int)CacheSlot.DropShadow] = true;
297_cacheValid[(int)CacheSlot.DropShadow] = false;
315lock (_cacheValid)
317while (!_cacheValid[(int)CacheSlot.FlatMenu])
319_cacheValid[(int)CacheSlot.FlatMenu] = true;
326_cacheValid[(int)CacheSlot.FlatMenu] = false;
343lock (_cacheValid)
345while (!_cacheValid[(int)CacheSlot.WorkAreaInternal])
347_cacheValid[(int)CacheSlot.WorkAreaInternal] = true;
355_cacheValid[(int)CacheSlot.WorkAreaInternal] = false;
372lock (_cacheValid)
374while (!_cacheValid[(int)CacheSlot.WorkArea])
376_cacheValid[(int)CacheSlot.WorkArea] = true;
450lock (_cacheValid)
452while (!_cacheValid[(int)CacheSlot.IconMetrics])
454_cacheValid[(int)CacheSlot.IconMetrics] = true;
462_cacheValid[(int)CacheSlot.IconMetrics] = false;
569lock (_cacheValid)
571while (!_cacheValid[(int)CacheSlot.KeyboardCues])
573_cacheValid[(int)CacheSlot.KeyboardCues] = true;
580_cacheValid[(int)CacheSlot.KeyboardCues] = false;
597lock (_cacheValid)
599while (!_cacheValid[(int)CacheSlot.KeyboardDelay])
601_cacheValid[(int)CacheSlot.KeyboardDelay] = true;
608_cacheValid[(int)CacheSlot.KeyboardDelay] = false;
625lock (_cacheValid)
627while (!_cacheValid[(int)CacheSlot.KeyboardPreference])
629_cacheValid[(int)CacheSlot.KeyboardPreference] = true;
636_cacheValid[(int)CacheSlot.KeyboardPreference] = false;
653lock (_cacheValid)
655while (!_cacheValid[(int)CacheSlot.KeyboardSpeed])
657_cacheValid[(int)CacheSlot.KeyboardSpeed] = true;
664_cacheValid[(int)CacheSlot.KeyboardSpeed] = false;
681lock (_cacheValid)
683while (!_cacheValid[(int)CacheSlot.SnapToDefaultButton])
685_cacheValid[(int)CacheSlot.SnapToDefaultButton] = true;
692_cacheValid[(int)CacheSlot.SnapToDefaultButton] = false;
709lock (_cacheValid)
711while (!_cacheValid[(int)CacheSlot.WheelScrollLines])
713_cacheValid[(int)CacheSlot.WheelScrollLines] = true;
720_cacheValid[(int)CacheSlot.WheelScrollLines] = false;
745lock (_cacheValid)
747while (!_cacheValid[(int)CacheSlot.MouseHoverTime])
749_cacheValid[(int)CacheSlot.MouseHoverTime] = true;
756_cacheValid[(int)CacheSlot.MouseHoverTime] = false;
773lock (_cacheValid)
775while (!_cacheValid[(int)CacheSlot.MouseHoverHeight])
777_cacheValid[(int)CacheSlot.MouseHoverHeight] = true;
787_cacheValid[(int)CacheSlot.MouseHoverHeight] = false;
805lock (_cacheValid)
807while (!_cacheValid[(int)CacheSlot.MouseHoverWidth])
809_cacheValid[(int)CacheSlot.MouseHoverWidth] = true;
819_cacheValid[(int)CacheSlot.MouseHoverWidth] = false;
989lock (_cacheValid)
991while (!_cacheValid[(int)CacheSlot.MenuDropAlignment])
993_cacheValid[(int)CacheSlot.MenuDropAlignment] = true;
1000_cacheValid[(int)CacheSlot.MenuDropAlignment] = false;
1016lock (_cacheValid)
1018while (!_cacheValid[(int)CacheSlot.MenuFade])
1020_cacheValid[(int)CacheSlot.MenuFade] = true;
1027_cacheValid[(int)CacheSlot.MenuFade] = false;
1045lock (_cacheValid)
1047while (!_cacheValid[(int)CacheSlot.MenuShowDelay])
1049_cacheValid[(int)CacheSlot.MenuShowDelay] = true;
1056_cacheValid[(int)CacheSlot.MenuShowDelay] = false;
1148lock (_cacheValid)
1150while (!_cacheValid[(int)CacheSlot.ComboBoxAnimation])
1152_cacheValid[(int)CacheSlot.ComboBoxAnimation] = true;
1159_cacheValid[(int)CacheSlot.ComboBoxAnimation] = false;
1176lock (_cacheValid)
1178while (!_cacheValid[(int)CacheSlot.ClientAreaAnimation])
1180_cacheValid[(int)CacheSlot.ClientAreaAnimation] = true;
1190_cacheValid[(int)CacheSlot.ClientAreaAnimation] = false;
1212lock (_cacheValid)
1214while (!_cacheValid[(int)CacheSlot.CursorShadow])
1216_cacheValid[(int)CacheSlot.CursorShadow] = true;
1223_cacheValid[(int)CacheSlot.CursorShadow] = false;
1240lock (_cacheValid)
1242while (!_cacheValid[(int)CacheSlot.GradientCaptions])
1244_cacheValid[(int)CacheSlot.GradientCaptions] = true;
1251_cacheValid[(int)CacheSlot.GradientCaptions] = false;
1268lock (_cacheValid)
1270while (!_cacheValid[(int)CacheSlot.HotTracking])
1272_cacheValid[(int)CacheSlot.HotTracking] = true;
1279_cacheValid[(int)CacheSlot.HotTracking] = false;
1296lock (_cacheValid)
1298while (!_cacheValid[(int)CacheSlot.ListBoxSmoothScrolling])
1300_cacheValid[(int)CacheSlot.ListBoxSmoothScrolling] = true;
1307_cacheValid[(int)CacheSlot.ListBoxSmoothScrolling] = false;
1347lock (_cacheValid)
1349while (!_cacheValid[(int)CacheSlot.MenuAnimation])
1351_cacheValid[(int)CacheSlot.MenuAnimation] = true;
1358_cacheValid[(int)CacheSlot.MenuAnimation] = false;
1375lock (_cacheValid)
1377while (!_cacheValid[(int)CacheSlot.SelectionFade])
1379_cacheValid[(int)CacheSlot.SelectionFade] = true;
1386_cacheValid[(int)CacheSlot.SelectionFade] = false;
1403lock (_cacheValid)
1405while (!_cacheValid[(int)CacheSlot.StylusHotTracking])
1407_cacheValid[(int)CacheSlot.StylusHotTracking] = true;
1414_cacheValid[(int)CacheSlot.StylusHotTracking] = false;
1448lock (_cacheValid)
1450while (!_cacheValid[(int)CacheSlot.ToolTipAnimation])
1452_cacheValid[(int)CacheSlot.ToolTipAnimation] = true;
1459_cacheValid[(int)CacheSlot.ToolTipAnimation] = false;
1476lock (_cacheValid)
1478while (!_cacheValid[(int)CacheSlot.ToolTipFade])
1480_cacheValid[(int)CacheSlot.ToolTipFade] = true;
1487_cacheValid[(int)CacheSlot.ToolTipFade] = false;
1504lock (_cacheValid)
1506while (!_cacheValid[(int)CacheSlot.UIEffects])
1508_cacheValid[(int)CacheSlot.UIEffects] = true;
1515_cacheValid[(int)CacheSlot.UIEffects] = false;
1780lock (_cacheValid)
1782while (!_cacheValid[(int)CacheSlot.MinimizeAnimation])
1784_cacheValid[(int)CacheSlot.MinimizeAnimation] = true;
1794_cacheValid[(int)CacheSlot.MinimizeAnimation] = false;
1811lock (_cacheValid)
1813while (!_cacheValid[(int)CacheSlot.Border])
1815_cacheValid[(int)CacheSlot.Border] = true;
1822_cacheValid[(int)CacheSlot.Border] = false;
1839lock (_cacheValid)
1841while (!_cacheValid[(int)CacheSlot.CaretWidth])
1843_cacheValid[(int)CacheSlot.CaretWidth] = true;
1872_cacheValid[(int)CacheSlot.CaretWidth] = false;
1891lock (_cacheValid)
1893while (!_cacheValid[(int)CacheSlot.DragFullWindows])
1895_cacheValid[(int)CacheSlot.DragFullWindows] = true;
1902_cacheValid[(int)CacheSlot.DragFullWindows] = false;
1920lock (_cacheValid)
1922while (!_cacheValid[(int)CacheSlot.ForegroundFlashCount])
1924_cacheValid[(int)CacheSlot.ForegroundFlashCount] = true;
1931_cacheValid[(int)CacheSlot.ForegroundFlashCount] = false;
1948lock (_cacheValid)
1950while (!_cacheValid[(int)CacheSlot.NonClientMetrics])
1952_cacheValid[(int)CacheSlot.NonClientMetrics] = true;
1960_cacheValid[(int)CacheSlot.NonClientMetrics] = false;
2292lock (_cacheValid)
2294while (!_cacheValid[(int)CacheSlot.ThinHorizontalBorderHeight])
2296_cacheValid[(int)CacheSlot.ThinHorizontalBorderHeight] = true;
2313lock (_cacheValid)
2315while (!_cacheValid[(int)CacheSlot.ThinVerticalBorderWidth])
2317_cacheValid[(int)CacheSlot.ThinVerticalBorderWidth] = true;
2333lock (_cacheValid)
2335while (!_cacheValid[(int)CacheSlot.CursorWidth])
2337_cacheValid[(int)CacheSlot.CursorWidth] = true;
2353lock (_cacheValid)
2355while (!_cacheValid[(int)CacheSlot.CursorHeight])
2357_cacheValid[(int)CacheSlot.CursorHeight] = true;
2373lock (_cacheValid)
2375while (!_cacheValid[(int)CacheSlot.ThickHorizontalBorderHeight])
2377_cacheValid[(int)CacheSlot.ThickHorizontalBorderHeight] = true;
2393lock (_cacheValid)
2395while (!_cacheValid[(int)CacheSlot.ThickVerticalBorderWidth])
2397_cacheValid[(int)CacheSlot.ThickVerticalBorderWidth] = true;
2413lock (_cacheValid)
2415while (!_cacheValid[(int)CacheSlot.MinimumHorizontalDragDistance])
2417_cacheValid[(int)CacheSlot.MinimumHorizontalDragDistance] = true;
2433lock (_cacheValid)
2435while (!_cacheValid[(int)CacheSlot.MinimumVerticalDragDistance])
2437_cacheValid[(int)CacheSlot.MinimumVerticalDragDistance] = true;
2453lock (_cacheValid)
2455while(!_cacheValid[(int)CacheSlot.FixedFrameHorizontalBorderHeight])
2457_cacheValid[(int)CacheSlot.FixedFrameHorizontalBorderHeight] = true;
2473lock (_cacheValid)
2475while (!_cacheValid[(int)CacheSlot.FixedFrameVerticalBorderWidth])
2477_cacheValid[(int)CacheSlot.FixedFrameVerticalBorderWidth] = true;
2493lock (_cacheValid)
2495while (!_cacheValid[(int)CacheSlot.FocusHorizontalBorderHeight])
2497_cacheValid[(int)CacheSlot.FocusHorizontalBorderHeight] = true;
2513lock (_cacheValid)
2515while(!_cacheValid[(int)CacheSlot.FocusVerticalBorderWidth])
2517_cacheValid[(int)CacheSlot.FocusVerticalBorderWidth] = true;
2537lock (_cacheValid)
2539while (!_cacheValid[(int)CacheSlot.FullPrimaryScreenWidth])
2541_cacheValid[(int)CacheSlot.FullPrimaryScreenWidth] = true;
2560lock (_cacheValid)
2562while (!_cacheValid[(int)CacheSlot.FullPrimaryScreenHeight])
2564_cacheValid[(int)CacheSlot.FullPrimaryScreenHeight] = true;
2580lock (_cacheValid)
2582while (!_cacheValid[(int)CacheSlot.HorizontalScrollBarButtonWidth])
2584_cacheValid[(int)CacheSlot.HorizontalScrollBarButtonWidth] = true;
2600lock (_cacheValid)
2602while (!_cacheValid[(int)CacheSlot.HorizontalScrollBarHeight])
2604_cacheValid[(int)CacheSlot.HorizontalScrollBarHeight] = true;
2620lock (_cacheValid)
2622while (!_cacheValid[(int)CacheSlot.HorizontalScrollBarThumbWidth])
2624_cacheValid[(int)CacheSlot.HorizontalScrollBarThumbWidth] = true;
2640lock (_cacheValid)
2642while (!_cacheValid[(int)CacheSlot.IconWidth])
2644_cacheValid[(int)CacheSlot.IconWidth] = true;
2660lock (_cacheValid)
2662while (!_cacheValid[(int)CacheSlot.IconHeight])
2664_cacheValid[(int)CacheSlot.IconHeight] = true;
2680lock (_cacheValid)
2682while (!_cacheValid[(int)CacheSlot.IconGridWidth])
2684_cacheValid[(int)CacheSlot.IconGridWidth] = true;
2700lock (_cacheValid)
2702while (!_cacheValid[(int)CacheSlot.IconGridHeight])
2704_cacheValid[(int)CacheSlot.IconGridHeight] = true;
2723lock (_cacheValid)
2725while (!_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenWidth])
2727_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenWidth] = true;
2746lock (_cacheValid)
2748while (!_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenHeight])
2750_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenHeight] = true;
2769lock (_cacheValid)
2771while (!_cacheValid[(int)CacheSlot.MaximumWindowTrackWidth])
2773_cacheValid[(int)CacheSlot.MaximumWindowTrackWidth] = true;
2792lock (_cacheValid)
2794while (!_cacheValid[(int)CacheSlot.MaximumWindowTrackHeight])
2796_cacheValid[(int)CacheSlot.MaximumWindowTrackHeight] = true;
2812lock (_cacheValid)
2814while (!_cacheValid[(int)CacheSlot.MenuCheckmarkWidth])
2816_cacheValid[(int)CacheSlot.MenuCheckmarkWidth] = true;
2832lock (_cacheValid)
2834while (!_cacheValid[(int)CacheSlot.MenuCheckmarkHeight])
2836_cacheValid[(int)CacheSlot.MenuCheckmarkHeight] = true;
2852lock (_cacheValid)
2854while (!_cacheValid[(int)CacheSlot.MenuButtonWidth])
2856_cacheValid[(int)CacheSlot.MenuButtonWidth] = true;
2872lock (_cacheValid)
2874while (!_cacheValid[(int)CacheSlot.MenuButtonHeight])
2876_cacheValid[(int)CacheSlot.MenuButtonHeight] = true;
2895lock (_cacheValid)
2897while (!_cacheValid[(int)CacheSlot.MinimumWindowWidth])
2899_cacheValid[(int)CacheSlot.MinimumWindowWidth] = true;
2918lock (_cacheValid)
2920while (!_cacheValid[(int)CacheSlot.MinimumWindowHeight])
2922_cacheValid[(int)CacheSlot.MinimumWindowHeight] = true;
2941lock (_cacheValid)
2943while (!_cacheValid[(int)CacheSlot.MinimizedWindowWidth])
2945_cacheValid[(int)CacheSlot.MinimizedWindowWidth] = true;
2964lock (_cacheValid)
2966while (!_cacheValid[(int)CacheSlot.MinimizedWindowHeight])
2968_cacheValid[(int)CacheSlot.MinimizedWindowHeight] = true;
2984lock (_cacheValid)
2986while (!_cacheValid[(int)CacheSlot.MinimizedGridWidth])
2988_cacheValid[(int)CacheSlot.MinimizedGridWidth] = true;
3004lock (_cacheValid)
3006while (!_cacheValid[(int)CacheSlot.MinimizedGridHeight])
3008_cacheValid[(int)CacheSlot.MinimizedGridHeight] = true;
3027lock (_cacheValid)
3029while (!_cacheValid[(int)CacheSlot.MinimumWindowTrackWidth])
3031_cacheValid[(int)CacheSlot.MinimumWindowTrackWidth] = true;
3050lock (_cacheValid)
3052while (!_cacheValid[(int)CacheSlot.MinimumWindowTrackHeight])
3054_cacheValid[(int)CacheSlot.MinimumWindowTrackHeight] = true;
3070lock (_cacheValid)
3072while (!_cacheValid[(int)CacheSlot.PrimaryScreenWidth])
3074_cacheValid[(int)CacheSlot.PrimaryScreenWidth] = true;
3091lock (_cacheValid)
3093while(!_cacheValid[(int)CacheSlot.PrimaryScreenHeight])
3095_cacheValid[(int)CacheSlot.PrimaryScreenHeight] = true;
3114lock (_cacheValid)
3116while (!_cacheValid[(int)CacheSlot.WindowCaptionButtonWidth])
3118_cacheValid[(int)CacheSlot.WindowCaptionButtonWidth] = true;
3134lock (_cacheValid)
3136while (!_cacheValid[(int)CacheSlot.WindowCaptionButtonHeight])
3138_cacheValid[(int)CacheSlot.WindowCaptionButtonHeight] = true;
3155lock (_cacheValid)
3157while (!_cacheValid[(int)CacheSlot.ResizeFrameHorizontalBorderHeight])
3159_cacheValid[(int)CacheSlot.ResizeFrameHorizontalBorderHeight] = true;
3175lock (_cacheValid)
3177while (!_cacheValid[(int)CacheSlot.ResizeFrameVerticalBorderWidth])
3179_cacheValid[(int)CacheSlot.ResizeFrameVerticalBorderWidth] = true;
3195lock (_cacheValid)
3197while (!_cacheValid[(int)CacheSlot.SmallIconWidth])
3199_cacheValid[(int)CacheSlot.SmallIconWidth] = true;
3215lock (_cacheValid)
3217while (!_cacheValid[(int)CacheSlot.SmallIconHeight])
3219_cacheValid[(int)CacheSlot.SmallIconHeight] = true;
3235lock (_cacheValid)
3237while (!_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonWidth])
3239_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonWidth] = true;
3255lock (_cacheValid)
3257while (!_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonHeight])
3259_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonHeight] = true;
3278lock (_cacheValid)
3280while (!_cacheValid[(int)CacheSlot.VirtualScreenWidth])
3282_cacheValid[(int)CacheSlot.VirtualScreenWidth] = true;
3301lock (_cacheValid)
3303while (!_cacheValid[(int)CacheSlot.VirtualScreenHeight])
3305_cacheValid[(int)CacheSlot.VirtualScreenHeight] = true;
3322lock (_cacheValid)
3324while (!_cacheValid[(int)CacheSlot.VerticalScrollBarWidth])
3326_cacheValid[(int)CacheSlot.VerticalScrollBarWidth] = true;
3342lock (_cacheValid)
3344while (!_cacheValid[(int)CacheSlot.VerticalScrollBarButtonHeight])
3346_cacheValid[(int)CacheSlot.VerticalScrollBarButtonHeight] = true;
3365lock (_cacheValid)
3367while (!_cacheValid[(int)CacheSlot.WindowCaptionHeight])
3369_cacheValid[(int)CacheSlot.WindowCaptionHeight] = true;
3389lock (_cacheValid)
3391while (!_cacheValid[(int)CacheSlot.KanjiWindowHeight])
3393_cacheValid[(int)CacheSlot.KanjiWindowHeight] = true;
3412lock (_cacheValid)
3414while (!_cacheValid[(int)CacheSlot.MenuBarHeight])
3416_cacheValid[(int)CacheSlot.MenuBarHeight] = true;
3432lock (_cacheValid)
3434while (!_cacheValid[(int)CacheSlot.VerticalScrollBarThumbHeight])
3436_cacheValid[(int)CacheSlot.VerticalScrollBarThumbHeight] = true;
3455lock (_cacheValid)
3457while (!_cacheValid[(int)CacheSlot.IsImmEnabled])
3459_cacheValid[(int)CacheSlot.IsImmEnabled] = true;
3479lock (_cacheValid)
3481while (!_cacheValid[(int)CacheSlot.IsMediaCenter])
3483_cacheValid[(int)CacheSlot.IsMediaCenter] = true;
3499lock (_cacheValid)
3501while (!_cacheValid[(int)CacheSlot.IsMenuDropRightAligned])
3503_cacheValid[(int)CacheSlot.IsMenuDropRightAligned] = true;
3522lock (_cacheValid)
3524while (!_cacheValid[(int)CacheSlot.IsMiddleEastEnabled])
3526_cacheValid[(int)CacheSlot.IsMiddleEastEnabled] = true;
3542lock (_cacheValid)
3544while (!_cacheValid[(int)CacheSlot.IsMousePresent])
3546_cacheValid[(int)CacheSlot.IsMousePresent] = true;
3562lock (_cacheValid)
3564while (!_cacheValid[(int)CacheSlot.IsMouseWheelPresent])
3566_cacheValid[(int)CacheSlot.IsMouseWheelPresent] = true;
3585lock (_cacheValid)
3587while (!_cacheValid[(int)CacheSlot.IsPenWindows])
3589_cacheValid[(int)CacheSlot.IsPenWindows] = true;
3608lock (_cacheValid)
3610while (!_cacheValid[(int)CacheSlot.IsRemotelyControlled])
3612_cacheValid[(int)CacheSlot.IsRemotelyControlled] = true;
3631lock (_cacheValid)
3633while (!_cacheValid[(int)CacheSlot.IsRemoteSession])
3635_cacheValid[(int)CacheSlot.IsRemoteSession] = true;
3654lock (_cacheValid)
3656while (!_cacheValid[(int)CacheSlot.ShowSounds])
3658_cacheValid[(int)CacheSlot.ShowSounds] = true;
3677lock (_cacheValid)
3679while (!_cacheValid[(int)CacheSlot.IsSlowMachine])
3681_cacheValid[(int)CacheSlot.IsSlowMachine] = true;
3700lock (_cacheValid)
3702while (!_cacheValid[(int)CacheSlot.SwapButtons])
3704_cacheValid[(int)CacheSlot.SwapButtons] = true;
3723lock (_cacheValid)
3725while (!_cacheValid[(int)CacheSlot.IsTabletPC])
3727_cacheValid[(int)CacheSlot.IsTabletPC] = true;
3746lock (_cacheValid)
3748while (!_cacheValid[(int)CacheSlot.VirtualScreenLeft])
3750_cacheValid[(int)CacheSlot.VirtualScreenLeft] = true;
3769lock (_cacheValid)
3771while (!_cacheValid[(int)CacheSlot.VirtualScreenTop])
3773_cacheValid[(int)CacheSlot.VirtualScreenTop] = true;
4956lock (_cacheValid)
4958while (!_cacheValid[(int)CacheSlot.PowerLineStatus])
4960_cacheValid[(int)CacheSlot.PowerLineStatus] = true;
4969_cacheValid[(int)CacheSlot.PowerLineStatus] = false;
5058if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IsMousePresent))
5061if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IsMouseWheelPresent))
5074if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WorkAreaInternal))
5084if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WorkArea))
5087if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FullPrimaryScreenWidth))
5090if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FullPrimaryScreenHeight))
5093if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximizedPrimaryScreenWidth))
5096if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximizedPrimaryScreenHeight))
5099if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.PrimaryScreenWidth))
5102if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.PrimaryScreenHeight))
5105if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenWidth))
5108if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenHeight))
5111if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenLeft))
5114if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenTop))
5133if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.PowerLineStatus))
5150bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FocusBorderWidth);
5153if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FocusHorizontalBorderHeight))
5156if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FocusVerticalBorderWidth))
5180bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconMetrics);
5186if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconWidth))
5189if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconHeight))
5192if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridWidth))
5195if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridHeight))
5227bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuDropAlignment);
5229if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IsMenuDropRightAligned))
5278bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.NonClientMetrics);
5283changed |= SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.Border);
5286if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThinHorizontalBorderHeight))
5289if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThinVerticalBorderWidth))
5292if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.CursorWidth))
5295if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.CursorHeight))
5298if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThickHorizontalBorderHeight))
5301if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThickVerticalBorderWidth))
5304if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FixedFrameHorizontalBorderHeight))
5307if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FixedFrameVerticalBorderWidth))
5310if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.HorizontalScrollBarButtonWidth))
5313if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.HorizontalScrollBarHeight))
5316if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.HorizontalScrollBarThumbWidth))
5319if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconWidth))
5322if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconHeight))
5325if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridWidth))
5328if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridHeight))
5331if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximumWindowTrackWidth))
5334if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximumWindowTrackHeight))
5337if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuCheckmarkWidth))
5340if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuCheckmarkHeight))
5343if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuButtonWidth))
5346if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuButtonHeight))
5349if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowWidth))
5352if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowHeight))
5355if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedWindowWidth))
5358if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedWindowHeight))
5361if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedGridWidth))
5364if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedGridHeight))
5367if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowTrackWidth))
5370if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowTrackHeight))
5373if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WindowCaptionButtonWidth))
5376if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WindowCaptionButtonHeight))
5379if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ResizeFrameHorizontalBorderHeight))
5382if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ResizeFrameVerticalBorderWidth))
5385if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallIconWidth))
5388if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallIconHeight))
5391if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallWindowCaptionButtonWidth))
5394if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallWindowCaptionButtonHeight))
5397if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VerticalScrollBarWidth))
5400if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VerticalScrollBarButtonHeight))
5403if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WindowCaptionHeight))
5406if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuBarHeight))
5409if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VerticalScrollBarThumbHeight))
5494lock (_cacheValid)
5496while (!_cacheValid[(int)CacheSlot.IsGlassEnabled])
5498_cacheValid[(int)CacheSlot.IsGlassEnabled] = true;
5516lock (_cacheValid)
5518while (!_cacheValid[(int)CacheSlot.UxThemeName])
5520_cacheValid[(int)CacheSlot.UxThemeName] = true;
5551lock (_cacheValid)
5553while (!_cacheValid[(int)CacheSlot.UxThemeColor])
5555_cacheValid[(int)CacheSlot.UxThemeColor] = true;
5586lock (_cacheValid)
5588while (!_cacheValid[(int)CacheSlot.WindowCornerRadius])
5590_cacheValid[(int)CacheSlot.WindowCornerRadius] = true;
5644lock (_cacheValid)
5646while (!_cacheValid[(int)CacheSlot.WindowGlassColor])
5648_cacheValid[(int)CacheSlot.WindowGlassColor] = true;
5670lock (_cacheValid)
5672while (!_cacheValid[(int)CacheSlot.WindowGlassBrush])
5674_cacheValid[(int)CacheSlot.WindowGlassBrush] = true;
5694lock (_cacheValid)
5696while (!_cacheValid[(int)CacheSlot.WindowResizeBorderThickness])
5698_cacheValid[(int)CacheSlot.WindowResizeBorderThickness] = true;
5719lock (_cacheValid)
5721while (!_cacheValid[(int)CacheSlot.WindowNonClientFrameThickness])
5723_cacheValid[(int)CacheSlot.WindowNonClientFrameThickness] = true;
5752lock (_cacheValid)
5770_cacheValid[(int)CacheSlot.DpiX] = true;