391 references to CacheSlot
PresentationFramework (391)
src\Framework\System\Windows\SystemParameters.cs (391)
118while (!_cacheValid[(int)CacheSlot.FocusBorderWidth]) 120_cacheValid[(int)CacheSlot.FocusBorderWidth] = true; 130_cacheValid[(int)CacheSlot.FocusBorderWidth] = false; 154while (!_cacheValid[(int)CacheSlot.FocusBorderHeight]) 156_cacheValid[(int)CacheSlot.FocusBorderHeight] = true; 166_cacheValid[(int)CacheSlot.FocusBorderHeight] = false; 191while (!_cacheValid[(int)CacheSlot.HighContrast]) 193_cacheValid[(int)CacheSlot.HighContrast] = true; 204_cacheValid[(int)CacheSlot.HighContrast] = false; 229while (!_cacheValid[(int)CacheSlot.MouseVanish]) 231_cacheValid[(int)CacheSlot.MouseVanish] = true; 238_cacheValid[(int)CacheSlot.MouseVanish] = false; 324while (!_cacheValid[(int)CacheSlot.DropShadow]) 326_cacheValid[(int)CacheSlot.DropShadow] = true; 333_cacheValid[(int)CacheSlot.DropShadow] = false; 358while (!_cacheValid[(int)CacheSlot.FlatMenu]) 360_cacheValid[(int)CacheSlot.FlatMenu] = true; 367_cacheValid[(int)CacheSlot.FlatMenu] = false; 391while (!_cacheValid[(int)CacheSlot.WorkAreaInternal]) 393_cacheValid[(int)CacheSlot.WorkAreaInternal] = true; 401_cacheValid[(int)CacheSlot.WorkAreaInternal] = false; 420while (!_cacheValid[(int)CacheSlot.WorkArea]) 422_cacheValid[(int)CacheSlot.WorkArea] = true; 503while (!_cacheValid[(int)CacheSlot.IconMetrics]) 505_cacheValid[(int)CacheSlot.IconMetrics] = true; 513_cacheValid[(int)CacheSlot.IconMetrics] = false; 628while (!_cacheValid[(int)CacheSlot.KeyboardCues]) 630_cacheValid[(int)CacheSlot.KeyboardCues] = true; 637_cacheValid[(int)CacheSlot.KeyboardCues] = false; 661while (!_cacheValid[(int)CacheSlot.KeyboardDelay]) 663_cacheValid[(int)CacheSlot.KeyboardDelay] = true; 670_cacheValid[(int)CacheSlot.KeyboardDelay] = false; 694while (!_cacheValid[(int)CacheSlot.KeyboardPreference]) 696_cacheValid[(int)CacheSlot.KeyboardPreference] = true; 703_cacheValid[(int)CacheSlot.KeyboardPreference] = false; 727while (!_cacheValid[(int)CacheSlot.KeyboardSpeed]) 729_cacheValid[(int)CacheSlot.KeyboardSpeed] = true; 736_cacheValid[(int)CacheSlot.KeyboardSpeed] = false; 760while (!_cacheValid[(int)CacheSlot.SnapToDefaultButton]) 762_cacheValid[(int)CacheSlot.SnapToDefaultButton] = true; 769_cacheValid[(int)CacheSlot.SnapToDefaultButton] = false; 793while (!_cacheValid[(int)CacheSlot.WheelScrollLines]) 795_cacheValid[(int)CacheSlot.WheelScrollLines] = true; 802_cacheValid[(int)CacheSlot.WheelScrollLines] = false; 834while (!_cacheValid[(int)CacheSlot.MouseHoverTime]) 836_cacheValid[(int)CacheSlot.MouseHoverTime] = true; 843_cacheValid[(int)CacheSlot.MouseHoverTime] = false; 867while (!_cacheValid[(int)CacheSlot.MouseHoverHeight]) 869_cacheValid[(int)CacheSlot.MouseHoverHeight] = true; 879_cacheValid[(int)CacheSlot.MouseHoverHeight] = false; 904while (!_cacheValid[(int)CacheSlot.MouseHoverWidth]) 906_cacheValid[(int)CacheSlot.MouseHoverWidth] = true; 916_cacheValid[(int)CacheSlot.MouseHoverWidth] = false; 1094while (!_cacheValid[(int)CacheSlot.MenuDropAlignment]) 1096_cacheValid[(int)CacheSlot.MenuDropAlignment] = true; 1103_cacheValid[(int)CacheSlot.MenuDropAlignment] = false; 1126while (!_cacheValid[(int)CacheSlot.MenuFade]) 1128_cacheValid[(int)CacheSlot.MenuFade] = true; 1135_cacheValid[(int)CacheSlot.MenuFade] = false; 1160while (!_cacheValid[(int)CacheSlot.MenuShowDelay]) 1162_cacheValid[(int)CacheSlot.MenuShowDelay] = true; 1169_cacheValid[(int)CacheSlot.MenuShowDelay] = false; 1268while (!_cacheValid[(int)CacheSlot.ComboBoxAnimation]) 1270_cacheValid[(int)CacheSlot.ComboBoxAnimation] = true; 1277_cacheValid[(int)CacheSlot.ComboBoxAnimation] = false; 1301while (!_cacheValid[(int)CacheSlot.ClientAreaAnimation]) 1303_cacheValid[(int)CacheSlot.ClientAreaAnimation] = true; 1313_cacheValid[(int)CacheSlot.ClientAreaAnimation] = false; 1342while (!_cacheValid[(int)CacheSlot.CursorShadow]) 1344_cacheValid[(int)CacheSlot.CursorShadow] = true; 1351_cacheValid[(int)CacheSlot.CursorShadow] = false; 1375while (!_cacheValid[(int)CacheSlot.GradientCaptions]) 1377_cacheValid[(int)CacheSlot.GradientCaptions] = true; 1384_cacheValid[(int)CacheSlot.GradientCaptions] = false; 1408while (!_cacheValid[(int)CacheSlot.HotTracking]) 1410_cacheValid[(int)CacheSlot.HotTracking] = true; 1417_cacheValid[(int)CacheSlot.HotTracking] = false; 1441while (!_cacheValid[(int)CacheSlot.ListBoxSmoothScrolling]) 1443_cacheValid[(int)CacheSlot.ListBoxSmoothScrolling] = true; 1450_cacheValid[(int)CacheSlot.ListBoxSmoothScrolling] = false; 1497while (!_cacheValid[(int)CacheSlot.MenuAnimation]) 1499_cacheValid[(int)CacheSlot.MenuAnimation] = true; 1506_cacheValid[(int)CacheSlot.MenuAnimation] = false; 1530while (!_cacheValid[(int)CacheSlot.SelectionFade]) 1532_cacheValid[(int)CacheSlot.SelectionFade] = true; 1539_cacheValid[(int)CacheSlot.SelectionFade] = false; 1563while (!_cacheValid[(int)CacheSlot.StylusHotTracking]) 1565_cacheValid[(int)CacheSlot.StylusHotTracking] = true; 1572_cacheValid[(int)CacheSlot.StylusHotTracking] = false; 1613while (!_cacheValid[(int)CacheSlot.ToolTipAnimation]) 1615_cacheValid[(int)CacheSlot.ToolTipAnimation] = true; 1622_cacheValid[(int)CacheSlot.ToolTipAnimation] = false; 1646while (!_cacheValid[(int)CacheSlot.ToolTipFade]) 1648_cacheValid[(int)CacheSlot.ToolTipFade] = true; 1655_cacheValid[(int)CacheSlot.ToolTipFade] = false; 1679while (!_cacheValid[(int)CacheSlot.UIEffects]) 1681_cacheValid[(int)CacheSlot.UIEffects] = true; 1688_cacheValid[(int)CacheSlot.UIEffects] = false; 1960while (!_cacheValid[(int)CacheSlot.MinimizeAnimation]) 1962_cacheValid[(int)CacheSlot.MinimizeAnimation] = true; 1972_cacheValid[(int)CacheSlot.MinimizeAnimation] = false; 1996while (!_cacheValid[(int)CacheSlot.Border]) 1998_cacheValid[(int)CacheSlot.Border] = true; 2005_cacheValid[(int)CacheSlot.Border] = false; 2029while (!_cacheValid[(int)CacheSlot.CaretWidth]) 2031_cacheValid[(int)CacheSlot.CaretWidth] = true; 2061_cacheValid[(int)CacheSlot.CaretWidth] = false; 2087while (!_cacheValid[(int)CacheSlot.DragFullWindows]) 2089_cacheValid[(int)CacheSlot.DragFullWindows] = true; 2096_cacheValid[(int)CacheSlot.DragFullWindows] = false; 2121while (!_cacheValid[(int)CacheSlot.ForegroundFlashCount]) 2123_cacheValid[(int)CacheSlot.ForegroundFlashCount] = true; 2130_cacheValid[(int)CacheSlot.ForegroundFlashCount] = false; 2154while (!_cacheValid[(int)CacheSlot.NonClientMetrics]) 2156_cacheValid[(int)CacheSlot.NonClientMetrics] = true; 2164_cacheValid[(int)CacheSlot.NonClientMetrics] = false; 2503while (!_cacheValid[(int)CacheSlot.ThinHorizontalBorderHeight]) 2505_cacheValid[(int)CacheSlot.ThinHorizontalBorderHeight] = true; 2529while (!_cacheValid[(int)CacheSlot.ThinVerticalBorderWidth]) 2531_cacheValid[(int)CacheSlot.ThinVerticalBorderWidth] = true; 2554while (!_cacheValid[(int)CacheSlot.CursorWidth]) 2556_cacheValid[(int)CacheSlot.CursorWidth] = true; 2579while (!_cacheValid[(int)CacheSlot.CursorHeight]) 2581_cacheValid[(int)CacheSlot.CursorHeight] = true; 2604while (!_cacheValid[(int)CacheSlot.ThickHorizontalBorderHeight]) 2606_cacheValid[(int)CacheSlot.ThickHorizontalBorderHeight] = true; 2629while (!_cacheValid[(int)CacheSlot.ThickVerticalBorderWidth]) 2631_cacheValid[(int)CacheSlot.ThickVerticalBorderWidth] = true; 2654while (!_cacheValid[(int)CacheSlot.MinimumHorizontalDragDistance]) 2656_cacheValid[(int)CacheSlot.MinimumHorizontalDragDistance] = true; 2679while (!_cacheValid[(int)CacheSlot.MinimumVerticalDragDistance]) 2681_cacheValid[(int)CacheSlot.MinimumVerticalDragDistance] = true; 2704while(!_cacheValid[(int)CacheSlot.FixedFrameHorizontalBorderHeight]) 2706_cacheValid[(int)CacheSlot.FixedFrameHorizontalBorderHeight] = true; 2729while (!_cacheValid[(int)CacheSlot.FixedFrameVerticalBorderWidth]) 2731_cacheValid[(int)CacheSlot.FixedFrameVerticalBorderWidth] = true; 2754while (!_cacheValid[(int)CacheSlot.FocusHorizontalBorderHeight]) 2756_cacheValid[(int)CacheSlot.FocusHorizontalBorderHeight] = true; 2779while(!_cacheValid[(int)CacheSlot.FocusVerticalBorderWidth]) 2781_cacheValid[(int)CacheSlot.FocusVerticalBorderWidth] = true; 2809while (!_cacheValid[(int)CacheSlot.FullPrimaryScreenWidth]) 2811_cacheValid[(int)CacheSlot.FullPrimaryScreenWidth] = true; 2838while (!_cacheValid[(int)CacheSlot.FullPrimaryScreenHeight]) 2840_cacheValid[(int)CacheSlot.FullPrimaryScreenHeight] = true; 2863while (!_cacheValid[(int)CacheSlot.HorizontalScrollBarButtonWidth]) 2865_cacheValid[(int)CacheSlot.HorizontalScrollBarButtonWidth] = true; 2888while (!_cacheValid[(int)CacheSlot.HorizontalScrollBarHeight]) 2890_cacheValid[(int)CacheSlot.HorizontalScrollBarHeight] = true; 2913while (!_cacheValid[(int)CacheSlot.HorizontalScrollBarThumbWidth]) 2915_cacheValid[(int)CacheSlot.HorizontalScrollBarThumbWidth] = true; 2938while (!_cacheValid[(int)CacheSlot.IconWidth]) 2940_cacheValid[(int)CacheSlot.IconWidth] = true; 2963while (!_cacheValid[(int)CacheSlot.IconHeight]) 2965_cacheValid[(int)CacheSlot.IconHeight] = true; 2988while (!_cacheValid[(int)CacheSlot.IconGridWidth]) 2990_cacheValid[(int)CacheSlot.IconGridWidth] = true; 3013while (!_cacheValid[(int)CacheSlot.IconGridHeight]) 3015_cacheValid[(int)CacheSlot.IconGridHeight] = true; 3042while (!_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenWidth]) 3044_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenWidth] = true; 3071while (!_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenHeight]) 3073_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenHeight] = true; 3100while (!_cacheValid[(int)CacheSlot.MaximumWindowTrackWidth]) 3102_cacheValid[(int)CacheSlot.MaximumWindowTrackWidth] = true; 3129while (!_cacheValid[(int)CacheSlot.MaximumWindowTrackHeight]) 3131_cacheValid[(int)CacheSlot.MaximumWindowTrackHeight] = true; 3154while (!_cacheValid[(int)CacheSlot.MenuCheckmarkWidth]) 3156_cacheValid[(int)CacheSlot.MenuCheckmarkWidth] = true; 3179while (!_cacheValid[(int)CacheSlot.MenuCheckmarkHeight]) 3181_cacheValid[(int)CacheSlot.MenuCheckmarkHeight] = true; 3204while (!_cacheValid[(int)CacheSlot.MenuButtonWidth]) 3206_cacheValid[(int)CacheSlot.MenuButtonWidth] = true; 3229while (!_cacheValid[(int)CacheSlot.MenuButtonHeight]) 3231_cacheValid[(int)CacheSlot.MenuButtonHeight] = true; 3258while (!_cacheValid[(int)CacheSlot.MinimumWindowWidth]) 3260_cacheValid[(int)CacheSlot.MinimumWindowWidth] = true; 3287while (!_cacheValid[(int)CacheSlot.MinimumWindowHeight]) 3289_cacheValid[(int)CacheSlot.MinimumWindowHeight] = true; 3316while (!_cacheValid[(int)CacheSlot.MinimizedWindowWidth]) 3318_cacheValid[(int)CacheSlot.MinimizedWindowWidth] = true; 3345while (!_cacheValid[(int)CacheSlot.MinimizedWindowHeight]) 3347_cacheValid[(int)CacheSlot.MinimizedWindowHeight] = true; 3370while (!_cacheValid[(int)CacheSlot.MinimizedGridWidth]) 3372_cacheValid[(int)CacheSlot.MinimizedGridWidth] = true; 3395while (!_cacheValid[(int)CacheSlot.MinimizedGridHeight]) 3397_cacheValid[(int)CacheSlot.MinimizedGridHeight] = true; 3424while (!_cacheValid[(int)CacheSlot.MinimumWindowTrackWidth]) 3426_cacheValid[(int)CacheSlot.MinimumWindowTrackWidth] = true; 3453while (!_cacheValid[(int)CacheSlot.MinimumWindowTrackHeight]) 3455_cacheValid[(int)CacheSlot.MinimumWindowTrackHeight] = true; 3478while (!_cacheValid[(int)CacheSlot.PrimaryScreenWidth]) 3480_cacheValid[(int)CacheSlot.PrimaryScreenWidth] = true; 3504while(!_cacheValid[(int)CacheSlot.PrimaryScreenHeight]) 3506_cacheValid[(int)CacheSlot.PrimaryScreenHeight] = true; 3533while (!_cacheValid[(int)CacheSlot.WindowCaptionButtonWidth]) 3535_cacheValid[(int)CacheSlot.WindowCaptionButtonWidth] = true; 3558while (!_cacheValid[(int)CacheSlot.WindowCaptionButtonHeight]) 3560_cacheValid[(int)CacheSlot.WindowCaptionButtonHeight] = true; 3584while (!_cacheValid[(int)CacheSlot.ResizeFrameHorizontalBorderHeight]) 3586_cacheValid[(int)CacheSlot.ResizeFrameHorizontalBorderHeight] = true; 3609while (!_cacheValid[(int)CacheSlot.ResizeFrameVerticalBorderWidth]) 3611_cacheValid[(int)CacheSlot.ResizeFrameVerticalBorderWidth] = true; 3634while (!_cacheValid[(int)CacheSlot.SmallIconWidth]) 3636_cacheValid[(int)CacheSlot.SmallIconWidth] = true; 3659while (!_cacheValid[(int)CacheSlot.SmallIconHeight]) 3661_cacheValid[(int)CacheSlot.SmallIconHeight] = true; 3684while (!_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonWidth]) 3686_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonWidth] = true; 3709while (!_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonHeight]) 3711_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonHeight] = true; 3738while (!_cacheValid[(int)CacheSlot.VirtualScreenWidth]) 3740_cacheValid[(int)CacheSlot.VirtualScreenWidth] = true; 3767while (!_cacheValid[(int)CacheSlot.VirtualScreenHeight]) 3769_cacheValid[(int)CacheSlot.VirtualScreenHeight] = true; 3793while (!_cacheValid[(int)CacheSlot.VerticalScrollBarWidth]) 3795_cacheValid[(int)CacheSlot.VerticalScrollBarWidth] = true; 3818while (!_cacheValid[(int)CacheSlot.VerticalScrollBarButtonHeight]) 3820_cacheValid[(int)CacheSlot.VerticalScrollBarButtonHeight] = true; 3847while (!_cacheValid[(int)CacheSlot.WindowCaptionHeight]) 3849_cacheValid[(int)CacheSlot.WindowCaptionHeight] = true; 3877while (!_cacheValid[(int)CacheSlot.KanjiWindowHeight]) 3879_cacheValid[(int)CacheSlot.KanjiWindowHeight] = true; 3906while (!_cacheValid[(int)CacheSlot.MenuBarHeight]) 3908_cacheValid[(int)CacheSlot.MenuBarHeight] = true; 3931while (!_cacheValid[(int)CacheSlot.VerticalScrollBarThumbHeight]) 3933_cacheValid[(int)CacheSlot.VerticalScrollBarThumbHeight] = true; 3960while (!_cacheValid[(int)CacheSlot.IsImmEnabled]) 3962_cacheValid[(int)CacheSlot.IsImmEnabled] = true; 3990while (!_cacheValid[(int)CacheSlot.IsMediaCenter]) 3992_cacheValid[(int)CacheSlot.IsMediaCenter] = true; 4015while (!_cacheValid[(int)CacheSlot.IsMenuDropRightAligned]) 4017_cacheValid[(int)CacheSlot.IsMenuDropRightAligned] = true; 4044while (!_cacheValid[(int)CacheSlot.IsMiddleEastEnabled]) 4046_cacheValid[(int)CacheSlot.IsMiddleEastEnabled] = true; 4069while (!_cacheValid[(int)CacheSlot.IsMousePresent]) 4071_cacheValid[(int)CacheSlot.IsMousePresent] = true; 4094while (!_cacheValid[(int)CacheSlot.IsMouseWheelPresent]) 4096_cacheValid[(int)CacheSlot.IsMouseWheelPresent] = true; 4123while (!_cacheValid[(int)CacheSlot.IsPenWindows]) 4125_cacheValid[(int)CacheSlot.IsPenWindows] = true; 4152while (!_cacheValid[(int)CacheSlot.IsRemotelyControlled]) 4154_cacheValid[(int)CacheSlot.IsRemotelyControlled] = true; 4181while (!_cacheValid[(int)CacheSlot.IsRemoteSession]) 4183_cacheValid[(int)CacheSlot.IsRemoteSession] = true; 4210while (!_cacheValid[(int)CacheSlot.ShowSounds]) 4212_cacheValid[(int)CacheSlot.ShowSounds] = true; 4239while (!_cacheValid[(int)CacheSlot.IsSlowMachine]) 4241_cacheValid[(int)CacheSlot.IsSlowMachine] = true; 4268while (!_cacheValid[(int)CacheSlot.SwapButtons]) 4270_cacheValid[(int)CacheSlot.SwapButtons] = true; 4297while (!_cacheValid[(int)CacheSlot.IsTabletPC]) 4299_cacheValid[(int)CacheSlot.IsTabletPC] = true; 4326while (!_cacheValid[(int)CacheSlot.VirtualScreenLeft]) 4328_cacheValid[(int)CacheSlot.VirtualScreenLeft] = true; 4355while (!_cacheValid[(int)CacheSlot.VirtualScreenTop]) 4357_cacheValid[(int)CacheSlot.VirtualScreenTop] = true; 5547while (!_cacheValid[(int)CacheSlot.PowerLineStatus]) 5549_cacheValid[(int)CacheSlot.PowerLineStatus] = true; 5558_cacheValid[(int)CacheSlot.PowerLineStatus] = false; 5652if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IsMousePresent)) 5655if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IsMouseWheelPresent)) 5668if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WorkAreaInternal)) 5678if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WorkArea)) 5681if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FullPrimaryScreenWidth)) 5684if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FullPrimaryScreenHeight)) 5687if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximizedPrimaryScreenWidth)) 5690if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximizedPrimaryScreenHeight)) 5693if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.PrimaryScreenWidth)) 5696if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.PrimaryScreenHeight)) 5699if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenWidth)) 5702if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenHeight)) 5705if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenLeft)) 5708if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenTop)) 5727if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.PowerLineStatus)) 5744bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FocusBorderWidth); 5747if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FocusHorizontalBorderHeight)) 5750if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FocusVerticalBorderWidth)) 5759return InvalidateProperty((int)CacheSlot.FocusBorderHeight, "FocusBorderHeight"); 5761return InvalidateProperty((int)CacheSlot.HighContrast, "HighContrast"); 5763return InvalidateProperty((int)CacheSlot.MouseVanish, "MouseVanish"); 5766return InvalidateProperty((int)CacheSlot.DropShadow, "DropShadow"); 5768return InvalidateProperty((int)CacheSlot.FlatMenu, "FlatMenu"); 5774bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconMetrics); 5780if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconWidth)) 5783if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconHeight)) 5786if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridWidth)) 5789if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridHeight)) 5801return InvalidateProperty((int)CacheSlot.KeyboardCues, "KeyboardCues"); 5803return InvalidateProperty((int)CacheSlot.KeyboardDelay, "KeyboardDelay"); 5805return InvalidateProperty((int)CacheSlot.KeyboardPreference, "KeyboardPreference"); 5807return InvalidateProperty((int)CacheSlot.KeyboardSpeed, "KeyboardSpeed"); 5809return InvalidateProperty((int)CacheSlot.SnapToDefaultButton, "SnapToDefaultButton"); 5811return InvalidateProperty((int)CacheSlot.WheelScrollLines, "WheelScrollLines"); 5813return InvalidateProperty((int)CacheSlot.MouseHoverTime, "MouseHoverTime"); 5815return InvalidateProperty((int)CacheSlot.MouseHoverHeight, "MouseHoverHeight"); 5817return InvalidateProperty((int)CacheSlot.MouseHoverWidth, "MouseHoverWidth"); 5821bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuDropAlignment); 5823if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IsMenuDropRightAligned)) 5832return InvalidateProperty((int)CacheSlot.MenuFade, "MenuFade"); 5834return InvalidateProperty((int)CacheSlot.MenuShowDelay, "MenuShowDelay"); 5837return InvalidateProperty((int)CacheSlot.ComboBoxAnimation, "ComboBoxAnimation"); 5839return InvalidateProperty((int)CacheSlot.ClientAreaAnimation, "ClientAreaAnimation"); 5841return InvalidateProperty((int)CacheSlot.CursorShadow, "CursorShadow"); 5843return InvalidateProperty((int)CacheSlot.GradientCaptions, "GradientCaptions"); 5845return InvalidateProperty((int)CacheSlot.HotTracking, "HotTracking"); 5847return InvalidateProperty((int)CacheSlot.ListBoxSmoothScrolling, "ListBoxSmoothScrolling"); 5849return InvalidateProperty((int)CacheSlot.MenuAnimation, "MenuAnimation"); 5851return InvalidateProperty((int)CacheSlot.SelectionFade, "SelectionFade"); 5853return InvalidateProperty((int)CacheSlot.StylusHotTracking, "StylusHotTracking"); 5855return InvalidateProperty((int)CacheSlot.ToolTipAnimation, "ToolTipAnimation"); 5857return InvalidateProperty((int)CacheSlot.ToolTipFade, "ToolTipFade"); 5859return InvalidateProperty((int)CacheSlot.UIEffects, "UIEffects"); 5862return InvalidateProperty((int)CacheSlot.MinimizeAnimation, "MinimizeAnimation"); 5864return InvalidateProperty((int)CacheSlot.CaretWidth, "CaretWidth"); 5866return InvalidateProperty((int)CacheSlot.ForegroundFlashCount, "ForegroundFlashCount"); 5868return InvalidateProperty((int)CacheSlot.DragFullWindows, "DragFullWindows"); 5872bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.NonClientMetrics); 5877changed |= SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.Border); 5880if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThinHorizontalBorderHeight)) 5883if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThinVerticalBorderWidth)) 5886if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.CursorWidth)) 5889if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.CursorHeight)) 5892if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThickHorizontalBorderHeight)) 5895if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThickVerticalBorderWidth)) 5898if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FixedFrameHorizontalBorderHeight)) 5901if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FixedFrameVerticalBorderWidth)) 5904if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.HorizontalScrollBarButtonWidth)) 5907if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.HorizontalScrollBarHeight)) 5910if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.HorizontalScrollBarThumbWidth)) 5913if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconWidth)) 5916if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconHeight)) 5919if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridWidth)) 5922if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridHeight)) 5925if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximumWindowTrackWidth)) 5928if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximumWindowTrackHeight)) 5931if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuCheckmarkWidth)) 5934if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuCheckmarkHeight)) 5937if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuButtonWidth)) 5940if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuButtonHeight)) 5943if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowWidth)) 5946if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowHeight)) 5949if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedWindowWidth)) 5952if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedWindowHeight)) 5955if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedGridWidth)) 5958if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedGridHeight)) 5961if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowTrackWidth)) 5964if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowTrackHeight)) 5967if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WindowCaptionButtonWidth)) 5970if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WindowCaptionButtonHeight)) 5973if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ResizeFrameHorizontalBorderHeight)) 5976if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ResizeFrameVerticalBorderWidth)) 5979if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallIconWidth)) 5982if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallIconHeight)) 5985if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallWindowCaptionButtonWidth)) 5988if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallWindowCaptionButtonHeight)) 5991if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VerticalScrollBarWidth)) 5994if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VerticalScrollBarButtonHeight)) 5997if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WindowCaptionHeight)) 6000if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuBarHeight)) 6003if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VerticalScrollBarThumbHeight)) 6035return InvalidateProperty((int)CacheSlot.MinimumHorizontalDragDistance, "MinimumHorizontalDragDistance"); 6037return InvalidateProperty((int)CacheSlot.MinimumVerticalDragDistance, "MinimumVerticalDragDistance"); 6039return InvalidateProperty((int)CacheSlot.IsPenWindows, "IsPenWindows"); 6041return InvalidateProperty((int)CacheSlot.ShowSounds, "ShowSounds"); 6043return InvalidateProperty((int)CacheSlot.SwapButtons, "SwapButtons"); 6051return InvalidateProperty((int)CacheSlot.IsGlassEnabled, "IsGlassEnabled"); 6058InvalidateProperty((int)CacheSlot.UxThemeName, "UxThemeName"); 6059InvalidateProperty((int)CacheSlot.UxThemeColor, "UxThemeColor"); 6060InvalidateProperty((int)CacheSlot.WindowCornerRadius, "WindowCornerRadius"); 6065InvalidateProperty((int)CacheSlot.WindowGlassColor, "WindowGlassColor"); 6066InvalidateProperty((int)CacheSlot.WindowGlassBrush, "WindowGlassBrush"); 6073InvalidateProperty((int)CacheSlot.WindowNonClientFrameThickness, "WindowNonClientFrameThickness"); 6074InvalidateProperty((int)CacheSlot.WindowResizeBorderThickness, "WindowResizeBorderThickness"); 6094while (!_cacheValid[(int)CacheSlot.IsGlassEnabled]) 6096_cacheValid[(int)CacheSlot.IsGlassEnabled] = true; 6120while (!_cacheValid[(int)CacheSlot.UxThemeName]) 6122_cacheValid[(int)CacheSlot.UxThemeName] = true; 6159while (!_cacheValid[(int)CacheSlot.UxThemeColor]) 6161_cacheValid[(int)CacheSlot.UxThemeColor] = true; 6198while (!_cacheValid[(int)CacheSlot.WindowCornerRadius]) 6200_cacheValid[(int)CacheSlot.WindowCornerRadius] = true; 6260while (!_cacheValid[(int)CacheSlot.WindowGlassColor]) 6262_cacheValid[(int)CacheSlot.WindowGlassColor] = true; 6290while (!_cacheValid[(int)CacheSlot.WindowGlassBrush]) 6292_cacheValid[(int)CacheSlot.WindowGlassBrush] = true; 6318while (!_cacheValid[(int)CacheSlot.WindowResizeBorderThickness]) 6320_cacheValid[(int)CacheSlot.WindowResizeBorderThickness] = true; 6347while (!_cacheValid[(int)CacheSlot.WindowNonClientFrameThickness]) 6349_cacheValid[(int)CacheSlot.WindowNonClientFrameThickness] = true; 6406_cacheValid[(int)CacheSlot.DpiX] = true; 6568private static BitArray _cacheValid = new BitArray((int)CacheSlot.NumSlots);