System\Windows\SystemParameters.cs (465)
85if (!SystemResources.ClearSlot(_cacheValid, slot))
101lock (_cacheValid)
103while (!_cacheValid[(int)CacheSlot.FocusBorderWidth])
105_cacheValid[(int)CacheSlot.FocusBorderWidth] = true;
115_cacheValid[(int)CacheSlot.FocusBorderWidth] = false;
132lock (_cacheValid)
134while (!_cacheValid[(int)CacheSlot.FocusBorderHeight])
136_cacheValid[(int)CacheSlot.FocusBorderHeight] = true;
146_cacheValid[(int)CacheSlot.FocusBorderHeight] = false;
163lock (_cacheValid)
165while (!_cacheValid[(int)CacheSlot.HighContrast])
167_cacheValid[(int)CacheSlot.HighContrast] = true;
179_cacheValid[(int)CacheSlot.HighContrast] = false;
197lock (_cacheValid)
199while (!_cacheValid[(int)CacheSlot.MouseVanish])
201_cacheValid[(int)CacheSlot.MouseVanish] = true;
208_cacheValid[(int)CacheSlot.MouseVanish] = false;
287lock (_cacheValid)
289while (!_cacheValid[(int)CacheSlot.DropShadow])
291_cacheValid[(int)CacheSlot.DropShadow] = true;
298_cacheValid[(int)CacheSlot.DropShadow] = false;
316lock (_cacheValid)
318while (!_cacheValid[(int)CacheSlot.FlatMenu])
320_cacheValid[(int)CacheSlot.FlatMenu] = true;
327_cacheValid[(int)CacheSlot.FlatMenu] = false;
344lock (_cacheValid)
346while (!_cacheValid[(int)CacheSlot.WorkAreaInternal])
348_cacheValid[(int)CacheSlot.WorkAreaInternal] = true;
356_cacheValid[(int)CacheSlot.WorkAreaInternal] = false;
373lock (_cacheValid)
375while (!_cacheValid[(int)CacheSlot.WorkArea])
377_cacheValid[(int)CacheSlot.WorkArea] = true;
451lock (_cacheValid)
453while (!_cacheValid[(int)CacheSlot.IconMetrics])
455_cacheValid[(int)CacheSlot.IconMetrics] = true;
463_cacheValid[(int)CacheSlot.IconMetrics] = false;
570lock (_cacheValid)
572while (!_cacheValid[(int)CacheSlot.KeyboardCues])
574_cacheValid[(int)CacheSlot.KeyboardCues] = true;
581_cacheValid[(int)CacheSlot.KeyboardCues] = false;
598lock (_cacheValid)
600while (!_cacheValid[(int)CacheSlot.KeyboardDelay])
602_cacheValid[(int)CacheSlot.KeyboardDelay] = true;
609_cacheValid[(int)CacheSlot.KeyboardDelay] = false;
626lock (_cacheValid)
628while (!_cacheValid[(int)CacheSlot.KeyboardPreference])
630_cacheValid[(int)CacheSlot.KeyboardPreference] = true;
637_cacheValid[(int)CacheSlot.KeyboardPreference] = false;
654lock (_cacheValid)
656while (!_cacheValid[(int)CacheSlot.KeyboardSpeed])
658_cacheValid[(int)CacheSlot.KeyboardSpeed] = true;
665_cacheValid[(int)CacheSlot.KeyboardSpeed] = false;
682lock (_cacheValid)
684while (!_cacheValid[(int)CacheSlot.SnapToDefaultButton])
686_cacheValid[(int)CacheSlot.SnapToDefaultButton] = true;
693_cacheValid[(int)CacheSlot.SnapToDefaultButton] = false;
710lock (_cacheValid)
712while (!_cacheValid[(int)CacheSlot.WheelScrollLines])
714_cacheValid[(int)CacheSlot.WheelScrollLines] = true;
721_cacheValid[(int)CacheSlot.WheelScrollLines] = false;
746lock (_cacheValid)
748while (!_cacheValid[(int)CacheSlot.MouseHoverTime])
750_cacheValid[(int)CacheSlot.MouseHoverTime] = true;
757_cacheValid[(int)CacheSlot.MouseHoverTime] = false;
774lock (_cacheValid)
776while (!_cacheValid[(int)CacheSlot.MouseHoverHeight])
778_cacheValid[(int)CacheSlot.MouseHoverHeight] = true;
788_cacheValid[(int)CacheSlot.MouseHoverHeight] = false;
806lock (_cacheValid)
808while (!_cacheValid[(int)CacheSlot.MouseHoverWidth])
810_cacheValid[(int)CacheSlot.MouseHoverWidth] = true;
820_cacheValid[(int)CacheSlot.MouseHoverWidth] = false;
990lock (_cacheValid)
992while (!_cacheValid[(int)CacheSlot.MenuDropAlignment])
994_cacheValid[(int)CacheSlot.MenuDropAlignment] = true;
1001_cacheValid[(int)CacheSlot.MenuDropAlignment] = false;
1017lock (_cacheValid)
1019while (!_cacheValid[(int)CacheSlot.MenuFade])
1021_cacheValid[(int)CacheSlot.MenuFade] = true;
1028_cacheValid[(int)CacheSlot.MenuFade] = false;
1046lock (_cacheValid)
1048while (!_cacheValid[(int)CacheSlot.MenuShowDelay])
1050_cacheValid[(int)CacheSlot.MenuShowDelay] = true;
1057_cacheValid[(int)CacheSlot.MenuShowDelay] = false;
1149lock (_cacheValid)
1151while (!_cacheValid[(int)CacheSlot.ComboBoxAnimation])
1153_cacheValid[(int)CacheSlot.ComboBoxAnimation] = true;
1160_cacheValid[(int)CacheSlot.ComboBoxAnimation] = false;
1177lock (_cacheValid)
1179while (!_cacheValid[(int)CacheSlot.ClientAreaAnimation])
1181_cacheValid[(int)CacheSlot.ClientAreaAnimation] = true;
1191_cacheValid[(int)CacheSlot.ClientAreaAnimation] = false;
1213lock (_cacheValid)
1215while (!_cacheValid[(int)CacheSlot.CursorShadow])
1217_cacheValid[(int)CacheSlot.CursorShadow] = true;
1224_cacheValid[(int)CacheSlot.CursorShadow] = false;
1241lock (_cacheValid)
1243while (!_cacheValid[(int)CacheSlot.GradientCaptions])
1245_cacheValid[(int)CacheSlot.GradientCaptions] = true;
1252_cacheValid[(int)CacheSlot.GradientCaptions] = false;
1269lock (_cacheValid)
1271while (!_cacheValid[(int)CacheSlot.HotTracking])
1273_cacheValid[(int)CacheSlot.HotTracking] = true;
1280_cacheValid[(int)CacheSlot.HotTracking] = false;
1297lock (_cacheValid)
1299while (!_cacheValid[(int)CacheSlot.ListBoxSmoothScrolling])
1301_cacheValid[(int)CacheSlot.ListBoxSmoothScrolling] = true;
1308_cacheValid[(int)CacheSlot.ListBoxSmoothScrolling] = false;
1348lock (_cacheValid)
1350while (!_cacheValid[(int)CacheSlot.MenuAnimation])
1352_cacheValid[(int)CacheSlot.MenuAnimation] = true;
1359_cacheValid[(int)CacheSlot.MenuAnimation] = false;
1376lock (_cacheValid)
1378while (!_cacheValid[(int)CacheSlot.SelectionFade])
1380_cacheValid[(int)CacheSlot.SelectionFade] = true;
1387_cacheValid[(int)CacheSlot.SelectionFade] = false;
1404lock (_cacheValid)
1406while (!_cacheValid[(int)CacheSlot.StylusHotTracking])
1408_cacheValid[(int)CacheSlot.StylusHotTracking] = true;
1415_cacheValid[(int)CacheSlot.StylusHotTracking] = false;
1449lock (_cacheValid)
1451while (!_cacheValid[(int)CacheSlot.ToolTipAnimation])
1453_cacheValid[(int)CacheSlot.ToolTipAnimation] = true;
1460_cacheValid[(int)CacheSlot.ToolTipAnimation] = false;
1477lock (_cacheValid)
1479while (!_cacheValid[(int)CacheSlot.ToolTipFade])
1481_cacheValid[(int)CacheSlot.ToolTipFade] = true;
1488_cacheValid[(int)CacheSlot.ToolTipFade] = false;
1505lock (_cacheValid)
1507while (!_cacheValid[(int)CacheSlot.UIEffects])
1509_cacheValid[(int)CacheSlot.UIEffects] = true;
1516_cacheValid[(int)CacheSlot.UIEffects] = false;
1781lock (_cacheValid)
1783while (!_cacheValid[(int)CacheSlot.MinimizeAnimation])
1785_cacheValid[(int)CacheSlot.MinimizeAnimation] = true;
1795_cacheValid[(int)CacheSlot.MinimizeAnimation] = false;
1812lock (_cacheValid)
1814while (!_cacheValid[(int)CacheSlot.Border])
1816_cacheValid[(int)CacheSlot.Border] = true;
1823_cacheValid[(int)CacheSlot.Border] = false;
1840lock (_cacheValid)
1842while (!_cacheValid[(int)CacheSlot.CaretWidth])
1844_cacheValid[(int)CacheSlot.CaretWidth] = true;
1873_cacheValid[(int)CacheSlot.CaretWidth] = false;
1892lock (_cacheValid)
1894while (!_cacheValid[(int)CacheSlot.DragFullWindows])
1896_cacheValid[(int)CacheSlot.DragFullWindows] = true;
1903_cacheValid[(int)CacheSlot.DragFullWindows] = false;
1921lock (_cacheValid)
1923while (!_cacheValid[(int)CacheSlot.ForegroundFlashCount])
1925_cacheValid[(int)CacheSlot.ForegroundFlashCount] = true;
1932_cacheValid[(int)CacheSlot.ForegroundFlashCount] = false;
1949lock (_cacheValid)
1951while (!_cacheValid[(int)CacheSlot.NonClientMetrics])
1953_cacheValid[(int)CacheSlot.NonClientMetrics] = true;
1961_cacheValid[(int)CacheSlot.NonClientMetrics] = false;
2293lock (_cacheValid)
2295while (!_cacheValid[(int)CacheSlot.ThinHorizontalBorderHeight])
2297_cacheValid[(int)CacheSlot.ThinHorizontalBorderHeight] = true;
2314lock (_cacheValid)
2316while (!_cacheValid[(int)CacheSlot.ThinVerticalBorderWidth])
2318_cacheValid[(int)CacheSlot.ThinVerticalBorderWidth] = true;
2334lock (_cacheValid)
2336while (!_cacheValid[(int)CacheSlot.CursorWidth])
2338_cacheValid[(int)CacheSlot.CursorWidth] = true;
2354lock (_cacheValid)
2356while (!_cacheValid[(int)CacheSlot.CursorHeight])
2358_cacheValid[(int)CacheSlot.CursorHeight] = true;
2374lock (_cacheValid)
2376while (!_cacheValid[(int)CacheSlot.ThickHorizontalBorderHeight])
2378_cacheValid[(int)CacheSlot.ThickHorizontalBorderHeight] = true;
2394lock (_cacheValid)
2396while (!_cacheValid[(int)CacheSlot.ThickVerticalBorderWidth])
2398_cacheValid[(int)CacheSlot.ThickVerticalBorderWidth] = true;
2414lock (_cacheValid)
2416while (!_cacheValid[(int)CacheSlot.MinimumHorizontalDragDistance])
2418_cacheValid[(int)CacheSlot.MinimumHorizontalDragDistance] = true;
2434lock (_cacheValid)
2436while (!_cacheValid[(int)CacheSlot.MinimumVerticalDragDistance])
2438_cacheValid[(int)CacheSlot.MinimumVerticalDragDistance] = true;
2454lock (_cacheValid)
2456while(!_cacheValid[(int)CacheSlot.FixedFrameHorizontalBorderHeight])
2458_cacheValid[(int)CacheSlot.FixedFrameHorizontalBorderHeight] = true;
2474lock (_cacheValid)
2476while (!_cacheValid[(int)CacheSlot.FixedFrameVerticalBorderWidth])
2478_cacheValid[(int)CacheSlot.FixedFrameVerticalBorderWidth] = true;
2494lock (_cacheValid)
2496while (!_cacheValid[(int)CacheSlot.FocusHorizontalBorderHeight])
2498_cacheValid[(int)CacheSlot.FocusHorizontalBorderHeight] = true;
2514lock (_cacheValid)
2516while(!_cacheValid[(int)CacheSlot.FocusVerticalBorderWidth])
2518_cacheValid[(int)CacheSlot.FocusVerticalBorderWidth] = true;
2538lock (_cacheValid)
2540while (!_cacheValid[(int)CacheSlot.FullPrimaryScreenWidth])
2542_cacheValid[(int)CacheSlot.FullPrimaryScreenWidth] = true;
2561lock (_cacheValid)
2563while (!_cacheValid[(int)CacheSlot.FullPrimaryScreenHeight])
2565_cacheValid[(int)CacheSlot.FullPrimaryScreenHeight] = true;
2581lock (_cacheValid)
2583while (!_cacheValid[(int)CacheSlot.HorizontalScrollBarButtonWidth])
2585_cacheValid[(int)CacheSlot.HorizontalScrollBarButtonWidth] = true;
2601lock (_cacheValid)
2603while (!_cacheValid[(int)CacheSlot.HorizontalScrollBarHeight])
2605_cacheValid[(int)CacheSlot.HorizontalScrollBarHeight] = true;
2621lock (_cacheValid)
2623while (!_cacheValid[(int)CacheSlot.HorizontalScrollBarThumbWidth])
2625_cacheValid[(int)CacheSlot.HorizontalScrollBarThumbWidth] = true;
2641lock (_cacheValid)
2643while (!_cacheValid[(int)CacheSlot.IconWidth])
2645_cacheValid[(int)CacheSlot.IconWidth] = true;
2661lock (_cacheValid)
2663while (!_cacheValid[(int)CacheSlot.IconHeight])
2665_cacheValid[(int)CacheSlot.IconHeight] = true;
2681lock (_cacheValid)
2683while (!_cacheValid[(int)CacheSlot.IconGridWidth])
2685_cacheValid[(int)CacheSlot.IconGridWidth] = true;
2701lock (_cacheValid)
2703while (!_cacheValid[(int)CacheSlot.IconGridHeight])
2705_cacheValid[(int)CacheSlot.IconGridHeight] = true;
2724lock (_cacheValid)
2726while (!_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenWidth])
2728_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenWidth] = true;
2747lock (_cacheValid)
2749while (!_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenHeight])
2751_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenHeight] = true;
2770lock (_cacheValid)
2772while (!_cacheValid[(int)CacheSlot.MaximumWindowTrackWidth])
2774_cacheValid[(int)CacheSlot.MaximumWindowTrackWidth] = true;
2793lock (_cacheValid)
2795while (!_cacheValid[(int)CacheSlot.MaximumWindowTrackHeight])
2797_cacheValid[(int)CacheSlot.MaximumWindowTrackHeight] = true;
2813lock (_cacheValid)
2815while (!_cacheValid[(int)CacheSlot.MenuCheckmarkWidth])
2817_cacheValid[(int)CacheSlot.MenuCheckmarkWidth] = true;
2833lock (_cacheValid)
2835while (!_cacheValid[(int)CacheSlot.MenuCheckmarkHeight])
2837_cacheValid[(int)CacheSlot.MenuCheckmarkHeight] = true;
2853lock (_cacheValid)
2855while (!_cacheValid[(int)CacheSlot.MenuButtonWidth])
2857_cacheValid[(int)CacheSlot.MenuButtonWidth] = true;
2873lock (_cacheValid)
2875while (!_cacheValid[(int)CacheSlot.MenuButtonHeight])
2877_cacheValid[(int)CacheSlot.MenuButtonHeight] = true;
2896lock (_cacheValid)
2898while (!_cacheValid[(int)CacheSlot.MinimumWindowWidth])
2900_cacheValid[(int)CacheSlot.MinimumWindowWidth] = true;
2919lock (_cacheValid)
2921while (!_cacheValid[(int)CacheSlot.MinimumWindowHeight])
2923_cacheValid[(int)CacheSlot.MinimumWindowHeight] = true;
2942lock (_cacheValid)
2944while (!_cacheValid[(int)CacheSlot.MinimizedWindowWidth])
2946_cacheValid[(int)CacheSlot.MinimizedWindowWidth] = true;
2965lock (_cacheValid)
2967while (!_cacheValid[(int)CacheSlot.MinimizedWindowHeight])
2969_cacheValid[(int)CacheSlot.MinimizedWindowHeight] = true;
2985lock (_cacheValid)
2987while (!_cacheValid[(int)CacheSlot.MinimizedGridWidth])
2989_cacheValid[(int)CacheSlot.MinimizedGridWidth] = true;
3005lock (_cacheValid)
3007while (!_cacheValid[(int)CacheSlot.MinimizedGridHeight])
3009_cacheValid[(int)CacheSlot.MinimizedGridHeight] = true;
3028lock (_cacheValid)
3030while (!_cacheValid[(int)CacheSlot.MinimumWindowTrackWidth])
3032_cacheValid[(int)CacheSlot.MinimumWindowTrackWidth] = true;
3051lock (_cacheValid)
3053while (!_cacheValid[(int)CacheSlot.MinimumWindowTrackHeight])
3055_cacheValid[(int)CacheSlot.MinimumWindowTrackHeight] = true;
3071lock (_cacheValid)
3073while (!_cacheValid[(int)CacheSlot.PrimaryScreenWidth])
3075_cacheValid[(int)CacheSlot.PrimaryScreenWidth] = true;
3092lock (_cacheValid)
3094while(!_cacheValid[(int)CacheSlot.PrimaryScreenHeight])
3096_cacheValid[(int)CacheSlot.PrimaryScreenHeight] = true;
3115lock (_cacheValid)
3117while (!_cacheValid[(int)CacheSlot.WindowCaptionButtonWidth])
3119_cacheValid[(int)CacheSlot.WindowCaptionButtonWidth] = true;
3135lock (_cacheValid)
3137while (!_cacheValid[(int)CacheSlot.WindowCaptionButtonHeight])
3139_cacheValid[(int)CacheSlot.WindowCaptionButtonHeight] = true;
3156lock (_cacheValid)
3158while (!_cacheValid[(int)CacheSlot.ResizeFrameHorizontalBorderHeight])
3160_cacheValid[(int)CacheSlot.ResizeFrameHorizontalBorderHeight] = true;
3176lock (_cacheValid)
3178while (!_cacheValid[(int)CacheSlot.ResizeFrameVerticalBorderWidth])
3180_cacheValid[(int)CacheSlot.ResizeFrameVerticalBorderWidth] = true;
3196lock (_cacheValid)
3198while (!_cacheValid[(int)CacheSlot.SmallIconWidth])
3200_cacheValid[(int)CacheSlot.SmallIconWidth] = true;
3216lock (_cacheValid)
3218while (!_cacheValid[(int)CacheSlot.SmallIconHeight])
3220_cacheValid[(int)CacheSlot.SmallIconHeight] = true;
3236lock (_cacheValid)
3238while (!_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonWidth])
3240_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonWidth] = true;
3256lock (_cacheValid)
3258while (!_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonHeight])
3260_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonHeight] = true;
3279lock (_cacheValid)
3281while (!_cacheValid[(int)CacheSlot.VirtualScreenWidth])
3283_cacheValid[(int)CacheSlot.VirtualScreenWidth] = true;
3302lock (_cacheValid)
3304while (!_cacheValid[(int)CacheSlot.VirtualScreenHeight])
3306_cacheValid[(int)CacheSlot.VirtualScreenHeight] = true;
3323lock (_cacheValid)
3325while (!_cacheValid[(int)CacheSlot.VerticalScrollBarWidth])
3327_cacheValid[(int)CacheSlot.VerticalScrollBarWidth] = true;
3343lock (_cacheValid)
3345while (!_cacheValid[(int)CacheSlot.VerticalScrollBarButtonHeight])
3347_cacheValid[(int)CacheSlot.VerticalScrollBarButtonHeight] = true;
3366lock (_cacheValid)
3368while (!_cacheValid[(int)CacheSlot.WindowCaptionHeight])
3370_cacheValid[(int)CacheSlot.WindowCaptionHeight] = true;
3390lock (_cacheValid)
3392while (!_cacheValid[(int)CacheSlot.KanjiWindowHeight])
3394_cacheValid[(int)CacheSlot.KanjiWindowHeight] = true;
3413lock (_cacheValid)
3415while (!_cacheValid[(int)CacheSlot.MenuBarHeight])
3417_cacheValid[(int)CacheSlot.MenuBarHeight] = true;
3433lock (_cacheValid)
3435while (!_cacheValid[(int)CacheSlot.VerticalScrollBarThumbHeight])
3437_cacheValid[(int)CacheSlot.VerticalScrollBarThumbHeight] = true;
3456lock (_cacheValid)
3458while (!_cacheValid[(int)CacheSlot.IsImmEnabled])
3460_cacheValid[(int)CacheSlot.IsImmEnabled] = true;
3480lock (_cacheValid)
3482while (!_cacheValid[(int)CacheSlot.IsMediaCenter])
3484_cacheValid[(int)CacheSlot.IsMediaCenter] = true;
3500lock (_cacheValid)
3502while (!_cacheValid[(int)CacheSlot.IsMenuDropRightAligned])
3504_cacheValid[(int)CacheSlot.IsMenuDropRightAligned] = true;
3523lock (_cacheValid)
3525while (!_cacheValid[(int)CacheSlot.IsMiddleEastEnabled])
3527_cacheValid[(int)CacheSlot.IsMiddleEastEnabled] = true;
3543lock (_cacheValid)
3545while (!_cacheValid[(int)CacheSlot.IsMousePresent])
3547_cacheValid[(int)CacheSlot.IsMousePresent] = true;
3563lock (_cacheValid)
3565while (!_cacheValid[(int)CacheSlot.IsMouseWheelPresent])
3567_cacheValid[(int)CacheSlot.IsMouseWheelPresent] = true;
3586lock (_cacheValid)
3588while (!_cacheValid[(int)CacheSlot.IsPenWindows])
3590_cacheValid[(int)CacheSlot.IsPenWindows] = true;
3609lock (_cacheValid)
3611while (!_cacheValid[(int)CacheSlot.IsRemotelyControlled])
3613_cacheValid[(int)CacheSlot.IsRemotelyControlled] = true;
3632lock (_cacheValid)
3634while (!_cacheValid[(int)CacheSlot.IsRemoteSession])
3636_cacheValid[(int)CacheSlot.IsRemoteSession] = true;
3655lock (_cacheValid)
3657while (!_cacheValid[(int)CacheSlot.ShowSounds])
3659_cacheValid[(int)CacheSlot.ShowSounds] = true;
3678lock (_cacheValid)
3680while (!_cacheValid[(int)CacheSlot.IsSlowMachine])
3682_cacheValid[(int)CacheSlot.IsSlowMachine] = true;
3701lock (_cacheValid)
3703while (!_cacheValid[(int)CacheSlot.SwapButtons])
3705_cacheValid[(int)CacheSlot.SwapButtons] = true;
3724lock (_cacheValid)
3726while (!_cacheValid[(int)CacheSlot.IsTabletPC])
3728_cacheValid[(int)CacheSlot.IsTabletPC] = true;
3747lock (_cacheValid)
3749while (!_cacheValid[(int)CacheSlot.VirtualScreenLeft])
3751_cacheValid[(int)CacheSlot.VirtualScreenLeft] = true;
3770lock (_cacheValid)
3772while (!_cacheValid[(int)CacheSlot.VirtualScreenTop])
3774_cacheValid[(int)CacheSlot.VirtualScreenTop] = true;
4957lock (_cacheValid)
4959while (!_cacheValid[(int)CacheSlot.PowerLineStatus])
4961_cacheValid[(int)CacheSlot.PowerLineStatus] = true;
4970_cacheValid[(int)CacheSlot.PowerLineStatus] = false;
5059if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IsMousePresent))
5062if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IsMouseWheelPresent))
5075if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WorkAreaInternal))
5085if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WorkArea))
5088if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FullPrimaryScreenWidth))
5091if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FullPrimaryScreenHeight))
5094if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximizedPrimaryScreenWidth))
5097if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximizedPrimaryScreenHeight))
5100if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.PrimaryScreenWidth))
5103if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.PrimaryScreenHeight))
5106if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenWidth))
5109if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenHeight))
5112if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenLeft))
5115if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenTop))
5134if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.PowerLineStatus))
5151bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FocusBorderWidth);
5154if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FocusHorizontalBorderHeight))
5157if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FocusVerticalBorderWidth))
5181bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconMetrics);
5187if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconWidth))
5190if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconHeight))
5193if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridWidth))
5196if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridHeight))
5228bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuDropAlignment);
5230if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IsMenuDropRightAligned))
5279bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.NonClientMetrics);
5284changed |= SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.Border);
5287if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThinHorizontalBorderHeight))
5290if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThinVerticalBorderWidth))
5293if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.CursorWidth))
5296if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.CursorHeight))
5299if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThickHorizontalBorderHeight))
5302if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThickVerticalBorderWidth))
5305if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FixedFrameHorizontalBorderHeight))
5308if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FixedFrameVerticalBorderWidth))
5311if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.HorizontalScrollBarButtonWidth))
5314if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.HorizontalScrollBarHeight))
5317if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.HorizontalScrollBarThumbWidth))
5320if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconWidth))
5323if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconHeight))
5326if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridWidth))
5329if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridHeight))
5332if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximumWindowTrackWidth))
5335if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximumWindowTrackHeight))
5338if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuCheckmarkWidth))
5341if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuCheckmarkHeight))
5344if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuButtonWidth))
5347if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuButtonHeight))
5350if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowWidth))
5353if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowHeight))
5356if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedWindowWidth))
5359if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedWindowHeight))
5362if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedGridWidth))
5365if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedGridHeight))
5368if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowTrackWidth))
5371if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowTrackHeight))
5374if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WindowCaptionButtonWidth))
5377if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WindowCaptionButtonHeight))
5380if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ResizeFrameHorizontalBorderHeight))
5383if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ResizeFrameVerticalBorderWidth))
5386if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallIconWidth))
5389if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallIconHeight))
5392if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallWindowCaptionButtonWidth))
5395if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallWindowCaptionButtonHeight))
5398if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VerticalScrollBarWidth))
5401if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VerticalScrollBarButtonHeight))
5404if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WindowCaptionHeight))
5407if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuBarHeight))
5410if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VerticalScrollBarThumbHeight))
5495lock (_cacheValid)
5497while (!_cacheValid[(int)CacheSlot.IsGlassEnabled])
5499_cacheValid[(int)CacheSlot.IsGlassEnabled] = true;
5517lock (_cacheValid)
5519while (!_cacheValid[(int)CacheSlot.UxThemeName])
5521_cacheValid[(int)CacheSlot.UxThemeName] = true;
5552lock (_cacheValid)
5554while (!_cacheValid[(int)CacheSlot.UxThemeColor])
5556_cacheValid[(int)CacheSlot.UxThemeColor] = true;
5587lock (_cacheValid)
5589while (!_cacheValid[(int)CacheSlot.WindowCornerRadius])
5591_cacheValid[(int)CacheSlot.WindowCornerRadius] = true;
5645lock (_cacheValid)
5647while (!_cacheValid[(int)CacheSlot.WindowGlassColor])
5649_cacheValid[(int)CacheSlot.WindowGlassColor] = true;
5671lock (_cacheValid)
5673while (!_cacheValid[(int)CacheSlot.WindowGlassBrush])
5675_cacheValid[(int)CacheSlot.WindowGlassBrush] = true;
5695lock (_cacheValid)
5697while (!_cacheValid[(int)CacheSlot.WindowResizeBorderThickness])
5699_cacheValid[(int)CacheSlot.WindowResizeBorderThickness] = true;
5720lock (_cacheValid)
5722while (!_cacheValid[(int)CacheSlot.WindowNonClientFrameThickness])
5724_cacheValid[(int)CacheSlot.WindowNonClientFrameThickness] = true;
5753lock (_cacheValid)
5771_cacheValid[(int)CacheSlot.DpiX] = true;