System\Windows\SystemParameters.cs (465)
88if (!SystemResources.ClearSlot(_cacheValid, slot))
111lock (_cacheValid)
113while (!_cacheValid[(int)CacheSlot.FocusBorderWidth])
115_cacheValid[(int)CacheSlot.FocusBorderWidth] = true;
125_cacheValid[(int)CacheSlot.FocusBorderWidth] = false;
142lock (_cacheValid)
144while (!_cacheValid[(int)CacheSlot.FocusBorderHeight])
146_cacheValid[(int)CacheSlot.FocusBorderHeight] = true;
156_cacheValid[(int)CacheSlot.FocusBorderHeight] = false;
173lock (_cacheValid)
175while (!_cacheValid[(int)CacheSlot.HighContrast])
177_cacheValid[(int)CacheSlot.HighContrast] = true;
188_cacheValid[(int)CacheSlot.HighContrast] = false;
206lock (_cacheValid)
208while (!_cacheValid[(int)CacheSlot.MouseVanish])
210_cacheValid[(int)CacheSlot.MouseVanish] = true;
217_cacheValid[(int)CacheSlot.MouseVanish] = false;
296lock (_cacheValid)
298while (!_cacheValid[(int)CacheSlot.DropShadow])
300_cacheValid[(int)CacheSlot.DropShadow] = true;
307_cacheValid[(int)CacheSlot.DropShadow] = false;
325lock (_cacheValid)
327while (!_cacheValid[(int)CacheSlot.FlatMenu])
329_cacheValid[(int)CacheSlot.FlatMenu] = true;
336_cacheValid[(int)CacheSlot.FlatMenu] = false;
353lock (_cacheValid)
355while (!_cacheValid[(int)CacheSlot.WorkAreaInternal])
357_cacheValid[(int)CacheSlot.WorkAreaInternal] = true;
365_cacheValid[(int)CacheSlot.WorkAreaInternal] = false;
382lock (_cacheValid)
384while (!_cacheValid[(int)CacheSlot.WorkArea])
386_cacheValid[(int)CacheSlot.WorkArea] = true;
460lock (_cacheValid)
462while (!_cacheValid[(int)CacheSlot.IconMetrics])
464_cacheValid[(int)CacheSlot.IconMetrics] = true;
472_cacheValid[(int)CacheSlot.IconMetrics] = false;
579lock (_cacheValid)
581while (!_cacheValid[(int)CacheSlot.KeyboardCues])
583_cacheValid[(int)CacheSlot.KeyboardCues] = true;
590_cacheValid[(int)CacheSlot.KeyboardCues] = false;
607lock (_cacheValid)
609while (!_cacheValid[(int)CacheSlot.KeyboardDelay])
611_cacheValid[(int)CacheSlot.KeyboardDelay] = true;
618_cacheValid[(int)CacheSlot.KeyboardDelay] = false;
635lock (_cacheValid)
637while (!_cacheValid[(int)CacheSlot.KeyboardPreference])
639_cacheValid[(int)CacheSlot.KeyboardPreference] = true;
646_cacheValid[(int)CacheSlot.KeyboardPreference] = false;
663lock (_cacheValid)
665while (!_cacheValid[(int)CacheSlot.KeyboardSpeed])
667_cacheValid[(int)CacheSlot.KeyboardSpeed] = true;
674_cacheValid[(int)CacheSlot.KeyboardSpeed] = false;
691lock (_cacheValid)
693while (!_cacheValid[(int)CacheSlot.SnapToDefaultButton])
695_cacheValid[(int)CacheSlot.SnapToDefaultButton] = true;
702_cacheValid[(int)CacheSlot.SnapToDefaultButton] = false;
719lock (_cacheValid)
721while (!_cacheValid[(int)CacheSlot.WheelScrollLines])
723_cacheValid[(int)CacheSlot.WheelScrollLines] = true;
730_cacheValid[(int)CacheSlot.WheelScrollLines] = false;
755lock (_cacheValid)
757while (!_cacheValid[(int)CacheSlot.MouseHoverTime])
759_cacheValid[(int)CacheSlot.MouseHoverTime] = true;
766_cacheValid[(int)CacheSlot.MouseHoverTime] = false;
783lock (_cacheValid)
785while (!_cacheValid[(int)CacheSlot.MouseHoverHeight])
787_cacheValid[(int)CacheSlot.MouseHoverHeight] = true;
797_cacheValid[(int)CacheSlot.MouseHoverHeight] = false;
815lock (_cacheValid)
817while (!_cacheValid[(int)CacheSlot.MouseHoverWidth])
819_cacheValid[(int)CacheSlot.MouseHoverWidth] = true;
829_cacheValid[(int)CacheSlot.MouseHoverWidth] = false;
999lock (_cacheValid)
1001while (!_cacheValid[(int)CacheSlot.MenuDropAlignment])
1003_cacheValid[(int)CacheSlot.MenuDropAlignment] = true;
1010_cacheValid[(int)CacheSlot.MenuDropAlignment] = false;
1026lock (_cacheValid)
1028while (!_cacheValid[(int)CacheSlot.MenuFade])
1030_cacheValid[(int)CacheSlot.MenuFade] = true;
1037_cacheValid[(int)CacheSlot.MenuFade] = false;
1055lock (_cacheValid)
1057while (!_cacheValid[(int)CacheSlot.MenuShowDelay])
1059_cacheValid[(int)CacheSlot.MenuShowDelay] = true;
1066_cacheValid[(int)CacheSlot.MenuShowDelay] = false;
1158lock (_cacheValid)
1160while (!_cacheValid[(int)CacheSlot.ComboBoxAnimation])
1162_cacheValid[(int)CacheSlot.ComboBoxAnimation] = true;
1169_cacheValid[(int)CacheSlot.ComboBoxAnimation] = false;
1186lock (_cacheValid)
1188while (!_cacheValid[(int)CacheSlot.ClientAreaAnimation])
1190_cacheValid[(int)CacheSlot.ClientAreaAnimation] = true;
1200_cacheValid[(int)CacheSlot.ClientAreaAnimation] = false;
1222lock (_cacheValid)
1224while (!_cacheValid[(int)CacheSlot.CursorShadow])
1226_cacheValid[(int)CacheSlot.CursorShadow] = true;
1233_cacheValid[(int)CacheSlot.CursorShadow] = false;
1250lock (_cacheValid)
1252while (!_cacheValid[(int)CacheSlot.GradientCaptions])
1254_cacheValid[(int)CacheSlot.GradientCaptions] = true;
1261_cacheValid[(int)CacheSlot.GradientCaptions] = false;
1278lock (_cacheValid)
1280while (!_cacheValid[(int)CacheSlot.HotTracking])
1282_cacheValid[(int)CacheSlot.HotTracking] = true;
1289_cacheValid[(int)CacheSlot.HotTracking] = false;
1306lock (_cacheValid)
1308while (!_cacheValid[(int)CacheSlot.ListBoxSmoothScrolling])
1310_cacheValid[(int)CacheSlot.ListBoxSmoothScrolling] = true;
1317_cacheValid[(int)CacheSlot.ListBoxSmoothScrolling] = false;
1357lock (_cacheValid)
1359while (!_cacheValid[(int)CacheSlot.MenuAnimation])
1361_cacheValid[(int)CacheSlot.MenuAnimation] = true;
1368_cacheValid[(int)CacheSlot.MenuAnimation] = false;
1385lock (_cacheValid)
1387while (!_cacheValid[(int)CacheSlot.SelectionFade])
1389_cacheValid[(int)CacheSlot.SelectionFade] = true;
1396_cacheValid[(int)CacheSlot.SelectionFade] = false;
1413lock (_cacheValid)
1415while (!_cacheValid[(int)CacheSlot.StylusHotTracking])
1417_cacheValid[(int)CacheSlot.StylusHotTracking] = true;
1424_cacheValid[(int)CacheSlot.StylusHotTracking] = false;
1458lock (_cacheValid)
1460while (!_cacheValid[(int)CacheSlot.ToolTipAnimation])
1462_cacheValid[(int)CacheSlot.ToolTipAnimation] = true;
1469_cacheValid[(int)CacheSlot.ToolTipAnimation] = false;
1486lock (_cacheValid)
1488while (!_cacheValid[(int)CacheSlot.ToolTipFade])
1490_cacheValid[(int)CacheSlot.ToolTipFade] = true;
1497_cacheValid[(int)CacheSlot.ToolTipFade] = false;
1514lock (_cacheValid)
1516while (!_cacheValid[(int)CacheSlot.UIEffects])
1518_cacheValid[(int)CacheSlot.UIEffects] = true;
1525_cacheValid[(int)CacheSlot.UIEffects] = false;
1790lock (_cacheValid)
1792while (!_cacheValid[(int)CacheSlot.MinimizeAnimation])
1794_cacheValid[(int)CacheSlot.MinimizeAnimation] = true;
1804_cacheValid[(int)CacheSlot.MinimizeAnimation] = false;
1821lock (_cacheValid)
1823while (!_cacheValid[(int)CacheSlot.Border])
1825_cacheValid[(int)CacheSlot.Border] = true;
1832_cacheValid[(int)CacheSlot.Border] = false;
1849lock (_cacheValid)
1851while (!_cacheValid[(int)CacheSlot.CaretWidth])
1853_cacheValid[(int)CacheSlot.CaretWidth] = true;
1882_cacheValid[(int)CacheSlot.CaretWidth] = false;
1901lock (_cacheValid)
1903while (!_cacheValid[(int)CacheSlot.DragFullWindows])
1905_cacheValid[(int)CacheSlot.DragFullWindows] = true;
1912_cacheValid[(int)CacheSlot.DragFullWindows] = false;
1930lock (_cacheValid)
1932while (!_cacheValid[(int)CacheSlot.ForegroundFlashCount])
1934_cacheValid[(int)CacheSlot.ForegroundFlashCount] = true;
1941_cacheValid[(int)CacheSlot.ForegroundFlashCount] = false;
1958lock (_cacheValid)
1960while (!_cacheValid[(int)CacheSlot.NonClientMetrics])
1962_cacheValid[(int)CacheSlot.NonClientMetrics] = true;
1970_cacheValid[(int)CacheSlot.NonClientMetrics] = false;
2302lock (_cacheValid)
2304while (!_cacheValid[(int)CacheSlot.ThinHorizontalBorderHeight])
2306_cacheValid[(int)CacheSlot.ThinHorizontalBorderHeight] = true;
2323lock (_cacheValid)
2325while (!_cacheValid[(int)CacheSlot.ThinVerticalBorderWidth])
2327_cacheValid[(int)CacheSlot.ThinVerticalBorderWidth] = true;
2343lock (_cacheValid)
2345while (!_cacheValid[(int)CacheSlot.CursorWidth])
2347_cacheValid[(int)CacheSlot.CursorWidth] = true;
2363lock (_cacheValid)
2365while (!_cacheValid[(int)CacheSlot.CursorHeight])
2367_cacheValid[(int)CacheSlot.CursorHeight] = true;
2383lock (_cacheValid)
2385while (!_cacheValid[(int)CacheSlot.ThickHorizontalBorderHeight])
2387_cacheValid[(int)CacheSlot.ThickHorizontalBorderHeight] = true;
2403lock (_cacheValid)
2405while (!_cacheValid[(int)CacheSlot.ThickVerticalBorderWidth])
2407_cacheValid[(int)CacheSlot.ThickVerticalBorderWidth] = true;
2423lock (_cacheValid)
2425while (!_cacheValid[(int)CacheSlot.MinimumHorizontalDragDistance])
2427_cacheValid[(int)CacheSlot.MinimumHorizontalDragDistance] = true;
2443lock (_cacheValid)
2445while (!_cacheValid[(int)CacheSlot.MinimumVerticalDragDistance])
2447_cacheValid[(int)CacheSlot.MinimumVerticalDragDistance] = true;
2463lock (_cacheValid)
2465while(!_cacheValid[(int)CacheSlot.FixedFrameHorizontalBorderHeight])
2467_cacheValid[(int)CacheSlot.FixedFrameHorizontalBorderHeight] = true;
2483lock (_cacheValid)
2485while (!_cacheValid[(int)CacheSlot.FixedFrameVerticalBorderWidth])
2487_cacheValid[(int)CacheSlot.FixedFrameVerticalBorderWidth] = true;
2503lock (_cacheValid)
2505while (!_cacheValid[(int)CacheSlot.FocusHorizontalBorderHeight])
2507_cacheValid[(int)CacheSlot.FocusHorizontalBorderHeight] = true;
2523lock (_cacheValid)
2525while(!_cacheValid[(int)CacheSlot.FocusVerticalBorderWidth])
2527_cacheValid[(int)CacheSlot.FocusVerticalBorderWidth] = true;
2547lock (_cacheValid)
2549while (!_cacheValid[(int)CacheSlot.FullPrimaryScreenWidth])
2551_cacheValid[(int)CacheSlot.FullPrimaryScreenWidth] = true;
2570lock (_cacheValid)
2572while (!_cacheValid[(int)CacheSlot.FullPrimaryScreenHeight])
2574_cacheValid[(int)CacheSlot.FullPrimaryScreenHeight] = true;
2590lock (_cacheValid)
2592while (!_cacheValid[(int)CacheSlot.HorizontalScrollBarButtonWidth])
2594_cacheValid[(int)CacheSlot.HorizontalScrollBarButtonWidth] = true;
2610lock (_cacheValid)
2612while (!_cacheValid[(int)CacheSlot.HorizontalScrollBarHeight])
2614_cacheValid[(int)CacheSlot.HorizontalScrollBarHeight] = true;
2630lock (_cacheValid)
2632while (!_cacheValid[(int)CacheSlot.HorizontalScrollBarThumbWidth])
2634_cacheValid[(int)CacheSlot.HorizontalScrollBarThumbWidth] = true;
2650lock (_cacheValid)
2652while (!_cacheValid[(int)CacheSlot.IconWidth])
2654_cacheValid[(int)CacheSlot.IconWidth] = true;
2670lock (_cacheValid)
2672while (!_cacheValid[(int)CacheSlot.IconHeight])
2674_cacheValid[(int)CacheSlot.IconHeight] = true;
2690lock (_cacheValid)
2692while (!_cacheValid[(int)CacheSlot.IconGridWidth])
2694_cacheValid[(int)CacheSlot.IconGridWidth] = true;
2710lock (_cacheValid)
2712while (!_cacheValid[(int)CacheSlot.IconGridHeight])
2714_cacheValid[(int)CacheSlot.IconGridHeight] = true;
2733lock (_cacheValid)
2735while (!_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenWidth])
2737_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenWidth] = true;
2756lock (_cacheValid)
2758while (!_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenHeight])
2760_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenHeight] = true;
2779lock (_cacheValid)
2781while (!_cacheValid[(int)CacheSlot.MaximumWindowTrackWidth])
2783_cacheValid[(int)CacheSlot.MaximumWindowTrackWidth] = true;
2802lock (_cacheValid)
2804while (!_cacheValid[(int)CacheSlot.MaximumWindowTrackHeight])
2806_cacheValid[(int)CacheSlot.MaximumWindowTrackHeight] = true;
2822lock (_cacheValid)
2824while (!_cacheValid[(int)CacheSlot.MenuCheckmarkWidth])
2826_cacheValid[(int)CacheSlot.MenuCheckmarkWidth] = true;
2842lock (_cacheValid)
2844while (!_cacheValid[(int)CacheSlot.MenuCheckmarkHeight])
2846_cacheValid[(int)CacheSlot.MenuCheckmarkHeight] = true;
2862lock (_cacheValid)
2864while (!_cacheValid[(int)CacheSlot.MenuButtonWidth])
2866_cacheValid[(int)CacheSlot.MenuButtonWidth] = true;
2882lock (_cacheValid)
2884while (!_cacheValid[(int)CacheSlot.MenuButtonHeight])
2886_cacheValid[(int)CacheSlot.MenuButtonHeight] = true;
2905lock (_cacheValid)
2907while (!_cacheValid[(int)CacheSlot.MinimumWindowWidth])
2909_cacheValid[(int)CacheSlot.MinimumWindowWidth] = true;
2928lock (_cacheValid)
2930while (!_cacheValid[(int)CacheSlot.MinimumWindowHeight])
2932_cacheValid[(int)CacheSlot.MinimumWindowHeight] = true;
2951lock (_cacheValid)
2953while (!_cacheValid[(int)CacheSlot.MinimizedWindowWidth])
2955_cacheValid[(int)CacheSlot.MinimizedWindowWidth] = true;
2974lock (_cacheValid)
2976while (!_cacheValid[(int)CacheSlot.MinimizedWindowHeight])
2978_cacheValid[(int)CacheSlot.MinimizedWindowHeight] = true;
2994lock (_cacheValid)
2996while (!_cacheValid[(int)CacheSlot.MinimizedGridWidth])
2998_cacheValid[(int)CacheSlot.MinimizedGridWidth] = true;
3014lock (_cacheValid)
3016while (!_cacheValid[(int)CacheSlot.MinimizedGridHeight])
3018_cacheValid[(int)CacheSlot.MinimizedGridHeight] = true;
3037lock (_cacheValid)
3039while (!_cacheValid[(int)CacheSlot.MinimumWindowTrackWidth])
3041_cacheValid[(int)CacheSlot.MinimumWindowTrackWidth] = true;
3060lock (_cacheValid)
3062while (!_cacheValid[(int)CacheSlot.MinimumWindowTrackHeight])
3064_cacheValid[(int)CacheSlot.MinimumWindowTrackHeight] = true;
3080lock (_cacheValid)
3082while (!_cacheValid[(int)CacheSlot.PrimaryScreenWidth])
3084_cacheValid[(int)CacheSlot.PrimaryScreenWidth] = true;
3101lock (_cacheValid)
3103while(!_cacheValid[(int)CacheSlot.PrimaryScreenHeight])
3105_cacheValid[(int)CacheSlot.PrimaryScreenHeight] = true;
3124lock (_cacheValid)
3126while (!_cacheValid[(int)CacheSlot.WindowCaptionButtonWidth])
3128_cacheValid[(int)CacheSlot.WindowCaptionButtonWidth] = true;
3144lock (_cacheValid)
3146while (!_cacheValid[(int)CacheSlot.WindowCaptionButtonHeight])
3148_cacheValid[(int)CacheSlot.WindowCaptionButtonHeight] = true;
3165lock (_cacheValid)
3167while (!_cacheValid[(int)CacheSlot.ResizeFrameHorizontalBorderHeight])
3169_cacheValid[(int)CacheSlot.ResizeFrameHorizontalBorderHeight] = true;
3185lock (_cacheValid)
3187while (!_cacheValid[(int)CacheSlot.ResizeFrameVerticalBorderWidth])
3189_cacheValid[(int)CacheSlot.ResizeFrameVerticalBorderWidth] = true;
3205lock (_cacheValid)
3207while (!_cacheValid[(int)CacheSlot.SmallIconWidth])
3209_cacheValid[(int)CacheSlot.SmallIconWidth] = true;
3225lock (_cacheValid)
3227while (!_cacheValid[(int)CacheSlot.SmallIconHeight])
3229_cacheValid[(int)CacheSlot.SmallIconHeight] = true;
3245lock (_cacheValid)
3247while (!_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonWidth])
3249_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonWidth] = true;
3265lock (_cacheValid)
3267while (!_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonHeight])
3269_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonHeight] = true;
3288lock (_cacheValid)
3290while (!_cacheValid[(int)CacheSlot.VirtualScreenWidth])
3292_cacheValid[(int)CacheSlot.VirtualScreenWidth] = true;
3311lock (_cacheValid)
3313while (!_cacheValid[(int)CacheSlot.VirtualScreenHeight])
3315_cacheValid[(int)CacheSlot.VirtualScreenHeight] = true;
3332lock (_cacheValid)
3334while (!_cacheValid[(int)CacheSlot.VerticalScrollBarWidth])
3336_cacheValid[(int)CacheSlot.VerticalScrollBarWidth] = true;
3352lock (_cacheValid)
3354while (!_cacheValid[(int)CacheSlot.VerticalScrollBarButtonHeight])
3356_cacheValid[(int)CacheSlot.VerticalScrollBarButtonHeight] = true;
3375lock (_cacheValid)
3377while (!_cacheValid[(int)CacheSlot.WindowCaptionHeight])
3379_cacheValid[(int)CacheSlot.WindowCaptionHeight] = true;
3399lock (_cacheValid)
3401while (!_cacheValid[(int)CacheSlot.KanjiWindowHeight])
3403_cacheValid[(int)CacheSlot.KanjiWindowHeight] = true;
3422lock (_cacheValid)
3424while (!_cacheValid[(int)CacheSlot.MenuBarHeight])
3426_cacheValid[(int)CacheSlot.MenuBarHeight] = true;
3442lock (_cacheValid)
3444while (!_cacheValid[(int)CacheSlot.VerticalScrollBarThumbHeight])
3446_cacheValid[(int)CacheSlot.VerticalScrollBarThumbHeight] = true;
3465lock (_cacheValid)
3467while (!_cacheValid[(int)CacheSlot.IsImmEnabled])
3469_cacheValid[(int)CacheSlot.IsImmEnabled] = true;
3489lock (_cacheValid)
3491while (!_cacheValid[(int)CacheSlot.IsMediaCenter])
3493_cacheValid[(int)CacheSlot.IsMediaCenter] = true;
3509lock (_cacheValid)
3511while (!_cacheValid[(int)CacheSlot.IsMenuDropRightAligned])
3513_cacheValid[(int)CacheSlot.IsMenuDropRightAligned] = true;
3532lock (_cacheValid)
3534while (!_cacheValid[(int)CacheSlot.IsMiddleEastEnabled])
3536_cacheValid[(int)CacheSlot.IsMiddleEastEnabled] = true;
3552lock (_cacheValid)
3554while (!_cacheValid[(int)CacheSlot.IsMousePresent])
3556_cacheValid[(int)CacheSlot.IsMousePresent] = true;
3572lock (_cacheValid)
3574while (!_cacheValid[(int)CacheSlot.IsMouseWheelPresent])
3576_cacheValid[(int)CacheSlot.IsMouseWheelPresent] = true;
3595lock (_cacheValid)
3597while (!_cacheValid[(int)CacheSlot.IsPenWindows])
3599_cacheValid[(int)CacheSlot.IsPenWindows] = true;
3618lock (_cacheValid)
3620while (!_cacheValid[(int)CacheSlot.IsRemotelyControlled])
3622_cacheValid[(int)CacheSlot.IsRemotelyControlled] = true;
3641lock (_cacheValid)
3643while (!_cacheValid[(int)CacheSlot.IsRemoteSession])
3645_cacheValid[(int)CacheSlot.IsRemoteSession] = true;
3664lock (_cacheValid)
3666while (!_cacheValid[(int)CacheSlot.ShowSounds])
3668_cacheValid[(int)CacheSlot.ShowSounds] = true;
3687lock (_cacheValid)
3689while (!_cacheValid[(int)CacheSlot.IsSlowMachine])
3691_cacheValid[(int)CacheSlot.IsSlowMachine] = true;
3710lock (_cacheValid)
3712while (!_cacheValid[(int)CacheSlot.SwapButtons])
3714_cacheValid[(int)CacheSlot.SwapButtons] = true;
3733lock (_cacheValid)
3735while (!_cacheValid[(int)CacheSlot.IsTabletPC])
3737_cacheValid[(int)CacheSlot.IsTabletPC] = true;
3756lock (_cacheValid)
3758while (!_cacheValid[(int)CacheSlot.VirtualScreenLeft])
3760_cacheValid[(int)CacheSlot.VirtualScreenLeft] = true;
3779lock (_cacheValid)
3781while (!_cacheValid[(int)CacheSlot.VirtualScreenTop])
3783_cacheValid[(int)CacheSlot.VirtualScreenTop] = true;
4966lock (_cacheValid)
4968while (!_cacheValid[(int)CacheSlot.PowerLineStatus])
4970_cacheValid[(int)CacheSlot.PowerLineStatus] = true;
4979_cacheValid[(int)CacheSlot.PowerLineStatus] = false;
5073if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IsMousePresent))
5076if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IsMouseWheelPresent))
5089if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WorkAreaInternal))
5099if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WorkArea))
5102if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FullPrimaryScreenWidth))
5105if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FullPrimaryScreenHeight))
5108if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximizedPrimaryScreenWidth))
5111if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximizedPrimaryScreenHeight))
5114if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.PrimaryScreenWidth))
5117if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.PrimaryScreenHeight))
5120if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenWidth))
5123if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenHeight))
5126if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenLeft))
5129if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenTop))
5148if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.PowerLineStatus))
5165bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FocusBorderWidth);
5168if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FocusHorizontalBorderHeight))
5171if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FocusVerticalBorderWidth))
5195bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconMetrics);
5201if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconWidth))
5204if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconHeight))
5207if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridWidth))
5210if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridHeight))
5242bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuDropAlignment);
5244if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IsMenuDropRightAligned))
5293bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.NonClientMetrics);
5298changed |= SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.Border);
5301if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThinHorizontalBorderHeight))
5304if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThinVerticalBorderWidth))
5307if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.CursorWidth))
5310if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.CursorHeight))
5313if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThickHorizontalBorderHeight))
5316if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThickVerticalBorderWidth))
5319if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FixedFrameHorizontalBorderHeight))
5322if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FixedFrameVerticalBorderWidth))
5325if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.HorizontalScrollBarButtonWidth))
5328if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.HorizontalScrollBarHeight))
5331if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.HorizontalScrollBarThumbWidth))
5334if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconWidth))
5337if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconHeight))
5340if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridWidth))
5343if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridHeight))
5346if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximumWindowTrackWidth))
5349if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximumWindowTrackHeight))
5352if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuCheckmarkWidth))
5355if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuCheckmarkHeight))
5358if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuButtonWidth))
5361if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuButtonHeight))
5364if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowWidth))
5367if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowHeight))
5370if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedWindowWidth))
5373if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedWindowHeight))
5376if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedGridWidth))
5379if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedGridHeight))
5382if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowTrackWidth))
5385if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowTrackHeight))
5388if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WindowCaptionButtonWidth))
5391if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WindowCaptionButtonHeight))
5394if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ResizeFrameHorizontalBorderHeight))
5397if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ResizeFrameVerticalBorderWidth))
5400if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallIconWidth))
5403if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallIconHeight))
5406if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallWindowCaptionButtonWidth))
5409if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallWindowCaptionButtonHeight))
5412if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VerticalScrollBarWidth))
5415if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VerticalScrollBarButtonHeight))
5418if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WindowCaptionHeight))
5421if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuBarHeight))
5424if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VerticalScrollBarThumbHeight))
5509lock (_cacheValid)
5511while (!_cacheValid[(int)CacheSlot.IsGlassEnabled])
5513_cacheValid[(int)CacheSlot.IsGlassEnabled] = true;
5531lock (_cacheValid)
5533while (!_cacheValid[(int)CacheSlot.UxThemeName])
5535_cacheValid[(int)CacheSlot.UxThemeName] = true;
5566lock (_cacheValid)
5568while (!_cacheValid[(int)CacheSlot.UxThemeColor])
5570_cacheValid[(int)CacheSlot.UxThemeColor] = true;
5601lock (_cacheValid)
5603while (!_cacheValid[(int)CacheSlot.WindowCornerRadius])
5605_cacheValid[(int)CacheSlot.WindowCornerRadius] = true;
5659lock (_cacheValid)
5661while (!_cacheValid[(int)CacheSlot.WindowGlassColor])
5663_cacheValid[(int)CacheSlot.WindowGlassColor] = true;
5685lock (_cacheValid)
5687while (!_cacheValid[(int)CacheSlot.WindowGlassBrush])
5689_cacheValid[(int)CacheSlot.WindowGlassBrush] = true;
5709lock (_cacheValid)
5711while (!_cacheValid[(int)CacheSlot.WindowResizeBorderThickness])
5713_cacheValid[(int)CacheSlot.WindowResizeBorderThickness] = true;
5734lock (_cacheValid)
5736while (!_cacheValid[(int)CacheSlot.WindowNonClientFrameThickness])
5738_cacheValid[(int)CacheSlot.WindowNonClientFrameThickness] = true;
5767lock (_cacheValid)
5790_cacheValid[(int)CacheSlot.DpiX] = true;