391 references to CacheSlot
PresentationFramework (391)
System\Windows\SystemParameters.cs (391)
103while (!_cacheValid[(int)CacheSlot.FocusBorderWidth]) 105_cacheValid[(int)CacheSlot.FocusBorderWidth] = true; 115_cacheValid[(int)CacheSlot.FocusBorderWidth] = false; 134while (!_cacheValid[(int)CacheSlot.FocusBorderHeight]) 136_cacheValid[(int)CacheSlot.FocusBorderHeight] = true; 146_cacheValid[(int)CacheSlot.FocusBorderHeight] = false; 165while (!_cacheValid[(int)CacheSlot.HighContrast]) 167_cacheValid[(int)CacheSlot.HighContrast] = true; 179_cacheValid[(int)CacheSlot.HighContrast] = false; 199while (!_cacheValid[(int)CacheSlot.MouseVanish]) 201_cacheValid[(int)CacheSlot.MouseVanish] = true; 208_cacheValid[(int)CacheSlot.MouseVanish] = false; 289while (!_cacheValid[(int)CacheSlot.DropShadow]) 291_cacheValid[(int)CacheSlot.DropShadow] = true; 298_cacheValid[(int)CacheSlot.DropShadow] = false; 318while (!_cacheValid[(int)CacheSlot.FlatMenu]) 320_cacheValid[(int)CacheSlot.FlatMenu] = true; 327_cacheValid[(int)CacheSlot.FlatMenu] = false; 346while (!_cacheValid[(int)CacheSlot.WorkAreaInternal]) 348_cacheValid[(int)CacheSlot.WorkAreaInternal] = true; 356_cacheValid[(int)CacheSlot.WorkAreaInternal] = false; 375while (!_cacheValid[(int)CacheSlot.WorkArea]) 377_cacheValid[(int)CacheSlot.WorkArea] = true; 453while (!_cacheValid[(int)CacheSlot.IconMetrics]) 455_cacheValid[(int)CacheSlot.IconMetrics] = true; 463_cacheValid[(int)CacheSlot.IconMetrics] = false; 572while (!_cacheValid[(int)CacheSlot.KeyboardCues]) 574_cacheValid[(int)CacheSlot.KeyboardCues] = true; 581_cacheValid[(int)CacheSlot.KeyboardCues] = false; 600while (!_cacheValid[(int)CacheSlot.KeyboardDelay]) 602_cacheValid[(int)CacheSlot.KeyboardDelay] = true; 609_cacheValid[(int)CacheSlot.KeyboardDelay] = false; 628while (!_cacheValid[(int)CacheSlot.KeyboardPreference]) 630_cacheValid[(int)CacheSlot.KeyboardPreference] = true; 637_cacheValid[(int)CacheSlot.KeyboardPreference] = false; 656while (!_cacheValid[(int)CacheSlot.KeyboardSpeed]) 658_cacheValid[(int)CacheSlot.KeyboardSpeed] = true; 665_cacheValid[(int)CacheSlot.KeyboardSpeed] = false; 684while (!_cacheValid[(int)CacheSlot.SnapToDefaultButton]) 686_cacheValid[(int)CacheSlot.SnapToDefaultButton] = true; 693_cacheValid[(int)CacheSlot.SnapToDefaultButton] = false; 712while (!_cacheValid[(int)CacheSlot.WheelScrollLines]) 714_cacheValid[(int)CacheSlot.WheelScrollLines] = true; 721_cacheValid[(int)CacheSlot.WheelScrollLines] = false; 748while (!_cacheValid[(int)CacheSlot.MouseHoverTime]) 750_cacheValid[(int)CacheSlot.MouseHoverTime] = true; 757_cacheValid[(int)CacheSlot.MouseHoverTime] = false; 776while (!_cacheValid[(int)CacheSlot.MouseHoverHeight]) 778_cacheValid[(int)CacheSlot.MouseHoverHeight] = true; 788_cacheValid[(int)CacheSlot.MouseHoverHeight] = false; 808while (!_cacheValid[(int)CacheSlot.MouseHoverWidth]) 810_cacheValid[(int)CacheSlot.MouseHoverWidth] = true; 820_cacheValid[(int)CacheSlot.MouseHoverWidth] = false; 992while (!_cacheValid[(int)CacheSlot.MenuDropAlignment]) 994_cacheValid[(int)CacheSlot.MenuDropAlignment] = true; 1001_cacheValid[(int)CacheSlot.MenuDropAlignment] = false; 1019while (!_cacheValid[(int)CacheSlot.MenuFade]) 1021_cacheValid[(int)CacheSlot.MenuFade] = true; 1028_cacheValid[(int)CacheSlot.MenuFade] = false; 1048while (!_cacheValid[(int)CacheSlot.MenuShowDelay]) 1050_cacheValid[(int)CacheSlot.MenuShowDelay] = true; 1057_cacheValid[(int)CacheSlot.MenuShowDelay] = false; 1151while (!_cacheValid[(int)CacheSlot.ComboBoxAnimation]) 1153_cacheValid[(int)CacheSlot.ComboBoxAnimation] = true; 1160_cacheValid[(int)CacheSlot.ComboBoxAnimation] = false; 1179while (!_cacheValid[(int)CacheSlot.ClientAreaAnimation]) 1181_cacheValid[(int)CacheSlot.ClientAreaAnimation] = true; 1191_cacheValid[(int)CacheSlot.ClientAreaAnimation] = false; 1215while (!_cacheValid[(int)CacheSlot.CursorShadow]) 1217_cacheValid[(int)CacheSlot.CursorShadow] = true; 1224_cacheValid[(int)CacheSlot.CursorShadow] = false; 1243while (!_cacheValid[(int)CacheSlot.GradientCaptions]) 1245_cacheValid[(int)CacheSlot.GradientCaptions] = true; 1252_cacheValid[(int)CacheSlot.GradientCaptions] = false; 1271while (!_cacheValid[(int)CacheSlot.HotTracking]) 1273_cacheValid[(int)CacheSlot.HotTracking] = true; 1280_cacheValid[(int)CacheSlot.HotTracking] = false; 1299while (!_cacheValid[(int)CacheSlot.ListBoxSmoothScrolling]) 1301_cacheValid[(int)CacheSlot.ListBoxSmoothScrolling] = true; 1308_cacheValid[(int)CacheSlot.ListBoxSmoothScrolling] = false; 1350while (!_cacheValid[(int)CacheSlot.MenuAnimation]) 1352_cacheValid[(int)CacheSlot.MenuAnimation] = true; 1359_cacheValid[(int)CacheSlot.MenuAnimation] = false; 1378while (!_cacheValid[(int)CacheSlot.SelectionFade]) 1380_cacheValid[(int)CacheSlot.SelectionFade] = true; 1387_cacheValid[(int)CacheSlot.SelectionFade] = false; 1406while (!_cacheValid[(int)CacheSlot.StylusHotTracking]) 1408_cacheValid[(int)CacheSlot.StylusHotTracking] = true; 1415_cacheValid[(int)CacheSlot.StylusHotTracking] = false; 1451while (!_cacheValid[(int)CacheSlot.ToolTipAnimation]) 1453_cacheValid[(int)CacheSlot.ToolTipAnimation] = true; 1460_cacheValid[(int)CacheSlot.ToolTipAnimation] = false; 1479while (!_cacheValid[(int)CacheSlot.ToolTipFade]) 1481_cacheValid[(int)CacheSlot.ToolTipFade] = true; 1488_cacheValid[(int)CacheSlot.ToolTipFade] = false; 1507while (!_cacheValid[(int)CacheSlot.UIEffects]) 1509_cacheValid[(int)CacheSlot.UIEffects] = true; 1516_cacheValid[(int)CacheSlot.UIEffects] = false; 1783while (!_cacheValid[(int)CacheSlot.MinimizeAnimation]) 1785_cacheValid[(int)CacheSlot.MinimizeAnimation] = true; 1795_cacheValid[(int)CacheSlot.MinimizeAnimation] = false; 1814while (!_cacheValid[(int)CacheSlot.Border]) 1816_cacheValid[(int)CacheSlot.Border] = true; 1823_cacheValid[(int)CacheSlot.Border] = false; 1842while (!_cacheValid[(int)CacheSlot.CaretWidth]) 1844_cacheValid[(int)CacheSlot.CaretWidth] = true; 1873_cacheValid[(int)CacheSlot.CaretWidth] = false; 1894while (!_cacheValid[(int)CacheSlot.DragFullWindows]) 1896_cacheValid[(int)CacheSlot.DragFullWindows] = true; 1903_cacheValid[(int)CacheSlot.DragFullWindows] = false; 1923while (!_cacheValid[(int)CacheSlot.ForegroundFlashCount]) 1925_cacheValid[(int)CacheSlot.ForegroundFlashCount] = true; 1932_cacheValid[(int)CacheSlot.ForegroundFlashCount] = false; 1951while (!_cacheValid[(int)CacheSlot.NonClientMetrics]) 1953_cacheValid[(int)CacheSlot.NonClientMetrics] = true; 1961_cacheValid[(int)CacheSlot.NonClientMetrics] = false; 2295while (!_cacheValid[(int)CacheSlot.ThinHorizontalBorderHeight]) 2297_cacheValid[(int)CacheSlot.ThinHorizontalBorderHeight] = true; 2316while (!_cacheValid[(int)CacheSlot.ThinVerticalBorderWidth]) 2318_cacheValid[(int)CacheSlot.ThinVerticalBorderWidth] = true; 2336while (!_cacheValid[(int)CacheSlot.CursorWidth]) 2338_cacheValid[(int)CacheSlot.CursorWidth] = true; 2356while (!_cacheValid[(int)CacheSlot.CursorHeight]) 2358_cacheValid[(int)CacheSlot.CursorHeight] = true; 2376while (!_cacheValid[(int)CacheSlot.ThickHorizontalBorderHeight]) 2378_cacheValid[(int)CacheSlot.ThickHorizontalBorderHeight] = true; 2396while (!_cacheValid[(int)CacheSlot.ThickVerticalBorderWidth]) 2398_cacheValid[(int)CacheSlot.ThickVerticalBorderWidth] = true; 2416while (!_cacheValid[(int)CacheSlot.MinimumHorizontalDragDistance]) 2418_cacheValid[(int)CacheSlot.MinimumHorizontalDragDistance] = true; 2436while (!_cacheValid[(int)CacheSlot.MinimumVerticalDragDistance]) 2438_cacheValid[(int)CacheSlot.MinimumVerticalDragDistance] = true; 2456while(!_cacheValid[(int)CacheSlot.FixedFrameHorizontalBorderHeight]) 2458_cacheValid[(int)CacheSlot.FixedFrameHorizontalBorderHeight] = true; 2476while (!_cacheValid[(int)CacheSlot.FixedFrameVerticalBorderWidth]) 2478_cacheValid[(int)CacheSlot.FixedFrameVerticalBorderWidth] = true; 2496while (!_cacheValid[(int)CacheSlot.FocusHorizontalBorderHeight]) 2498_cacheValid[(int)CacheSlot.FocusHorizontalBorderHeight] = true; 2516while(!_cacheValid[(int)CacheSlot.FocusVerticalBorderWidth]) 2518_cacheValid[(int)CacheSlot.FocusVerticalBorderWidth] = true; 2540while (!_cacheValid[(int)CacheSlot.FullPrimaryScreenWidth]) 2542_cacheValid[(int)CacheSlot.FullPrimaryScreenWidth] = true; 2563while (!_cacheValid[(int)CacheSlot.FullPrimaryScreenHeight]) 2565_cacheValid[(int)CacheSlot.FullPrimaryScreenHeight] = true; 2583while (!_cacheValid[(int)CacheSlot.HorizontalScrollBarButtonWidth]) 2585_cacheValid[(int)CacheSlot.HorizontalScrollBarButtonWidth] = true; 2603while (!_cacheValid[(int)CacheSlot.HorizontalScrollBarHeight]) 2605_cacheValid[(int)CacheSlot.HorizontalScrollBarHeight] = true; 2623while (!_cacheValid[(int)CacheSlot.HorizontalScrollBarThumbWidth]) 2625_cacheValid[(int)CacheSlot.HorizontalScrollBarThumbWidth] = true; 2643while (!_cacheValid[(int)CacheSlot.IconWidth]) 2645_cacheValid[(int)CacheSlot.IconWidth] = true; 2663while (!_cacheValid[(int)CacheSlot.IconHeight]) 2665_cacheValid[(int)CacheSlot.IconHeight] = true; 2683while (!_cacheValid[(int)CacheSlot.IconGridWidth]) 2685_cacheValid[(int)CacheSlot.IconGridWidth] = true; 2703while (!_cacheValid[(int)CacheSlot.IconGridHeight]) 2705_cacheValid[(int)CacheSlot.IconGridHeight] = true; 2726while (!_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenWidth]) 2728_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenWidth] = true; 2749while (!_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenHeight]) 2751_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenHeight] = true; 2772while (!_cacheValid[(int)CacheSlot.MaximumWindowTrackWidth]) 2774_cacheValid[(int)CacheSlot.MaximumWindowTrackWidth] = true; 2795while (!_cacheValid[(int)CacheSlot.MaximumWindowTrackHeight]) 2797_cacheValid[(int)CacheSlot.MaximumWindowTrackHeight] = true; 2815while (!_cacheValid[(int)CacheSlot.MenuCheckmarkWidth]) 2817_cacheValid[(int)CacheSlot.MenuCheckmarkWidth] = true; 2835while (!_cacheValid[(int)CacheSlot.MenuCheckmarkHeight]) 2837_cacheValid[(int)CacheSlot.MenuCheckmarkHeight] = true; 2855while (!_cacheValid[(int)CacheSlot.MenuButtonWidth]) 2857_cacheValid[(int)CacheSlot.MenuButtonWidth] = true; 2875while (!_cacheValid[(int)CacheSlot.MenuButtonHeight]) 2877_cacheValid[(int)CacheSlot.MenuButtonHeight] = true; 2898while (!_cacheValid[(int)CacheSlot.MinimumWindowWidth]) 2900_cacheValid[(int)CacheSlot.MinimumWindowWidth] = true; 2921while (!_cacheValid[(int)CacheSlot.MinimumWindowHeight]) 2923_cacheValid[(int)CacheSlot.MinimumWindowHeight] = true; 2944while (!_cacheValid[(int)CacheSlot.MinimizedWindowWidth]) 2946_cacheValid[(int)CacheSlot.MinimizedWindowWidth] = true; 2967while (!_cacheValid[(int)CacheSlot.MinimizedWindowHeight]) 2969_cacheValid[(int)CacheSlot.MinimizedWindowHeight] = true; 2987while (!_cacheValid[(int)CacheSlot.MinimizedGridWidth]) 2989_cacheValid[(int)CacheSlot.MinimizedGridWidth] = true; 3007while (!_cacheValid[(int)CacheSlot.MinimizedGridHeight]) 3009_cacheValid[(int)CacheSlot.MinimizedGridHeight] = true; 3030while (!_cacheValid[(int)CacheSlot.MinimumWindowTrackWidth]) 3032_cacheValid[(int)CacheSlot.MinimumWindowTrackWidth] = true; 3053while (!_cacheValid[(int)CacheSlot.MinimumWindowTrackHeight]) 3055_cacheValid[(int)CacheSlot.MinimumWindowTrackHeight] = true; 3073while (!_cacheValid[(int)CacheSlot.PrimaryScreenWidth]) 3075_cacheValid[(int)CacheSlot.PrimaryScreenWidth] = true; 3094while(!_cacheValid[(int)CacheSlot.PrimaryScreenHeight]) 3096_cacheValid[(int)CacheSlot.PrimaryScreenHeight] = true; 3117while (!_cacheValid[(int)CacheSlot.WindowCaptionButtonWidth]) 3119_cacheValid[(int)CacheSlot.WindowCaptionButtonWidth] = true; 3137while (!_cacheValid[(int)CacheSlot.WindowCaptionButtonHeight]) 3139_cacheValid[(int)CacheSlot.WindowCaptionButtonHeight] = true; 3158while (!_cacheValid[(int)CacheSlot.ResizeFrameHorizontalBorderHeight]) 3160_cacheValid[(int)CacheSlot.ResizeFrameHorizontalBorderHeight] = true; 3178while (!_cacheValid[(int)CacheSlot.ResizeFrameVerticalBorderWidth]) 3180_cacheValid[(int)CacheSlot.ResizeFrameVerticalBorderWidth] = true; 3198while (!_cacheValid[(int)CacheSlot.SmallIconWidth]) 3200_cacheValid[(int)CacheSlot.SmallIconWidth] = true; 3218while (!_cacheValid[(int)CacheSlot.SmallIconHeight]) 3220_cacheValid[(int)CacheSlot.SmallIconHeight] = true; 3238while (!_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonWidth]) 3240_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonWidth] = true; 3258while (!_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonHeight]) 3260_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonHeight] = true; 3281while (!_cacheValid[(int)CacheSlot.VirtualScreenWidth]) 3283_cacheValid[(int)CacheSlot.VirtualScreenWidth] = true; 3304while (!_cacheValid[(int)CacheSlot.VirtualScreenHeight]) 3306_cacheValid[(int)CacheSlot.VirtualScreenHeight] = true; 3325while (!_cacheValid[(int)CacheSlot.VerticalScrollBarWidth]) 3327_cacheValid[(int)CacheSlot.VerticalScrollBarWidth] = true; 3345while (!_cacheValid[(int)CacheSlot.VerticalScrollBarButtonHeight]) 3347_cacheValid[(int)CacheSlot.VerticalScrollBarButtonHeight] = true; 3368while (!_cacheValid[(int)CacheSlot.WindowCaptionHeight]) 3370_cacheValid[(int)CacheSlot.WindowCaptionHeight] = true; 3392while (!_cacheValid[(int)CacheSlot.KanjiWindowHeight]) 3394_cacheValid[(int)CacheSlot.KanjiWindowHeight] = true; 3415while (!_cacheValid[(int)CacheSlot.MenuBarHeight]) 3417_cacheValid[(int)CacheSlot.MenuBarHeight] = true; 3435while (!_cacheValid[(int)CacheSlot.VerticalScrollBarThumbHeight]) 3437_cacheValid[(int)CacheSlot.VerticalScrollBarThumbHeight] = true; 3458while (!_cacheValid[(int)CacheSlot.IsImmEnabled]) 3460_cacheValid[(int)CacheSlot.IsImmEnabled] = true; 3482while (!_cacheValid[(int)CacheSlot.IsMediaCenter]) 3484_cacheValid[(int)CacheSlot.IsMediaCenter] = true; 3502while (!_cacheValid[(int)CacheSlot.IsMenuDropRightAligned]) 3504_cacheValid[(int)CacheSlot.IsMenuDropRightAligned] = true; 3525while (!_cacheValid[(int)CacheSlot.IsMiddleEastEnabled]) 3527_cacheValid[(int)CacheSlot.IsMiddleEastEnabled] = true; 3545while (!_cacheValid[(int)CacheSlot.IsMousePresent]) 3547_cacheValid[(int)CacheSlot.IsMousePresent] = true; 3565while (!_cacheValid[(int)CacheSlot.IsMouseWheelPresent]) 3567_cacheValid[(int)CacheSlot.IsMouseWheelPresent] = true; 3588while (!_cacheValid[(int)CacheSlot.IsPenWindows]) 3590_cacheValid[(int)CacheSlot.IsPenWindows] = true; 3611while (!_cacheValid[(int)CacheSlot.IsRemotelyControlled]) 3613_cacheValid[(int)CacheSlot.IsRemotelyControlled] = true; 3634while (!_cacheValid[(int)CacheSlot.IsRemoteSession]) 3636_cacheValid[(int)CacheSlot.IsRemoteSession] = true; 3657while (!_cacheValid[(int)CacheSlot.ShowSounds]) 3659_cacheValid[(int)CacheSlot.ShowSounds] = true; 3680while (!_cacheValid[(int)CacheSlot.IsSlowMachine]) 3682_cacheValid[(int)CacheSlot.IsSlowMachine] = true; 3703while (!_cacheValid[(int)CacheSlot.SwapButtons]) 3705_cacheValid[(int)CacheSlot.SwapButtons] = true; 3726while (!_cacheValid[(int)CacheSlot.IsTabletPC]) 3728_cacheValid[(int)CacheSlot.IsTabletPC] = true; 3749while (!_cacheValid[(int)CacheSlot.VirtualScreenLeft]) 3751_cacheValid[(int)CacheSlot.VirtualScreenLeft] = true; 3772while (!_cacheValid[(int)CacheSlot.VirtualScreenTop]) 3774_cacheValid[(int)CacheSlot.VirtualScreenTop] = true; 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)) 5166return InvalidateProperty((int)CacheSlot.FocusBorderHeight, "FocusBorderHeight"); 5168return InvalidateProperty((int)CacheSlot.HighContrast, "HighContrast"); 5170return InvalidateProperty((int)CacheSlot.MouseVanish, "MouseVanish"); 5173return InvalidateProperty((int)CacheSlot.DropShadow, "DropShadow"); 5175return InvalidateProperty((int)CacheSlot.FlatMenu, "FlatMenu"); 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)) 5208return InvalidateProperty((int)CacheSlot.KeyboardCues, "KeyboardCues"); 5210return InvalidateProperty((int)CacheSlot.KeyboardDelay, "KeyboardDelay"); 5212return InvalidateProperty((int)CacheSlot.KeyboardPreference, "KeyboardPreference"); 5214return InvalidateProperty((int)CacheSlot.KeyboardSpeed, "KeyboardSpeed"); 5216return InvalidateProperty((int)CacheSlot.SnapToDefaultButton, "SnapToDefaultButton"); 5218return InvalidateProperty((int)CacheSlot.WheelScrollLines, "WheelScrollLines"); 5220return InvalidateProperty((int)CacheSlot.MouseHoverTime, "MouseHoverTime"); 5222return InvalidateProperty((int)CacheSlot.MouseHoverHeight, "MouseHoverHeight"); 5224return InvalidateProperty((int)CacheSlot.MouseHoverWidth, "MouseHoverWidth"); 5228bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuDropAlignment); 5230if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IsMenuDropRightAligned)) 5239return InvalidateProperty((int)CacheSlot.MenuFade, "MenuFade"); 5241return InvalidateProperty((int)CacheSlot.MenuShowDelay, "MenuShowDelay"); 5244return InvalidateProperty((int)CacheSlot.ComboBoxAnimation, "ComboBoxAnimation"); 5246return InvalidateProperty((int)CacheSlot.ClientAreaAnimation, "ClientAreaAnimation"); 5248return InvalidateProperty((int)CacheSlot.CursorShadow, "CursorShadow"); 5250return InvalidateProperty((int)CacheSlot.GradientCaptions, "GradientCaptions"); 5252return InvalidateProperty((int)CacheSlot.HotTracking, "HotTracking"); 5254return InvalidateProperty((int)CacheSlot.ListBoxSmoothScrolling, "ListBoxSmoothScrolling"); 5256return InvalidateProperty((int)CacheSlot.MenuAnimation, "MenuAnimation"); 5258return InvalidateProperty((int)CacheSlot.SelectionFade, "SelectionFade"); 5260return InvalidateProperty((int)CacheSlot.StylusHotTracking, "StylusHotTracking"); 5262return InvalidateProperty((int)CacheSlot.ToolTipAnimation, "ToolTipAnimation"); 5264return InvalidateProperty((int)CacheSlot.ToolTipFade, "ToolTipFade"); 5266return InvalidateProperty((int)CacheSlot.UIEffects, "UIEffects"); 5269return InvalidateProperty((int)CacheSlot.MinimizeAnimation, "MinimizeAnimation"); 5271return InvalidateProperty((int)CacheSlot.CaretWidth, "CaretWidth"); 5273return InvalidateProperty((int)CacheSlot.ForegroundFlashCount, "ForegroundFlashCount"); 5275return InvalidateProperty((int)CacheSlot.DragFullWindows, "DragFullWindows"); 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)) 5442return InvalidateProperty((int)CacheSlot.MinimumHorizontalDragDistance, "MinimumHorizontalDragDistance"); 5444return InvalidateProperty((int)CacheSlot.MinimumVerticalDragDistance, "MinimumVerticalDragDistance"); 5446return InvalidateProperty((int)CacheSlot.IsPenWindows, "IsPenWindows"); 5448return InvalidateProperty((int)CacheSlot.ShowSounds, "ShowSounds"); 5450return InvalidateProperty((int)CacheSlot.SwapButtons, "SwapButtons"); 5458return InvalidateProperty((int)CacheSlot.IsGlassEnabled, "IsGlassEnabled"); 5465InvalidateProperty((int)CacheSlot.UxThemeName, "UxThemeName"); 5466InvalidateProperty((int)CacheSlot.UxThemeColor, "UxThemeColor"); 5467InvalidateProperty((int)CacheSlot.WindowCornerRadius, "WindowCornerRadius"); 5472InvalidateProperty((int)CacheSlot.WindowGlassColor, "WindowGlassColor"); 5473InvalidateProperty((int)CacheSlot.WindowGlassBrush, "WindowGlassBrush"); 5480InvalidateProperty((int)CacheSlot.WindowNonClientFrameThickness, "WindowNonClientFrameThickness"); 5481InvalidateProperty((int)CacheSlot.WindowResizeBorderThickness, "WindowResizeBorderThickness"); 5497while (!_cacheValid[(int)CacheSlot.IsGlassEnabled]) 5499_cacheValid[(int)CacheSlot.IsGlassEnabled] = true; 5519while (!_cacheValid[(int)CacheSlot.UxThemeName]) 5521_cacheValid[(int)CacheSlot.UxThemeName] = true; 5554while (!_cacheValid[(int)CacheSlot.UxThemeColor]) 5556_cacheValid[(int)CacheSlot.UxThemeColor] = true; 5589while (!_cacheValid[(int)CacheSlot.WindowCornerRadius]) 5591_cacheValid[(int)CacheSlot.WindowCornerRadius] = true; 5647while (!_cacheValid[(int)CacheSlot.WindowGlassColor]) 5649_cacheValid[(int)CacheSlot.WindowGlassColor] = true; 5673while (!_cacheValid[(int)CacheSlot.WindowGlassBrush]) 5675_cacheValid[(int)CacheSlot.WindowGlassBrush] = true; 5697while (!_cacheValid[(int)CacheSlot.WindowResizeBorderThickness]) 5699_cacheValid[(int)CacheSlot.WindowResizeBorderThickness] = true; 5722while (!_cacheValid[(int)CacheSlot.WindowNonClientFrameThickness]) 5724_cacheValid[(int)CacheSlot.WindowNonClientFrameThickness] = true; 5771_cacheValid[(int)CacheSlot.DpiX] = true; 5933private static BitArray _cacheValid = new BitArray((int)CacheSlot.NumSlots);