391 references to CacheSlot
PresentationFramework (391)
System\Windows\SystemParameters.cs (391)
102while (!_cacheValid[(int)CacheSlot.FocusBorderWidth]) 104_cacheValid[(int)CacheSlot.FocusBorderWidth] = true; 114_cacheValid[(int)CacheSlot.FocusBorderWidth] = false; 133while (!_cacheValid[(int)CacheSlot.FocusBorderHeight]) 135_cacheValid[(int)CacheSlot.FocusBorderHeight] = true; 145_cacheValid[(int)CacheSlot.FocusBorderHeight] = false; 164while (!_cacheValid[(int)CacheSlot.HighContrast]) 166_cacheValid[(int)CacheSlot.HighContrast] = true; 178_cacheValid[(int)CacheSlot.HighContrast] = false; 198while (!_cacheValid[(int)CacheSlot.MouseVanish]) 200_cacheValid[(int)CacheSlot.MouseVanish] = true; 207_cacheValid[(int)CacheSlot.MouseVanish] = false; 288while (!_cacheValid[(int)CacheSlot.DropShadow]) 290_cacheValid[(int)CacheSlot.DropShadow] = true; 297_cacheValid[(int)CacheSlot.DropShadow] = false; 317while (!_cacheValid[(int)CacheSlot.FlatMenu]) 319_cacheValid[(int)CacheSlot.FlatMenu] = true; 326_cacheValid[(int)CacheSlot.FlatMenu] = false; 345while (!_cacheValid[(int)CacheSlot.WorkAreaInternal]) 347_cacheValid[(int)CacheSlot.WorkAreaInternal] = true; 355_cacheValid[(int)CacheSlot.WorkAreaInternal] = false; 374while (!_cacheValid[(int)CacheSlot.WorkArea]) 376_cacheValid[(int)CacheSlot.WorkArea] = true; 452while (!_cacheValid[(int)CacheSlot.IconMetrics]) 454_cacheValid[(int)CacheSlot.IconMetrics] = true; 462_cacheValid[(int)CacheSlot.IconMetrics] = false; 571while (!_cacheValid[(int)CacheSlot.KeyboardCues]) 573_cacheValid[(int)CacheSlot.KeyboardCues] = true; 580_cacheValid[(int)CacheSlot.KeyboardCues] = false; 599while (!_cacheValid[(int)CacheSlot.KeyboardDelay]) 601_cacheValid[(int)CacheSlot.KeyboardDelay] = true; 608_cacheValid[(int)CacheSlot.KeyboardDelay] = false; 627while (!_cacheValid[(int)CacheSlot.KeyboardPreference]) 629_cacheValid[(int)CacheSlot.KeyboardPreference] = true; 636_cacheValid[(int)CacheSlot.KeyboardPreference] = false; 655while (!_cacheValid[(int)CacheSlot.KeyboardSpeed]) 657_cacheValid[(int)CacheSlot.KeyboardSpeed] = true; 664_cacheValid[(int)CacheSlot.KeyboardSpeed] = false; 683while (!_cacheValid[(int)CacheSlot.SnapToDefaultButton]) 685_cacheValid[(int)CacheSlot.SnapToDefaultButton] = true; 692_cacheValid[(int)CacheSlot.SnapToDefaultButton] = false; 711while (!_cacheValid[(int)CacheSlot.WheelScrollLines]) 713_cacheValid[(int)CacheSlot.WheelScrollLines] = true; 720_cacheValid[(int)CacheSlot.WheelScrollLines] = false; 747while (!_cacheValid[(int)CacheSlot.MouseHoverTime]) 749_cacheValid[(int)CacheSlot.MouseHoverTime] = true; 756_cacheValid[(int)CacheSlot.MouseHoverTime] = false; 775while (!_cacheValid[(int)CacheSlot.MouseHoverHeight]) 777_cacheValid[(int)CacheSlot.MouseHoverHeight] = true; 787_cacheValid[(int)CacheSlot.MouseHoverHeight] = false; 807while (!_cacheValid[(int)CacheSlot.MouseHoverWidth]) 809_cacheValid[(int)CacheSlot.MouseHoverWidth] = true; 819_cacheValid[(int)CacheSlot.MouseHoverWidth] = false; 991while (!_cacheValid[(int)CacheSlot.MenuDropAlignment]) 993_cacheValid[(int)CacheSlot.MenuDropAlignment] = true; 1000_cacheValid[(int)CacheSlot.MenuDropAlignment] = false; 1018while (!_cacheValid[(int)CacheSlot.MenuFade]) 1020_cacheValid[(int)CacheSlot.MenuFade] = true; 1027_cacheValid[(int)CacheSlot.MenuFade] = false; 1047while (!_cacheValid[(int)CacheSlot.MenuShowDelay]) 1049_cacheValid[(int)CacheSlot.MenuShowDelay] = true; 1056_cacheValid[(int)CacheSlot.MenuShowDelay] = false; 1150while (!_cacheValid[(int)CacheSlot.ComboBoxAnimation]) 1152_cacheValid[(int)CacheSlot.ComboBoxAnimation] = true; 1159_cacheValid[(int)CacheSlot.ComboBoxAnimation] = false; 1178while (!_cacheValid[(int)CacheSlot.ClientAreaAnimation]) 1180_cacheValid[(int)CacheSlot.ClientAreaAnimation] = true; 1190_cacheValid[(int)CacheSlot.ClientAreaAnimation] = false; 1214while (!_cacheValid[(int)CacheSlot.CursorShadow]) 1216_cacheValid[(int)CacheSlot.CursorShadow] = true; 1223_cacheValid[(int)CacheSlot.CursorShadow] = false; 1242while (!_cacheValid[(int)CacheSlot.GradientCaptions]) 1244_cacheValid[(int)CacheSlot.GradientCaptions] = true; 1251_cacheValid[(int)CacheSlot.GradientCaptions] = false; 1270while (!_cacheValid[(int)CacheSlot.HotTracking]) 1272_cacheValid[(int)CacheSlot.HotTracking] = true; 1279_cacheValid[(int)CacheSlot.HotTracking] = false; 1298while (!_cacheValid[(int)CacheSlot.ListBoxSmoothScrolling]) 1300_cacheValid[(int)CacheSlot.ListBoxSmoothScrolling] = true; 1307_cacheValid[(int)CacheSlot.ListBoxSmoothScrolling] = false; 1349while (!_cacheValid[(int)CacheSlot.MenuAnimation]) 1351_cacheValid[(int)CacheSlot.MenuAnimation] = true; 1358_cacheValid[(int)CacheSlot.MenuAnimation] = false; 1377while (!_cacheValid[(int)CacheSlot.SelectionFade]) 1379_cacheValid[(int)CacheSlot.SelectionFade] = true; 1386_cacheValid[(int)CacheSlot.SelectionFade] = false; 1405while (!_cacheValid[(int)CacheSlot.StylusHotTracking]) 1407_cacheValid[(int)CacheSlot.StylusHotTracking] = true; 1414_cacheValid[(int)CacheSlot.StylusHotTracking] = false; 1450while (!_cacheValid[(int)CacheSlot.ToolTipAnimation]) 1452_cacheValid[(int)CacheSlot.ToolTipAnimation] = true; 1459_cacheValid[(int)CacheSlot.ToolTipAnimation] = false; 1478while (!_cacheValid[(int)CacheSlot.ToolTipFade]) 1480_cacheValid[(int)CacheSlot.ToolTipFade] = true; 1487_cacheValid[(int)CacheSlot.ToolTipFade] = false; 1506while (!_cacheValid[(int)CacheSlot.UIEffects]) 1508_cacheValid[(int)CacheSlot.UIEffects] = true; 1515_cacheValid[(int)CacheSlot.UIEffects] = false; 1782while (!_cacheValid[(int)CacheSlot.MinimizeAnimation]) 1784_cacheValid[(int)CacheSlot.MinimizeAnimation] = true; 1794_cacheValid[(int)CacheSlot.MinimizeAnimation] = false; 1813while (!_cacheValid[(int)CacheSlot.Border]) 1815_cacheValid[(int)CacheSlot.Border] = true; 1822_cacheValid[(int)CacheSlot.Border] = false; 1841while (!_cacheValid[(int)CacheSlot.CaretWidth]) 1843_cacheValid[(int)CacheSlot.CaretWidth] = true; 1872_cacheValid[(int)CacheSlot.CaretWidth] = false; 1893while (!_cacheValid[(int)CacheSlot.DragFullWindows]) 1895_cacheValid[(int)CacheSlot.DragFullWindows] = true; 1902_cacheValid[(int)CacheSlot.DragFullWindows] = false; 1922while (!_cacheValid[(int)CacheSlot.ForegroundFlashCount]) 1924_cacheValid[(int)CacheSlot.ForegroundFlashCount] = true; 1931_cacheValid[(int)CacheSlot.ForegroundFlashCount] = false; 1950while (!_cacheValid[(int)CacheSlot.NonClientMetrics]) 1952_cacheValid[(int)CacheSlot.NonClientMetrics] = true; 1960_cacheValid[(int)CacheSlot.NonClientMetrics] = false; 2294while (!_cacheValid[(int)CacheSlot.ThinHorizontalBorderHeight]) 2296_cacheValid[(int)CacheSlot.ThinHorizontalBorderHeight] = true; 2315while (!_cacheValid[(int)CacheSlot.ThinVerticalBorderWidth]) 2317_cacheValid[(int)CacheSlot.ThinVerticalBorderWidth] = true; 2335while (!_cacheValid[(int)CacheSlot.CursorWidth]) 2337_cacheValid[(int)CacheSlot.CursorWidth] = true; 2355while (!_cacheValid[(int)CacheSlot.CursorHeight]) 2357_cacheValid[(int)CacheSlot.CursorHeight] = true; 2375while (!_cacheValid[(int)CacheSlot.ThickHorizontalBorderHeight]) 2377_cacheValid[(int)CacheSlot.ThickHorizontalBorderHeight] = true; 2395while (!_cacheValid[(int)CacheSlot.ThickVerticalBorderWidth]) 2397_cacheValid[(int)CacheSlot.ThickVerticalBorderWidth] = true; 2415while (!_cacheValid[(int)CacheSlot.MinimumHorizontalDragDistance]) 2417_cacheValid[(int)CacheSlot.MinimumHorizontalDragDistance] = true; 2435while (!_cacheValid[(int)CacheSlot.MinimumVerticalDragDistance]) 2437_cacheValid[(int)CacheSlot.MinimumVerticalDragDistance] = true; 2455while(!_cacheValid[(int)CacheSlot.FixedFrameHorizontalBorderHeight]) 2457_cacheValid[(int)CacheSlot.FixedFrameHorizontalBorderHeight] = true; 2475while (!_cacheValid[(int)CacheSlot.FixedFrameVerticalBorderWidth]) 2477_cacheValid[(int)CacheSlot.FixedFrameVerticalBorderWidth] = true; 2495while (!_cacheValid[(int)CacheSlot.FocusHorizontalBorderHeight]) 2497_cacheValid[(int)CacheSlot.FocusHorizontalBorderHeight] = true; 2515while(!_cacheValid[(int)CacheSlot.FocusVerticalBorderWidth]) 2517_cacheValid[(int)CacheSlot.FocusVerticalBorderWidth] = true; 2539while (!_cacheValid[(int)CacheSlot.FullPrimaryScreenWidth]) 2541_cacheValid[(int)CacheSlot.FullPrimaryScreenWidth] = true; 2562while (!_cacheValid[(int)CacheSlot.FullPrimaryScreenHeight]) 2564_cacheValid[(int)CacheSlot.FullPrimaryScreenHeight] = true; 2582while (!_cacheValid[(int)CacheSlot.HorizontalScrollBarButtonWidth]) 2584_cacheValid[(int)CacheSlot.HorizontalScrollBarButtonWidth] = true; 2602while (!_cacheValid[(int)CacheSlot.HorizontalScrollBarHeight]) 2604_cacheValid[(int)CacheSlot.HorizontalScrollBarHeight] = true; 2622while (!_cacheValid[(int)CacheSlot.HorizontalScrollBarThumbWidth]) 2624_cacheValid[(int)CacheSlot.HorizontalScrollBarThumbWidth] = true; 2642while (!_cacheValid[(int)CacheSlot.IconWidth]) 2644_cacheValid[(int)CacheSlot.IconWidth] = true; 2662while (!_cacheValid[(int)CacheSlot.IconHeight]) 2664_cacheValid[(int)CacheSlot.IconHeight] = true; 2682while (!_cacheValid[(int)CacheSlot.IconGridWidth]) 2684_cacheValid[(int)CacheSlot.IconGridWidth] = true; 2702while (!_cacheValid[(int)CacheSlot.IconGridHeight]) 2704_cacheValid[(int)CacheSlot.IconGridHeight] = true; 2725while (!_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenWidth]) 2727_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenWidth] = true; 2748while (!_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenHeight]) 2750_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenHeight] = true; 2771while (!_cacheValid[(int)CacheSlot.MaximumWindowTrackWidth]) 2773_cacheValid[(int)CacheSlot.MaximumWindowTrackWidth] = true; 2794while (!_cacheValid[(int)CacheSlot.MaximumWindowTrackHeight]) 2796_cacheValid[(int)CacheSlot.MaximumWindowTrackHeight] = true; 2814while (!_cacheValid[(int)CacheSlot.MenuCheckmarkWidth]) 2816_cacheValid[(int)CacheSlot.MenuCheckmarkWidth] = true; 2834while (!_cacheValid[(int)CacheSlot.MenuCheckmarkHeight]) 2836_cacheValid[(int)CacheSlot.MenuCheckmarkHeight] = true; 2854while (!_cacheValid[(int)CacheSlot.MenuButtonWidth]) 2856_cacheValid[(int)CacheSlot.MenuButtonWidth] = true; 2874while (!_cacheValid[(int)CacheSlot.MenuButtonHeight]) 2876_cacheValid[(int)CacheSlot.MenuButtonHeight] = true; 2897while (!_cacheValid[(int)CacheSlot.MinimumWindowWidth]) 2899_cacheValid[(int)CacheSlot.MinimumWindowWidth] = true; 2920while (!_cacheValid[(int)CacheSlot.MinimumWindowHeight]) 2922_cacheValid[(int)CacheSlot.MinimumWindowHeight] = true; 2943while (!_cacheValid[(int)CacheSlot.MinimizedWindowWidth]) 2945_cacheValid[(int)CacheSlot.MinimizedWindowWidth] = true; 2966while (!_cacheValid[(int)CacheSlot.MinimizedWindowHeight]) 2968_cacheValid[(int)CacheSlot.MinimizedWindowHeight] = true; 2986while (!_cacheValid[(int)CacheSlot.MinimizedGridWidth]) 2988_cacheValid[(int)CacheSlot.MinimizedGridWidth] = true; 3006while (!_cacheValid[(int)CacheSlot.MinimizedGridHeight]) 3008_cacheValid[(int)CacheSlot.MinimizedGridHeight] = true; 3029while (!_cacheValid[(int)CacheSlot.MinimumWindowTrackWidth]) 3031_cacheValid[(int)CacheSlot.MinimumWindowTrackWidth] = true; 3052while (!_cacheValid[(int)CacheSlot.MinimumWindowTrackHeight]) 3054_cacheValid[(int)CacheSlot.MinimumWindowTrackHeight] = true; 3072while (!_cacheValid[(int)CacheSlot.PrimaryScreenWidth]) 3074_cacheValid[(int)CacheSlot.PrimaryScreenWidth] = true; 3093while(!_cacheValid[(int)CacheSlot.PrimaryScreenHeight]) 3095_cacheValid[(int)CacheSlot.PrimaryScreenHeight] = true; 3116while (!_cacheValid[(int)CacheSlot.WindowCaptionButtonWidth]) 3118_cacheValid[(int)CacheSlot.WindowCaptionButtonWidth] = true; 3136while (!_cacheValid[(int)CacheSlot.WindowCaptionButtonHeight]) 3138_cacheValid[(int)CacheSlot.WindowCaptionButtonHeight] = true; 3157while (!_cacheValid[(int)CacheSlot.ResizeFrameHorizontalBorderHeight]) 3159_cacheValid[(int)CacheSlot.ResizeFrameHorizontalBorderHeight] = true; 3177while (!_cacheValid[(int)CacheSlot.ResizeFrameVerticalBorderWidth]) 3179_cacheValid[(int)CacheSlot.ResizeFrameVerticalBorderWidth] = true; 3197while (!_cacheValid[(int)CacheSlot.SmallIconWidth]) 3199_cacheValid[(int)CacheSlot.SmallIconWidth] = true; 3217while (!_cacheValid[(int)CacheSlot.SmallIconHeight]) 3219_cacheValid[(int)CacheSlot.SmallIconHeight] = true; 3237while (!_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonWidth]) 3239_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonWidth] = true; 3257while (!_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonHeight]) 3259_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonHeight] = true; 3280while (!_cacheValid[(int)CacheSlot.VirtualScreenWidth]) 3282_cacheValid[(int)CacheSlot.VirtualScreenWidth] = true; 3303while (!_cacheValid[(int)CacheSlot.VirtualScreenHeight]) 3305_cacheValid[(int)CacheSlot.VirtualScreenHeight] = true; 3324while (!_cacheValid[(int)CacheSlot.VerticalScrollBarWidth]) 3326_cacheValid[(int)CacheSlot.VerticalScrollBarWidth] = true; 3344while (!_cacheValid[(int)CacheSlot.VerticalScrollBarButtonHeight]) 3346_cacheValid[(int)CacheSlot.VerticalScrollBarButtonHeight] = true; 3367while (!_cacheValid[(int)CacheSlot.WindowCaptionHeight]) 3369_cacheValid[(int)CacheSlot.WindowCaptionHeight] = true; 3391while (!_cacheValid[(int)CacheSlot.KanjiWindowHeight]) 3393_cacheValid[(int)CacheSlot.KanjiWindowHeight] = true; 3414while (!_cacheValid[(int)CacheSlot.MenuBarHeight]) 3416_cacheValid[(int)CacheSlot.MenuBarHeight] = true; 3434while (!_cacheValid[(int)CacheSlot.VerticalScrollBarThumbHeight]) 3436_cacheValid[(int)CacheSlot.VerticalScrollBarThumbHeight] = true; 3457while (!_cacheValid[(int)CacheSlot.IsImmEnabled]) 3459_cacheValid[(int)CacheSlot.IsImmEnabled] = true; 3481while (!_cacheValid[(int)CacheSlot.IsMediaCenter]) 3483_cacheValid[(int)CacheSlot.IsMediaCenter] = true; 3501while (!_cacheValid[(int)CacheSlot.IsMenuDropRightAligned]) 3503_cacheValid[(int)CacheSlot.IsMenuDropRightAligned] = true; 3524while (!_cacheValid[(int)CacheSlot.IsMiddleEastEnabled]) 3526_cacheValid[(int)CacheSlot.IsMiddleEastEnabled] = true; 3544while (!_cacheValid[(int)CacheSlot.IsMousePresent]) 3546_cacheValid[(int)CacheSlot.IsMousePresent] = true; 3564while (!_cacheValid[(int)CacheSlot.IsMouseWheelPresent]) 3566_cacheValid[(int)CacheSlot.IsMouseWheelPresent] = true; 3587while (!_cacheValid[(int)CacheSlot.IsPenWindows]) 3589_cacheValid[(int)CacheSlot.IsPenWindows] = true; 3610while (!_cacheValid[(int)CacheSlot.IsRemotelyControlled]) 3612_cacheValid[(int)CacheSlot.IsRemotelyControlled] = true; 3633while (!_cacheValid[(int)CacheSlot.IsRemoteSession]) 3635_cacheValid[(int)CacheSlot.IsRemoteSession] = true; 3656while (!_cacheValid[(int)CacheSlot.ShowSounds]) 3658_cacheValid[(int)CacheSlot.ShowSounds] = true; 3679while (!_cacheValid[(int)CacheSlot.IsSlowMachine]) 3681_cacheValid[(int)CacheSlot.IsSlowMachine] = true; 3702while (!_cacheValid[(int)CacheSlot.SwapButtons]) 3704_cacheValid[(int)CacheSlot.SwapButtons] = true; 3725while (!_cacheValid[(int)CacheSlot.IsTabletPC]) 3727_cacheValid[(int)CacheSlot.IsTabletPC] = true; 3748while (!_cacheValid[(int)CacheSlot.VirtualScreenLeft]) 3750_cacheValid[(int)CacheSlot.VirtualScreenLeft] = true; 3771while (!_cacheValid[(int)CacheSlot.VirtualScreenTop]) 3773_cacheValid[(int)CacheSlot.VirtualScreenTop] = true; 4958while (!_cacheValid[(int)CacheSlot.PowerLineStatus]) 4960_cacheValid[(int)CacheSlot.PowerLineStatus] = true; 4969_cacheValid[(int)CacheSlot.PowerLineStatus] = false; 5058if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IsMousePresent)) 5061if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IsMouseWheelPresent)) 5074if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WorkAreaInternal)) 5084if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WorkArea)) 5087if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FullPrimaryScreenWidth)) 5090if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FullPrimaryScreenHeight)) 5093if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximizedPrimaryScreenWidth)) 5096if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximizedPrimaryScreenHeight)) 5099if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.PrimaryScreenWidth)) 5102if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.PrimaryScreenHeight)) 5105if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenWidth)) 5108if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenHeight)) 5111if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenLeft)) 5114if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenTop)) 5133if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.PowerLineStatus)) 5150bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FocusBorderWidth); 5153if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FocusHorizontalBorderHeight)) 5156if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FocusVerticalBorderWidth)) 5165return InvalidateProperty((int)CacheSlot.FocusBorderHeight, "FocusBorderHeight"); 5167return InvalidateProperty((int)CacheSlot.HighContrast, "HighContrast"); 5169return InvalidateProperty((int)CacheSlot.MouseVanish, "MouseVanish"); 5172return InvalidateProperty((int)CacheSlot.DropShadow, "DropShadow"); 5174return InvalidateProperty((int)CacheSlot.FlatMenu, "FlatMenu"); 5180bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconMetrics); 5186if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconWidth)) 5189if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconHeight)) 5192if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridWidth)) 5195if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridHeight)) 5207return InvalidateProperty((int)CacheSlot.KeyboardCues, "KeyboardCues"); 5209return InvalidateProperty((int)CacheSlot.KeyboardDelay, "KeyboardDelay"); 5211return InvalidateProperty((int)CacheSlot.KeyboardPreference, "KeyboardPreference"); 5213return InvalidateProperty((int)CacheSlot.KeyboardSpeed, "KeyboardSpeed"); 5215return InvalidateProperty((int)CacheSlot.SnapToDefaultButton, "SnapToDefaultButton"); 5217return InvalidateProperty((int)CacheSlot.WheelScrollLines, "WheelScrollLines"); 5219return InvalidateProperty((int)CacheSlot.MouseHoverTime, "MouseHoverTime"); 5221return InvalidateProperty((int)CacheSlot.MouseHoverHeight, "MouseHoverHeight"); 5223return InvalidateProperty((int)CacheSlot.MouseHoverWidth, "MouseHoverWidth"); 5227bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuDropAlignment); 5229if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IsMenuDropRightAligned)) 5238return InvalidateProperty((int)CacheSlot.MenuFade, "MenuFade"); 5240return InvalidateProperty((int)CacheSlot.MenuShowDelay, "MenuShowDelay"); 5243return InvalidateProperty((int)CacheSlot.ComboBoxAnimation, "ComboBoxAnimation"); 5245return InvalidateProperty((int)CacheSlot.ClientAreaAnimation, "ClientAreaAnimation"); 5247return InvalidateProperty((int)CacheSlot.CursorShadow, "CursorShadow"); 5249return InvalidateProperty((int)CacheSlot.GradientCaptions, "GradientCaptions"); 5251return InvalidateProperty((int)CacheSlot.HotTracking, "HotTracking"); 5253return InvalidateProperty((int)CacheSlot.ListBoxSmoothScrolling, "ListBoxSmoothScrolling"); 5255return InvalidateProperty((int)CacheSlot.MenuAnimation, "MenuAnimation"); 5257return InvalidateProperty((int)CacheSlot.SelectionFade, "SelectionFade"); 5259return InvalidateProperty((int)CacheSlot.StylusHotTracking, "StylusHotTracking"); 5261return InvalidateProperty((int)CacheSlot.ToolTipAnimation, "ToolTipAnimation"); 5263return InvalidateProperty((int)CacheSlot.ToolTipFade, "ToolTipFade"); 5265return InvalidateProperty((int)CacheSlot.UIEffects, "UIEffects"); 5268return InvalidateProperty((int)CacheSlot.MinimizeAnimation, "MinimizeAnimation"); 5270return InvalidateProperty((int)CacheSlot.CaretWidth, "CaretWidth"); 5272return InvalidateProperty((int)CacheSlot.ForegroundFlashCount, "ForegroundFlashCount"); 5274return InvalidateProperty((int)CacheSlot.DragFullWindows, "DragFullWindows"); 5278bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.NonClientMetrics); 5283changed |= SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.Border); 5286if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThinHorizontalBorderHeight)) 5289if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThinVerticalBorderWidth)) 5292if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.CursorWidth)) 5295if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.CursorHeight)) 5298if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThickHorizontalBorderHeight)) 5301if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThickVerticalBorderWidth)) 5304if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FixedFrameHorizontalBorderHeight)) 5307if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FixedFrameVerticalBorderWidth)) 5310if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.HorizontalScrollBarButtonWidth)) 5313if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.HorizontalScrollBarHeight)) 5316if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.HorizontalScrollBarThumbWidth)) 5319if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconWidth)) 5322if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconHeight)) 5325if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridWidth)) 5328if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridHeight)) 5331if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximumWindowTrackWidth)) 5334if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximumWindowTrackHeight)) 5337if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuCheckmarkWidth)) 5340if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuCheckmarkHeight)) 5343if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuButtonWidth)) 5346if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuButtonHeight)) 5349if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowWidth)) 5352if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowHeight)) 5355if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedWindowWidth)) 5358if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedWindowHeight)) 5361if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedGridWidth)) 5364if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedGridHeight)) 5367if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowTrackWidth)) 5370if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowTrackHeight)) 5373if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WindowCaptionButtonWidth)) 5376if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WindowCaptionButtonHeight)) 5379if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ResizeFrameHorizontalBorderHeight)) 5382if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ResizeFrameVerticalBorderWidth)) 5385if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallIconWidth)) 5388if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallIconHeight)) 5391if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallWindowCaptionButtonWidth)) 5394if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallWindowCaptionButtonHeight)) 5397if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VerticalScrollBarWidth)) 5400if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VerticalScrollBarButtonHeight)) 5403if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WindowCaptionHeight)) 5406if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuBarHeight)) 5409if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VerticalScrollBarThumbHeight)) 5441return InvalidateProperty((int)CacheSlot.MinimumHorizontalDragDistance, "MinimumHorizontalDragDistance"); 5443return InvalidateProperty((int)CacheSlot.MinimumVerticalDragDistance, "MinimumVerticalDragDistance"); 5445return InvalidateProperty((int)CacheSlot.IsPenWindows, "IsPenWindows"); 5447return InvalidateProperty((int)CacheSlot.ShowSounds, "ShowSounds"); 5449return InvalidateProperty((int)CacheSlot.SwapButtons, "SwapButtons"); 5457return InvalidateProperty((int)CacheSlot.IsGlassEnabled, "IsGlassEnabled"); 5464InvalidateProperty((int)CacheSlot.UxThemeName, "UxThemeName"); 5465InvalidateProperty((int)CacheSlot.UxThemeColor, "UxThemeColor"); 5466InvalidateProperty((int)CacheSlot.WindowCornerRadius, "WindowCornerRadius"); 5471InvalidateProperty((int)CacheSlot.WindowGlassColor, "WindowGlassColor"); 5472InvalidateProperty((int)CacheSlot.WindowGlassBrush, "WindowGlassBrush"); 5479InvalidateProperty((int)CacheSlot.WindowNonClientFrameThickness, "WindowNonClientFrameThickness"); 5480InvalidateProperty((int)CacheSlot.WindowResizeBorderThickness, "WindowResizeBorderThickness"); 5496while (!_cacheValid[(int)CacheSlot.IsGlassEnabled]) 5498_cacheValid[(int)CacheSlot.IsGlassEnabled] = true; 5518while (!_cacheValid[(int)CacheSlot.UxThemeName]) 5520_cacheValid[(int)CacheSlot.UxThemeName] = true; 5553while (!_cacheValid[(int)CacheSlot.UxThemeColor]) 5555_cacheValid[(int)CacheSlot.UxThemeColor] = true; 5588while (!_cacheValid[(int)CacheSlot.WindowCornerRadius]) 5590_cacheValid[(int)CacheSlot.WindowCornerRadius] = true; 5646while (!_cacheValid[(int)CacheSlot.WindowGlassColor]) 5648_cacheValid[(int)CacheSlot.WindowGlassColor] = true; 5672while (!_cacheValid[(int)CacheSlot.WindowGlassBrush]) 5674_cacheValid[(int)CacheSlot.WindowGlassBrush] = true; 5696while (!_cacheValid[(int)CacheSlot.WindowResizeBorderThickness]) 5698_cacheValid[(int)CacheSlot.WindowResizeBorderThickness] = true; 5721while (!_cacheValid[(int)CacheSlot.WindowNonClientFrameThickness]) 5723_cacheValid[(int)CacheSlot.WindowNonClientFrameThickness] = true; 5770_cacheValid[(int)CacheSlot.DpiX] = true; 5932private static BitArray _cacheValid = new BitArray((int)CacheSlot.NumSlots);