System\Windows\SystemParameters.cs (391)
113while (!_cacheValid[(int)CacheSlot.FocusBorderWidth])
115_cacheValid[(int)CacheSlot.FocusBorderWidth] = true;
125_cacheValid[(int)CacheSlot.FocusBorderWidth] = false;
144while (!_cacheValid[(int)CacheSlot.FocusBorderHeight])
146_cacheValid[(int)CacheSlot.FocusBorderHeight] = true;
156_cacheValid[(int)CacheSlot.FocusBorderHeight] = false;
175while (!_cacheValid[(int)CacheSlot.HighContrast])
177_cacheValid[(int)CacheSlot.HighContrast] = true;
188_cacheValid[(int)CacheSlot.HighContrast] = false;
208while (!_cacheValid[(int)CacheSlot.MouseVanish])
210_cacheValid[(int)CacheSlot.MouseVanish] = true;
217_cacheValid[(int)CacheSlot.MouseVanish] = false;
298while (!_cacheValid[(int)CacheSlot.DropShadow])
300_cacheValid[(int)CacheSlot.DropShadow] = true;
307_cacheValid[(int)CacheSlot.DropShadow] = false;
327while (!_cacheValid[(int)CacheSlot.FlatMenu])
329_cacheValid[(int)CacheSlot.FlatMenu] = true;
336_cacheValid[(int)CacheSlot.FlatMenu] = false;
355while (!_cacheValid[(int)CacheSlot.WorkAreaInternal])
357_cacheValid[(int)CacheSlot.WorkAreaInternal] = true;
365_cacheValid[(int)CacheSlot.WorkAreaInternal] = false;
384while (!_cacheValid[(int)CacheSlot.WorkArea])
386_cacheValid[(int)CacheSlot.WorkArea] = true;
462while (!_cacheValid[(int)CacheSlot.IconMetrics])
464_cacheValid[(int)CacheSlot.IconMetrics] = true;
472_cacheValid[(int)CacheSlot.IconMetrics] = false;
581while (!_cacheValid[(int)CacheSlot.KeyboardCues])
583_cacheValid[(int)CacheSlot.KeyboardCues] = true;
590_cacheValid[(int)CacheSlot.KeyboardCues] = false;
609while (!_cacheValid[(int)CacheSlot.KeyboardDelay])
611_cacheValid[(int)CacheSlot.KeyboardDelay] = true;
618_cacheValid[(int)CacheSlot.KeyboardDelay] = false;
637while (!_cacheValid[(int)CacheSlot.KeyboardPreference])
639_cacheValid[(int)CacheSlot.KeyboardPreference] = true;
646_cacheValid[(int)CacheSlot.KeyboardPreference] = false;
665while (!_cacheValid[(int)CacheSlot.KeyboardSpeed])
667_cacheValid[(int)CacheSlot.KeyboardSpeed] = true;
674_cacheValid[(int)CacheSlot.KeyboardSpeed] = false;
693while (!_cacheValid[(int)CacheSlot.SnapToDefaultButton])
695_cacheValid[(int)CacheSlot.SnapToDefaultButton] = true;
702_cacheValid[(int)CacheSlot.SnapToDefaultButton] = false;
721while (!_cacheValid[(int)CacheSlot.WheelScrollLines])
723_cacheValid[(int)CacheSlot.WheelScrollLines] = true;
730_cacheValid[(int)CacheSlot.WheelScrollLines] = false;
757while (!_cacheValid[(int)CacheSlot.MouseHoverTime])
759_cacheValid[(int)CacheSlot.MouseHoverTime] = true;
766_cacheValid[(int)CacheSlot.MouseHoverTime] = false;
785while (!_cacheValid[(int)CacheSlot.MouseHoverHeight])
787_cacheValid[(int)CacheSlot.MouseHoverHeight] = true;
797_cacheValid[(int)CacheSlot.MouseHoverHeight] = false;
817while (!_cacheValid[(int)CacheSlot.MouseHoverWidth])
819_cacheValid[(int)CacheSlot.MouseHoverWidth] = true;
829_cacheValid[(int)CacheSlot.MouseHoverWidth] = false;
1001while (!_cacheValid[(int)CacheSlot.MenuDropAlignment])
1003_cacheValid[(int)CacheSlot.MenuDropAlignment] = true;
1010_cacheValid[(int)CacheSlot.MenuDropAlignment] = false;
1028while (!_cacheValid[(int)CacheSlot.MenuFade])
1030_cacheValid[(int)CacheSlot.MenuFade] = true;
1037_cacheValid[(int)CacheSlot.MenuFade] = false;
1057while (!_cacheValid[(int)CacheSlot.MenuShowDelay])
1059_cacheValid[(int)CacheSlot.MenuShowDelay] = true;
1066_cacheValid[(int)CacheSlot.MenuShowDelay] = false;
1160while (!_cacheValid[(int)CacheSlot.ComboBoxAnimation])
1162_cacheValid[(int)CacheSlot.ComboBoxAnimation] = true;
1169_cacheValid[(int)CacheSlot.ComboBoxAnimation] = false;
1188while (!_cacheValid[(int)CacheSlot.ClientAreaAnimation])
1190_cacheValid[(int)CacheSlot.ClientAreaAnimation] = true;
1200_cacheValid[(int)CacheSlot.ClientAreaAnimation] = false;
1224while (!_cacheValid[(int)CacheSlot.CursorShadow])
1226_cacheValid[(int)CacheSlot.CursorShadow] = true;
1233_cacheValid[(int)CacheSlot.CursorShadow] = false;
1252while (!_cacheValid[(int)CacheSlot.GradientCaptions])
1254_cacheValid[(int)CacheSlot.GradientCaptions] = true;
1261_cacheValid[(int)CacheSlot.GradientCaptions] = false;
1280while (!_cacheValid[(int)CacheSlot.HotTracking])
1282_cacheValid[(int)CacheSlot.HotTracking] = true;
1289_cacheValid[(int)CacheSlot.HotTracking] = false;
1308while (!_cacheValid[(int)CacheSlot.ListBoxSmoothScrolling])
1310_cacheValid[(int)CacheSlot.ListBoxSmoothScrolling] = true;
1317_cacheValid[(int)CacheSlot.ListBoxSmoothScrolling] = false;
1359while (!_cacheValid[(int)CacheSlot.MenuAnimation])
1361_cacheValid[(int)CacheSlot.MenuAnimation] = true;
1368_cacheValid[(int)CacheSlot.MenuAnimation] = false;
1387while (!_cacheValid[(int)CacheSlot.SelectionFade])
1389_cacheValid[(int)CacheSlot.SelectionFade] = true;
1396_cacheValid[(int)CacheSlot.SelectionFade] = false;
1415while (!_cacheValid[(int)CacheSlot.StylusHotTracking])
1417_cacheValid[(int)CacheSlot.StylusHotTracking] = true;
1424_cacheValid[(int)CacheSlot.StylusHotTracking] = false;
1460while (!_cacheValid[(int)CacheSlot.ToolTipAnimation])
1462_cacheValid[(int)CacheSlot.ToolTipAnimation] = true;
1469_cacheValid[(int)CacheSlot.ToolTipAnimation] = false;
1488while (!_cacheValid[(int)CacheSlot.ToolTipFade])
1490_cacheValid[(int)CacheSlot.ToolTipFade] = true;
1497_cacheValid[(int)CacheSlot.ToolTipFade] = false;
1516while (!_cacheValid[(int)CacheSlot.UIEffects])
1518_cacheValid[(int)CacheSlot.UIEffects] = true;
1525_cacheValid[(int)CacheSlot.UIEffects] = false;
1792while (!_cacheValid[(int)CacheSlot.MinimizeAnimation])
1794_cacheValid[(int)CacheSlot.MinimizeAnimation] = true;
1804_cacheValid[(int)CacheSlot.MinimizeAnimation] = false;
1823while (!_cacheValid[(int)CacheSlot.Border])
1825_cacheValid[(int)CacheSlot.Border] = true;
1832_cacheValid[(int)CacheSlot.Border] = false;
1851while (!_cacheValid[(int)CacheSlot.CaretWidth])
1853_cacheValid[(int)CacheSlot.CaretWidth] = true;
1882_cacheValid[(int)CacheSlot.CaretWidth] = false;
1903while (!_cacheValid[(int)CacheSlot.DragFullWindows])
1905_cacheValid[(int)CacheSlot.DragFullWindows] = true;
1912_cacheValid[(int)CacheSlot.DragFullWindows] = false;
1932while (!_cacheValid[(int)CacheSlot.ForegroundFlashCount])
1934_cacheValid[(int)CacheSlot.ForegroundFlashCount] = true;
1941_cacheValid[(int)CacheSlot.ForegroundFlashCount] = false;
1960while (!_cacheValid[(int)CacheSlot.NonClientMetrics])
1962_cacheValid[(int)CacheSlot.NonClientMetrics] = true;
1970_cacheValid[(int)CacheSlot.NonClientMetrics] = false;
2304while (!_cacheValid[(int)CacheSlot.ThinHorizontalBorderHeight])
2306_cacheValid[(int)CacheSlot.ThinHorizontalBorderHeight] = true;
2325while (!_cacheValid[(int)CacheSlot.ThinVerticalBorderWidth])
2327_cacheValid[(int)CacheSlot.ThinVerticalBorderWidth] = true;
2345while (!_cacheValid[(int)CacheSlot.CursorWidth])
2347_cacheValid[(int)CacheSlot.CursorWidth] = true;
2365while (!_cacheValid[(int)CacheSlot.CursorHeight])
2367_cacheValid[(int)CacheSlot.CursorHeight] = true;
2385while (!_cacheValid[(int)CacheSlot.ThickHorizontalBorderHeight])
2387_cacheValid[(int)CacheSlot.ThickHorizontalBorderHeight] = true;
2405while (!_cacheValid[(int)CacheSlot.ThickVerticalBorderWidth])
2407_cacheValid[(int)CacheSlot.ThickVerticalBorderWidth] = true;
2425while (!_cacheValid[(int)CacheSlot.MinimumHorizontalDragDistance])
2427_cacheValid[(int)CacheSlot.MinimumHorizontalDragDistance] = true;
2445while (!_cacheValid[(int)CacheSlot.MinimumVerticalDragDistance])
2447_cacheValid[(int)CacheSlot.MinimumVerticalDragDistance] = true;
2465while(!_cacheValid[(int)CacheSlot.FixedFrameHorizontalBorderHeight])
2467_cacheValid[(int)CacheSlot.FixedFrameHorizontalBorderHeight] = true;
2485while (!_cacheValid[(int)CacheSlot.FixedFrameVerticalBorderWidth])
2487_cacheValid[(int)CacheSlot.FixedFrameVerticalBorderWidth] = true;
2505while (!_cacheValid[(int)CacheSlot.FocusHorizontalBorderHeight])
2507_cacheValid[(int)CacheSlot.FocusHorizontalBorderHeight] = true;
2525while(!_cacheValid[(int)CacheSlot.FocusVerticalBorderWidth])
2527_cacheValid[(int)CacheSlot.FocusVerticalBorderWidth] = true;
2549while (!_cacheValid[(int)CacheSlot.FullPrimaryScreenWidth])
2551_cacheValid[(int)CacheSlot.FullPrimaryScreenWidth] = true;
2572while (!_cacheValid[(int)CacheSlot.FullPrimaryScreenHeight])
2574_cacheValid[(int)CacheSlot.FullPrimaryScreenHeight] = true;
2592while (!_cacheValid[(int)CacheSlot.HorizontalScrollBarButtonWidth])
2594_cacheValid[(int)CacheSlot.HorizontalScrollBarButtonWidth] = true;
2612while (!_cacheValid[(int)CacheSlot.HorizontalScrollBarHeight])
2614_cacheValid[(int)CacheSlot.HorizontalScrollBarHeight] = true;
2632while (!_cacheValid[(int)CacheSlot.HorizontalScrollBarThumbWidth])
2634_cacheValid[(int)CacheSlot.HorizontalScrollBarThumbWidth] = true;
2652while (!_cacheValid[(int)CacheSlot.IconWidth])
2654_cacheValid[(int)CacheSlot.IconWidth] = true;
2672while (!_cacheValid[(int)CacheSlot.IconHeight])
2674_cacheValid[(int)CacheSlot.IconHeight] = true;
2692while (!_cacheValid[(int)CacheSlot.IconGridWidth])
2694_cacheValid[(int)CacheSlot.IconGridWidth] = true;
2712while (!_cacheValid[(int)CacheSlot.IconGridHeight])
2714_cacheValid[(int)CacheSlot.IconGridHeight] = true;
2735while (!_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenWidth])
2737_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenWidth] = true;
2758while (!_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenHeight])
2760_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenHeight] = true;
2781while (!_cacheValid[(int)CacheSlot.MaximumWindowTrackWidth])
2783_cacheValid[(int)CacheSlot.MaximumWindowTrackWidth] = true;
2804while (!_cacheValid[(int)CacheSlot.MaximumWindowTrackHeight])
2806_cacheValid[(int)CacheSlot.MaximumWindowTrackHeight] = true;
2824while (!_cacheValid[(int)CacheSlot.MenuCheckmarkWidth])
2826_cacheValid[(int)CacheSlot.MenuCheckmarkWidth] = true;
2844while (!_cacheValid[(int)CacheSlot.MenuCheckmarkHeight])
2846_cacheValid[(int)CacheSlot.MenuCheckmarkHeight] = true;
2864while (!_cacheValid[(int)CacheSlot.MenuButtonWidth])
2866_cacheValid[(int)CacheSlot.MenuButtonWidth] = true;
2884while (!_cacheValid[(int)CacheSlot.MenuButtonHeight])
2886_cacheValid[(int)CacheSlot.MenuButtonHeight] = true;
2907while (!_cacheValid[(int)CacheSlot.MinimumWindowWidth])
2909_cacheValid[(int)CacheSlot.MinimumWindowWidth] = true;
2930while (!_cacheValid[(int)CacheSlot.MinimumWindowHeight])
2932_cacheValid[(int)CacheSlot.MinimumWindowHeight] = true;
2953while (!_cacheValid[(int)CacheSlot.MinimizedWindowWidth])
2955_cacheValid[(int)CacheSlot.MinimizedWindowWidth] = true;
2976while (!_cacheValid[(int)CacheSlot.MinimizedWindowHeight])
2978_cacheValid[(int)CacheSlot.MinimizedWindowHeight] = true;
2996while (!_cacheValid[(int)CacheSlot.MinimizedGridWidth])
2998_cacheValid[(int)CacheSlot.MinimizedGridWidth] = true;
3016while (!_cacheValid[(int)CacheSlot.MinimizedGridHeight])
3018_cacheValid[(int)CacheSlot.MinimizedGridHeight] = true;
3039while (!_cacheValid[(int)CacheSlot.MinimumWindowTrackWidth])
3041_cacheValid[(int)CacheSlot.MinimumWindowTrackWidth] = true;
3062while (!_cacheValid[(int)CacheSlot.MinimumWindowTrackHeight])
3064_cacheValid[(int)CacheSlot.MinimumWindowTrackHeight] = true;
3082while (!_cacheValid[(int)CacheSlot.PrimaryScreenWidth])
3084_cacheValid[(int)CacheSlot.PrimaryScreenWidth] = true;
3103while(!_cacheValid[(int)CacheSlot.PrimaryScreenHeight])
3105_cacheValid[(int)CacheSlot.PrimaryScreenHeight] = true;
3126while (!_cacheValid[(int)CacheSlot.WindowCaptionButtonWidth])
3128_cacheValid[(int)CacheSlot.WindowCaptionButtonWidth] = true;
3146while (!_cacheValid[(int)CacheSlot.WindowCaptionButtonHeight])
3148_cacheValid[(int)CacheSlot.WindowCaptionButtonHeight] = true;
3167while (!_cacheValid[(int)CacheSlot.ResizeFrameHorizontalBorderHeight])
3169_cacheValid[(int)CacheSlot.ResizeFrameHorizontalBorderHeight] = true;
3187while (!_cacheValid[(int)CacheSlot.ResizeFrameVerticalBorderWidth])
3189_cacheValid[(int)CacheSlot.ResizeFrameVerticalBorderWidth] = true;
3207while (!_cacheValid[(int)CacheSlot.SmallIconWidth])
3209_cacheValid[(int)CacheSlot.SmallIconWidth] = true;
3227while (!_cacheValid[(int)CacheSlot.SmallIconHeight])
3229_cacheValid[(int)CacheSlot.SmallIconHeight] = true;
3247while (!_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonWidth])
3249_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonWidth] = true;
3267while (!_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonHeight])
3269_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonHeight] = true;
3290while (!_cacheValid[(int)CacheSlot.VirtualScreenWidth])
3292_cacheValid[(int)CacheSlot.VirtualScreenWidth] = true;
3313while (!_cacheValid[(int)CacheSlot.VirtualScreenHeight])
3315_cacheValid[(int)CacheSlot.VirtualScreenHeight] = true;
3334while (!_cacheValid[(int)CacheSlot.VerticalScrollBarWidth])
3336_cacheValid[(int)CacheSlot.VerticalScrollBarWidth] = true;
3354while (!_cacheValid[(int)CacheSlot.VerticalScrollBarButtonHeight])
3356_cacheValid[(int)CacheSlot.VerticalScrollBarButtonHeight] = true;
3377while (!_cacheValid[(int)CacheSlot.WindowCaptionHeight])
3379_cacheValid[(int)CacheSlot.WindowCaptionHeight] = true;
3401while (!_cacheValid[(int)CacheSlot.KanjiWindowHeight])
3403_cacheValid[(int)CacheSlot.KanjiWindowHeight] = true;
3424while (!_cacheValid[(int)CacheSlot.MenuBarHeight])
3426_cacheValid[(int)CacheSlot.MenuBarHeight] = true;
3444while (!_cacheValid[(int)CacheSlot.VerticalScrollBarThumbHeight])
3446_cacheValid[(int)CacheSlot.VerticalScrollBarThumbHeight] = true;
3467while (!_cacheValid[(int)CacheSlot.IsImmEnabled])
3469_cacheValid[(int)CacheSlot.IsImmEnabled] = true;
3491while (!_cacheValid[(int)CacheSlot.IsMediaCenter])
3493_cacheValid[(int)CacheSlot.IsMediaCenter] = true;
3511while (!_cacheValid[(int)CacheSlot.IsMenuDropRightAligned])
3513_cacheValid[(int)CacheSlot.IsMenuDropRightAligned] = true;
3534while (!_cacheValid[(int)CacheSlot.IsMiddleEastEnabled])
3536_cacheValid[(int)CacheSlot.IsMiddleEastEnabled] = true;
3554while (!_cacheValid[(int)CacheSlot.IsMousePresent])
3556_cacheValid[(int)CacheSlot.IsMousePresent] = true;
3574while (!_cacheValid[(int)CacheSlot.IsMouseWheelPresent])
3576_cacheValid[(int)CacheSlot.IsMouseWheelPresent] = true;
3597while (!_cacheValid[(int)CacheSlot.IsPenWindows])
3599_cacheValid[(int)CacheSlot.IsPenWindows] = true;
3620while (!_cacheValid[(int)CacheSlot.IsRemotelyControlled])
3622_cacheValid[(int)CacheSlot.IsRemotelyControlled] = true;
3643while (!_cacheValid[(int)CacheSlot.IsRemoteSession])
3645_cacheValid[(int)CacheSlot.IsRemoteSession] = true;
3666while (!_cacheValid[(int)CacheSlot.ShowSounds])
3668_cacheValid[(int)CacheSlot.ShowSounds] = true;
3689while (!_cacheValid[(int)CacheSlot.IsSlowMachine])
3691_cacheValid[(int)CacheSlot.IsSlowMachine] = true;
3712while (!_cacheValid[(int)CacheSlot.SwapButtons])
3714_cacheValid[(int)CacheSlot.SwapButtons] = true;
3735while (!_cacheValid[(int)CacheSlot.IsTabletPC])
3737_cacheValid[(int)CacheSlot.IsTabletPC] = true;
3758while (!_cacheValid[(int)CacheSlot.VirtualScreenLeft])
3760_cacheValid[(int)CacheSlot.VirtualScreenLeft] = true;
3781while (!_cacheValid[(int)CacheSlot.VirtualScreenTop])
3783_cacheValid[(int)CacheSlot.VirtualScreenTop] = true;
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))
5180return InvalidateProperty((int)CacheSlot.FocusBorderHeight, "FocusBorderHeight");
5182return InvalidateProperty((int)CacheSlot.HighContrast, "HighContrast");
5184return InvalidateProperty((int)CacheSlot.MouseVanish, "MouseVanish");
5187return InvalidateProperty((int)CacheSlot.DropShadow, "DropShadow");
5189return InvalidateProperty((int)CacheSlot.FlatMenu, "FlatMenu");
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))
5222return InvalidateProperty((int)CacheSlot.KeyboardCues, "KeyboardCues");
5224return InvalidateProperty((int)CacheSlot.KeyboardDelay, "KeyboardDelay");
5226return InvalidateProperty((int)CacheSlot.KeyboardPreference, "KeyboardPreference");
5228return InvalidateProperty((int)CacheSlot.KeyboardSpeed, "KeyboardSpeed");
5230return InvalidateProperty((int)CacheSlot.SnapToDefaultButton, "SnapToDefaultButton");
5232return InvalidateProperty((int)CacheSlot.WheelScrollLines, "WheelScrollLines");
5234return InvalidateProperty((int)CacheSlot.MouseHoverTime, "MouseHoverTime");
5236return InvalidateProperty((int)CacheSlot.MouseHoverHeight, "MouseHoverHeight");
5238return InvalidateProperty((int)CacheSlot.MouseHoverWidth, "MouseHoverWidth");
5242bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuDropAlignment);
5244if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IsMenuDropRightAligned))
5253return InvalidateProperty((int)CacheSlot.MenuFade, "MenuFade");
5255return InvalidateProperty((int)CacheSlot.MenuShowDelay, "MenuShowDelay");
5258return InvalidateProperty((int)CacheSlot.ComboBoxAnimation, "ComboBoxAnimation");
5260return InvalidateProperty((int)CacheSlot.ClientAreaAnimation, "ClientAreaAnimation");
5262return InvalidateProperty((int)CacheSlot.CursorShadow, "CursorShadow");
5264return InvalidateProperty((int)CacheSlot.GradientCaptions, "GradientCaptions");
5266return InvalidateProperty((int)CacheSlot.HotTracking, "HotTracking");
5268return InvalidateProperty((int)CacheSlot.ListBoxSmoothScrolling, "ListBoxSmoothScrolling");
5270return InvalidateProperty((int)CacheSlot.MenuAnimation, "MenuAnimation");
5272return InvalidateProperty((int)CacheSlot.SelectionFade, "SelectionFade");
5274return InvalidateProperty((int)CacheSlot.StylusHotTracking, "StylusHotTracking");
5276return InvalidateProperty((int)CacheSlot.ToolTipAnimation, "ToolTipAnimation");
5278return InvalidateProperty((int)CacheSlot.ToolTipFade, "ToolTipFade");
5280return InvalidateProperty((int)CacheSlot.UIEffects, "UIEffects");
5283return InvalidateProperty((int)CacheSlot.MinimizeAnimation, "MinimizeAnimation");
5285return InvalidateProperty((int)CacheSlot.CaretWidth, "CaretWidth");
5287return InvalidateProperty((int)CacheSlot.ForegroundFlashCount, "ForegroundFlashCount");
5289return InvalidateProperty((int)CacheSlot.DragFullWindows, "DragFullWindows");
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))
5456return InvalidateProperty((int)CacheSlot.MinimumHorizontalDragDistance, "MinimumHorizontalDragDistance");
5458return InvalidateProperty((int)CacheSlot.MinimumVerticalDragDistance, "MinimumVerticalDragDistance");
5460return InvalidateProperty((int)CacheSlot.IsPenWindows, "IsPenWindows");
5462return InvalidateProperty((int)CacheSlot.ShowSounds, "ShowSounds");
5464return InvalidateProperty((int)CacheSlot.SwapButtons, "SwapButtons");
5472return InvalidateProperty((int)CacheSlot.IsGlassEnabled, "IsGlassEnabled");
5479InvalidateProperty((int)CacheSlot.UxThemeName, "UxThemeName");
5480InvalidateProperty((int)CacheSlot.UxThemeColor, "UxThemeColor");
5481InvalidateProperty((int)CacheSlot.WindowCornerRadius, "WindowCornerRadius");
5486InvalidateProperty((int)CacheSlot.WindowGlassColor, "WindowGlassColor");
5487InvalidateProperty((int)CacheSlot.WindowGlassBrush, "WindowGlassBrush");
5494InvalidateProperty((int)CacheSlot.WindowNonClientFrameThickness, "WindowNonClientFrameThickness");
5495InvalidateProperty((int)CacheSlot.WindowResizeBorderThickness, "WindowResizeBorderThickness");
5511while (!_cacheValid[(int)CacheSlot.IsGlassEnabled])
5513_cacheValid[(int)CacheSlot.IsGlassEnabled] = true;
5533while (!_cacheValid[(int)CacheSlot.UxThemeName])
5535_cacheValid[(int)CacheSlot.UxThemeName] = true;
5568while (!_cacheValid[(int)CacheSlot.UxThemeColor])
5570_cacheValid[(int)CacheSlot.UxThemeColor] = true;
5603while (!_cacheValid[(int)CacheSlot.WindowCornerRadius])
5605_cacheValid[(int)CacheSlot.WindowCornerRadius] = true;
5661while (!_cacheValid[(int)CacheSlot.WindowGlassColor])
5663_cacheValid[(int)CacheSlot.WindowGlassColor] = true;
5687while (!_cacheValid[(int)CacheSlot.WindowGlassBrush])
5689_cacheValid[(int)CacheSlot.WindowGlassBrush] = true;
5711while (!_cacheValid[(int)CacheSlot.WindowResizeBorderThickness])
5713_cacheValid[(int)CacheSlot.WindowResizeBorderThickness] = true;
5736while (!_cacheValid[(int)CacheSlot.WindowNonClientFrameThickness])
5738_cacheValid[(int)CacheSlot.WindowNonClientFrameThickness] = true;
5790_cacheValid[(int)CacheSlot.DpiX] = true;
5952private static BitArray _cacheValid = new BitArray((int)CacheSlot.NumSlots);