391 references to CacheSlot
PresentationFramework (391)
System\Windows\SystemParameters.cs (391)
117while (!_cacheValid[(int)CacheSlot.FocusBorderWidth]) 119_cacheValid[(int)CacheSlot.FocusBorderWidth] = true; 129_cacheValid[(int)CacheSlot.FocusBorderWidth] = false; 148while (!_cacheValid[(int)CacheSlot.FocusBorderHeight]) 150_cacheValid[(int)CacheSlot.FocusBorderHeight] = true; 160_cacheValid[(int)CacheSlot.FocusBorderHeight] = false; 179while (!_cacheValid[(int)CacheSlot.HighContrast]) 181_cacheValid[(int)CacheSlot.HighContrast] = true; 192_cacheValid[(int)CacheSlot.HighContrast] = false; 212while (!_cacheValid[(int)CacheSlot.MouseVanish]) 214_cacheValid[(int)CacheSlot.MouseVanish] = true; 221_cacheValid[(int)CacheSlot.MouseVanish] = false; 302while (!_cacheValid[(int)CacheSlot.DropShadow]) 304_cacheValid[(int)CacheSlot.DropShadow] = true; 311_cacheValid[(int)CacheSlot.DropShadow] = false; 331while (!_cacheValid[(int)CacheSlot.FlatMenu]) 333_cacheValid[(int)CacheSlot.FlatMenu] = true; 340_cacheValid[(int)CacheSlot.FlatMenu] = false; 359while (!_cacheValid[(int)CacheSlot.WorkAreaInternal]) 361_cacheValid[(int)CacheSlot.WorkAreaInternal] = true; 369_cacheValid[(int)CacheSlot.WorkAreaInternal] = false; 388while (!_cacheValid[(int)CacheSlot.WorkArea]) 390_cacheValid[(int)CacheSlot.WorkArea] = true; 466while (!_cacheValid[(int)CacheSlot.IconMetrics]) 468_cacheValid[(int)CacheSlot.IconMetrics] = true; 476_cacheValid[(int)CacheSlot.IconMetrics] = false; 585while (!_cacheValid[(int)CacheSlot.KeyboardCues]) 587_cacheValid[(int)CacheSlot.KeyboardCues] = true; 594_cacheValid[(int)CacheSlot.KeyboardCues] = false; 613while (!_cacheValid[(int)CacheSlot.KeyboardDelay]) 615_cacheValid[(int)CacheSlot.KeyboardDelay] = true; 622_cacheValid[(int)CacheSlot.KeyboardDelay] = false; 641while (!_cacheValid[(int)CacheSlot.KeyboardPreference]) 643_cacheValid[(int)CacheSlot.KeyboardPreference] = true; 650_cacheValid[(int)CacheSlot.KeyboardPreference] = false; 669while (!_cacheValid[(int)CacheSlot.KeyboardSpeed]) 671_cacheValid[(int)CacheSlot.KeyboardSpeed] = true; 678_cacheValid[(int)CacheSlot.KeyboardSpeed] = false; 697while (!_cacheValid[(int)CacheSlot.SnapToDefaultButton]) 699_cacheValid[(int)CacheSlot.SnapToDefaultButton] = true; 706_cacheValid[(int)CacheSlot.SnapToDefaultButton] = false; 725while (!_cacheValid[(int)CacheSlot.WheelScrollLines]) 727_cacheValid[(int)CacheSlot.WheelScrollLines] = true; 734_cacheValid[(int)CacheSlot.WheelScrollLines] = false; 761while (!_cacheValid[(int)CacheSlot.MouseHoverTime]) 763_cacheValid[(int)CacheSlot.MouseHoverTime] = true; 770_cacheValid[(int)CacheSlot.MouseHoverTime] = false; 789while (!_cacheValid[(int)CacheSlot.MouseHoverHeight]) 791_cacheValid[(int)CacheSlot.MouseHoverHeight] = true; 801_cacheValid[(int)CacheSlot.MouseHoverHeight] = false; 821while (!_cacheValid[(int)CacheSlot.MouseHoverWidth]) 823_cacheValid[(int)CacheSlot.MouseHoverWidth] = true; 833_cacheValid[(int)CacheSlot.MouseHoverWidth] = false; 1005while (!_cacheValid[(int)CacheSlot.MenuDropAlignment]) 1007_cacheValid[(int)CacheSlot.MenuDropAlignment] = true; 1014_cacheValid[(int)CacheSlot.MenuDropAlignment] = false; 1032while (!_cacheValid[(int)CacheSlot.MenuFade]) 1034_cacheValid[(int)CacheSlot.MenuFade] = true; 1041_cacheValid[(int)CacheSlot.MenuFade] = false; 1061while (!_cacheValid[(int)CacheSlot.MenuShowDelay]) 1063_cacheValid[(int)CacheSlot.MenuShowDelay] = true; 1070_cacheValid[(int)CacheSlot.MenuShowDelay] = false; 1164while (!_cacheValid[(int)CacheSlot.ComboBoxAnimation]) 1166_cacheValid[(int)CacheSlot.ComboBoxAnimation] = true; 1173_cacheValid[(int)CacheSlot.ComboBoxAnimation] = false; 1192while (!_cacheValid[(int)CacheSlot.ClientAreaAnimation]) 1194_cacheValid[(int)CacheSlot.ClientAreaAnimation] = true; 1204_cacheValid[(int)CacheSlot.ClientAreaAnimation] = false; 1228while (!_cacheValid[(int)CacheSlot.CursorShadow]) 1230_cacheValid[(int)CacheSlot.CursorShadow] = true; 1237_cacheValid[(int)CacheSlot.CursorShadow] = false; 1256while (!_cacheValid[(int)CacheSlot.GradientCaptions]) 1258_cacheValid[(int)CacheSlot.GradientCaptions] = true; 1265_cacheValid[(int)CacheSlot.GradientCaptions] = false; 1284while (!_cacheValid[(int)CacheSlot.HotTracking]) 1286_cacheValid[(int)CacheSlot.HotTracking] = true; 1293_cacheValid[(int)CacheSlot.HotTracking] = false; 1312while (!_cacheValid[(int)CacheSlot.ListBoxSmoothScrolling]) 1314_cacheValid[(int)CacheSlot.ListBoxSmoothScrolling] = true; 1321_cacheValid[(int)CacheSlot.ListBoxSmoothScrolling] = false; 1363while (!_cacheValid[(int)CacheSlot.MenuAnimation]) 1365_cacheValid[(int)CacheSlot.MenuAnimation] = true; 1372_cacheValid[(int)CacheSlot.MenuAnimation] = false; 1391while (!_cacheValid[(int)CacheSlot.SelectionFade]) 1393_cacheValid[(int)CacheSlot.SelectionFade] = true; 1400_cacheValid[(int)CacheSlot.SelectionFade] = false; 1419while (!_cacheValid[(int)CacheSlot.StylusHotTracking]) 1421_cacheValid[(int)CacheSlot.StylusHotTracking] = true; 1428_cacheValid[(int)CacheSlot.StylusHotTracking] = false; 1464while (!_cacheValid[(int)CacheSlot.ToolTipAnimation]) 1466_cacheValid[(int)CacheSlot.ToolTipAnimation] = true; 1473_cacheValid[(int)CacheSlot.ToolTipAnimation] = false; 1492while (!_cacheValid[(int)CacheSlot.ToolTipFade]) 1494_cacheValid[(int)CacheSlot.ToolTipFade] = true; 1501_cacheValid[(int)CacheSlot.ToolTipFade] = false; 1520while (!_cacheValid[(int)CacheSlot.UIEffects]) 1522_cacheValid[(int)CacheSlot.UIEffects] = true; 1529_cacheValid[(int)CacheSlot.UIEffects] = false; 1796while (!_cacheValid[(int)CacheSlot.MinimizeAnimation]) 1798_cacheValid[(int)CacheSlot.MinimizeAnimation] = true; 1808_cacheValid[(int)CacheSlot.MinimizeAnimation] = false; 1827while (!_cacheValid[(int)CacheSlot.Border]) 1829_cacheValid[(int)CacheSlot.Border] = true; 1836_cacheValid[(int)CacheSlot.Border] = false; 1855while (!_cacheValid[(int)CacheSlot.CaretWidth]) 1857_cacheValid[(int)CacheSlot.CaretWidth] = true; 1886_cacheValid[(int)CacheSlot.CaretWidth] = false; 1907while (!_cacheValid[(int)CacheSlot.DragFullWindows]) 1909_cacheValid[(int)CacheSlot.DragFullWindows] = true; 1916_cacheValid[(int)CacheSlot.DragFullWindows] = false; 1936while (!_cacheValid[(int)CacheSlot.ForegroundFlashCount]) 1938_cacheValid[(int)CacheSlot.ForegroundFlashCount] = true; 1945_cacheValid[(int)CacheSlot.ForegroundFlashCount] = false; 1964while (!_cacheValid[(int)CacheSlot.NonClientMetrics]) 1966_cacheValid[(int)CacheSlot.NonClientMetrics] = true; 1974_cacheValid[(int)CacheSlot.NonClientMetrics] = false; 2308while (!_cacheValid[(int)CacheSlot.ThinHorizontalBorderHeight]) 2310_cacheValid[(int)CacheSlot.ThinHorizontalBorderHeight] = true; 2329while (!_cacheValid[(int)CacheSlot.ThinVerticalBorderWidth]) 2331_cacheValid[(int)CacheSlot.ThinVerticalBorderWidth] = true; 2349while (!_cacheValid[(int)CacheSlot.CursorWidth]) 2351_cacheValid[(int)CacheSlot.CursorWidth] = true; 2369while (!_cacheValid[(int)CacheSlot.CursorHeight]) 2371_cacheValid[(int)CacheSlot.CursorHeight] = true; 2389while (!_cacheValid[(int)CacheSlot.ThickHorizontalBorderHeight]) 2391_cacheValid[(int)CacheSlot.ThickHorizontalBorderHeight] = true; 2409while (!_cacheValid[(int)CacheSlot.ThickVerticalBorderWidth]) 2411_cacheValid[(int)CacheSlot.ThickVerticalBorderWidth] = true; 2429while (!_cacheValid[(int)CacheSlot.MinimumHorizontalDragDistance]) 2431_cacheValid[(int)CacheSlot.MinimumHorizontalDragDistance] = true; 2449while (!_cacheValid[(int)CacheSlot.MinimumVerticalDragDistance]) 2451_cacheValid[(int)CacheSlot.MinimumVerticalDragDistance] = true; 2469while(!_cacheValid[(int)CacheSlot.FixedFrameHorizontalBorderHeight]) 2471_cacheValid[(int)CacheSlot.FixedFrameHorizontalBorderHeight] = true; 2489while (!_cacheValid[(int)CacheSlot.FixedFrameVerticalBorderWidth]) 2491_cacheValid[(int)CacheSlot.FixedFrameVerticalBorderWidth] = true; 2509while (!_cacheValid[(int)CacheSlot.FocusHorizontalBorderHeight]) 2511_cacheValid[(int)CacheSlot.FocusHorizontalBorderHeight] = true; 2529while(!_cacheValid[(int)CacheSlot.FocusVerticalBorderWidth]) 2531_cacheValid[(int)CacheSlot.FocusVerticalBorderWidth] = true; 2553while (!_cacheValid[(int)CacheSlot.FullPrimaryScreenWidth]) 2555_cacheValid[(int)CacheSlot.FullPrimaryScreenWidth] = true; 2576while (!_cacheValid[(int)CacheSlot.FullPrimaryScreenHeight]) 2578_cacheValid[(int)CacheSlot.FullPrimaryScreenHeight] = true; 2596while (!_cacheValid[(int)CacheSlot.HorizontalScrollBarButtonWidth]) 2598_cacheValid[(int)CacheSlot.HorizontalScrollBarButtonWidth] = true; 2616while (!_cacheValid[(int)CacheSlot.HorizontalScrollBarHeight]) 2618_cacheValid[(int)CacheSlot.HorizontalScrollBarHeight] = true; 2636while (!_cacheValid[(int)CacheSlot.HorizontalScrollBarThumbWidth]) 2638_cacheValid[(int)CacheSlot.HorizontalScrollBarThumbWidth] = true; 2656while (!_cacheValid[(int)CacheSlot.IconWidth]) 2658_cacheValid[(int)CacheSlot.IconWidth] = true; 2676while (!_cacheValid[(int)CacheSlot.IconHeight]) 2678_cacheValid[(int)CacheSlot.IconHeight] = true; 2696while (!_cacheValid[(int)CacheSlot.IconGridWidth]) 2698_cacheValid[(int)CacheSlot.IconGridWidth] = true; 2716while (!_cacheValid[(int)CacheSlot.IconGridHeight]) 2718_cacheValid[(int)CacheSlot.IconGridHeight] = true; 2739while (!_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenWidth]) 2741_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenWidth] = true; 2762while (!_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenHeight]) 2764_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenHeight] = true; 2785while (!_cacheValid[(int)CacheSlot.MaximumWindowTrackWidth]) 2787_cacheValid[(int)CacheSlot.MaximumWindowTrackWidth] = true; 2808while (!_cacheValid[(int)CacheSlot.MaximumWindowTrackHeight]) 2810_cacheValid[(int)CacheSlot.MaximumWindowTrackHeight] = true; 2828while (!_cacheValid[(int)CacheSlot.MenuCheckmarkWidth]) 2830_cacheValid[(int)CacheSlot.MenuCheckmarkWidth] = true; 2848while (!_cacheValid[(int)CacheSlot.MenuCheckmarkHeight]) 2850_cacheValid[(int)CacheSlot.MenuCheckmarkHeight] = true; 2868while (!_cacheValid[(int)CacheSlot.MenuButtonWidth]) 2870_cacheValid[(int)CacheSlot.MenuButtonWidth] = true; 2888while (!_cacheValid[(int)CacheSlot.MenuButtonHeight]) 2890_cacheValid[(int)CacheSlot.MenuButtonHeight] = true; 2911while (!_cacheValid[(int)CacheSlot.MinimumWindowWidth]) 2913_cacheValid[(int)CacheSlot.MinimumWindowWidth] = true; 2934while (!_cacheValid[(int)CacheSlot.MinimumWindowHeight]) 2936_cacheValid[(int)CacheSlot.MinimumWindowHeight] = true; 2957while (!_cacheValid[(int)CacheSlot.MinimizedWindowWidth]) 2959_cacheValid[(int)CacheSlot.MinimizedWindowWidth] = true; 2980while (!_cacheValid[(int)CacheSlot.MinimizedWindowHeight]) 2982_cacheValid[(int)CacheSlot.MinimizedWindowHeight] = true; 3000while (!_cacheValid[(int)CacheSlot.MinimizedGridWidth]) 3002_cacheValid[(int)CacheSlot.MinimizedGridWidth] = true; 3020while (!_cacheValid[(int)CacheSlot.MinimizedGridHeight]) 3022_cacheValid[(int)CacheSlot.MinimizedGridHeight] = true; 3043while (!_cacheValid[(int)CacheSlot.MinimumWindowTrackWidth]) 3045_cacheValid[(int)CacheSlot.MinimumWindowTrackWidth] = true; 3066while (!_cacheValid[(int)CacheSlot.MinimumWindowTrackHeight]) 3068_cacheValid[(int)CacheSlot.MinimumWindowTrackHeight] = true; 3086while (!_cacheValid[(int)CacheSlot.PrimaryScreenWidth]) 3088_cacheValid[(int)CacheSlot.PrimaryScreenWidth] = true; 3107while(!_cacheValid[(int)CacheSlot.PrimaryScreenHeight]) 3109_cacheValid[(int)CacheSlot.PrimaryScreenHeight] = true; 3130while (!_cacheValid[(int)CacheSlot.WindowCaptionButtonWidth]) 3132_cacheValid[(int)CacheSlot.WindowCaptionButtonWidth] = true; 3150while (!_cacheValid[(int)CacheSlot.WindowCaptionButtonHeight]) 3152_cacheValid[(int)CacheSlot.WindowCaptionButtonHeight] = true; 3171while (!_cacheValid[(int)CacheSlot.ResizeFrameHorizontalBorderHeight]) 3173_cacheValid[(int)CacheSlot.ResizeFrameHorizontalBorderHeight] = true; 3191while (!_cacheValid[(int)CacheSlot.ResizeFrameVerticalBorderWidth]) 3193_cacheValid[(int)CacheSlot.ResizeFrameVerticalBorderWidth] = true; 3211while (!_cacheValid[(int)CacheSlot.SmallIconWidth]) 3213_cacheValid[(int)CacheSlot.SmallIconWidth] = true; 3231while (!_cacheValid[(int)CacheSlot.SmallIconHeight]) 3233_cacheValid[(int)CacheSlot.SmallIconHeight] = true; 3251while (!_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonWidth]) 3253_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonWidth] = true; 3271while (!_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonHeight]) 3273_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonHeight] = true; 3294while (!_cacheValid[(int)CacheSlot.VirtualScreenWidth]) 3296_cacheValid[(int)CacheSlot.VirtualScreenWidth] = true; 3317while (!_cacheValid[(int)CacheSlot.VirtualScreenHeight]) 3319_cacheValid[(int)CacheSlot.VirtualScreenHeight] = true; 3338while (!_cacheValid[(int)CacheSlot.VerticalScrollBarWidth]) 3340_cacheValid[(int)CacheSlot.VerticalScrollBarWidth] = true; 3358while (!_cacheValid[(int)CacheSlot.VerticalScrollBarButtonHeight]) 3360_cacheValid[(int)CacheSlot.VerticalScrollBarButtonHeight] = true; 3381while (!_cacheValid[(int)CacheSlot.WindowCaptionHeight]) 3383_cacheValid[(int)CacheSlot.WindowCaptionHeight] = true; 3405while (!_cacheValid[(int)CacheSlot.KanjiWindowHeight]) 3407_cacheValid[(int)CacheSlot.KanjiWindowHeight] = true; 3428while (!_cacheValid[(int)CacheSlot.MenuBarHeight]) 3430_cacheValid[(int)CacheSlot.MenuBarHeight] = true; 3448while (!_cacheValid[(int)CacheSlot.VerticalScrollBarThumbHeight]) 3450_cacheValid[(int)CacheSlot.VerticalScrollBarThumbHeight] = true; 3471while (!_cacheValid[(int)CacheSlot.IsImmEnabled]) 3473_cacheValid[(int)CacheSlot.IsImmEnabled] = true; 3495while (!_cacheValid[(int)CacheSlot.IsMediaCenter]) 3497_cacheValid[(int)CacheSlot.IsMediaCenter] = true; 3515while (!_cacheValid[(int)CacheSlot.IsMenuDropRightAligned]) 3517_cacheValid[(int)CacheSlot.IsMenuDropRightAligned] = true; 3538while (!_cacheValid[(int)CacheSlot.IsMiddleEastEnabled]) 3540_cacheValid[(int)CacheSlot.IsMiddleEastEnabled] = true; 3558while (!_cacheValid[(int)CacheSlot.IsMousePresent]) 3560_cacheValid[(int)CacheSlot.IsMousePresent] = true; 3578while (!_cacheValid[(int)CacheSlot.IsMouseWheelPresent]) 3580_cacheValid[(int)CacheSlot.IsMouseWheelPresent] = true; 3601while (!_cacheValid[(int)CacheSlot.IsPenWindows]) 3603_cacheValid[(int)CacheSlot.IsPenWindows] = true; 3624while (!_cacheValid[(int)CacheSlot.IsRemotelyControlled]) 3626_cacheValid[(int)CacheSlot.IsRemotelyControlled] = true; 3647while (!_cacheValid[(int)CacheSlot.IsRemoteSession]) 3649_cacheValid[(int)CacheSlot.IsRemoteSession] = true; 3670while (!_cacheValid[(int)CacheSlot.ShowSounds]) 3672_cacheValid[(int)CacheSlot.ShowSounds] = true; 3693while (!_cacheValid[(int)CacheSlot.IsSlowMachine]) 3695_cacheValid[(int)CacheSlot.IsSlowMachine] = true; 3716while (!_cacheValid[(int)CacheSlot.SwapButtons]) 3718_cacheValid[(int)CacheSlot.SwapButtons] = true; 3739while (!_cacheValid[(int)CacheSlot.IsTabletPC]) 3741_cacheValid[(int)CacheSlot.IsTabletPC] = true; 3762while (!_cacheValid[(int)CacheSlot.VirtualScreenLeft]) 3764_cacheValid[(int)CacheSlot.VirtualScreenLeft] = true; 3785while (!_cacheValid[(int)CacheSlot.VirtualScreenTop]) 3787_cacheValid[(int)CacheSlot.VirtualScreenTop] = true; 4972while (!_cacheValid[(int)CacheSlot.PowerLineStatus]) 4974_cacheValid[(int)CacheSlot.PowerLineStatus] = true; 4983_cacheValid[(int)CacheSlot.PowerLineStatus] = false; 5077if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IsMousePresent)) 5080if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IsMouseWheelPresent)) 5093if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WorkAreaInternal)) 5103if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WorkArea)) 5106if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FullPrimaryScreenWidth)) 5109if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FullPrimaryScreenHeight)) 5112if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximizedPrimaryScreenWidth)) 5115if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximizedPrimaryScreenHeight)) 5118if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.PrimaryScreenWidth)) 5121if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.PrimaryScreenHeight)) 5124if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenWidth)) 5127if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenHeight)) 5130if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenLeft)) 5133if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenTop)) 5152if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.PowerLineStatus)) 5169bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FocusBorderWidth); 5172if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FocusHorizontalBorderHeight)) 5175if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FocusVerticalBorderWidth)) 5184return InvalidateProperty((int)CacheSlot.FocusBorderHeight, "FocusBorderHeight"); 5186return InvalidateProperty((int)CacheSlot.HighContrast, "HighContrast"); 5188return InvalidateProperty((int)CacheSlot.MouseVanish, "MouseVanish"); 5191return InvalidateProperty((int)CacheSlot.DropShadow, "DropShadow"); 5193return InvalidateProperty((int)CacheSlot.FlatMenu, "FlatMenu"); 5199bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconMetrics); 5205if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconWidth)) 5208if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconHeight)) 5211if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridWidth)) 5214if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridHeight)) 5226return InvalidateProperty((int)CacheSlot.KeyboardCues, "KeyboardCues"); 5228return InvalidateProperty((int)CacheSlot.KeyboardDelay, "KeyboardDelay"); 5230return InvalidateProperty((int)CacheSlot.KeyboardPreference, "KeyboardPreference"); 5232return InvalidateProperty((int)CacheSlot.KeyboardSpeed, "KeyboardSpeed"); 5234return InvalidateProperty((int)CacheSlot.SnapToDefaultButton, "SnapToDefaultButton"); 5236return InvalidateProperty((int)CacheSlot.WheelScrollLines, "WheelScrollLines"); 5238return InvalidateProperty((int)CacheSlot.MouseHoverTime, "MouseHoverTime"); 5240return InvalidateProperty((int)CacheSlot.MouseHoverHeight, "MouseHoverHeight"); 5242return InvalidateProperty((int)CacheSlot.MouseHoverWidth, "MouseHoverWidth"); 5246bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuDropAlignment); 5248if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IsMenuDropRightAligned)) 5257return InvalidateProperty((int)CacheSlot.MenuFade, "MenuFade"); 5259return InvalidateProperty((int)CacheSlot.MenuShowDelay, "MenuShowDelay"); 5262return InvalidateProperty((int)CacheSlot.ComboBoxAnimation, "ComboBoxAnimation"); 5264return InvalidateProperty((int)CacheSlot.ClientAreaAnimation, "ClientAreaAnimation"); 5266return InvalidateProperty((int)CacheSlot.CursorShadow, "CursorShadow"); 5268return InvalidateProperty((int)CacheSlot.GradientCaptions, "GradientCaptions"); 5270return InvalidateProperty((int)CacheSlot.HotTracking, "HotTracking"); 5272return InvalidateProperty((int)CacheSlot.ListBoxSmoothScrolling, "ListBoxSmoothScrolling"); 5274return InvalidateProperty((int)CacheSlot.MenuAnimation, "MenuAnimation"); 5276return InvalidateProperty((int)CacheSlot.SelectionFade, "SelectionFade"); 5278return InvalidateProperty((int)CacheSlot.StylusHotTracking, "StylusHotTracking"); 5280return InvalidateProperty((int)CacheSlot.ToolTipAnimation, "ToolTipAnimation"); 5282return InvalidateProperty((int)CacheSlot.ToolTipFade, "ToolTipFade"); 5284return InvalidateProperty((int)CacheSlot.UIEffects, "UIEffects"); 5287return InvalidateProperty((int)CacheSlot.MinimizeAnimation, "MinimizeAnimation"); 5289return InvalidateProperty((int)CacheSlot.CaretWidth, "CaretWidth"); 5291return InvalidateProperty((int)CacheSlot.ForegroundFlashCount, "ForegroundFlashCount"); 5293return InvalidateProperty((int)CacheSlot.DragFullWindows, "DragFullWindows"); 5297bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.NonClientMetrics); 5302changed |= SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.Border); 5305if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThinHorizontalBorderHeight)) 5308if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThinVerticalBorderWidth)) 5311if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.CursorWidth)) 5314if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.CursorHeight)) 5317if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThickHorizontalBorderHeight)) 5320if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThickVerticalBorderWidth)) 5323if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FixedFrameHorizontalBorderHeight)) 5326if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FixedFrameVerticalBorderWidth)) 5329if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.HorizontalScrollBarButtonWidth)) 5332if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.HorizontalScrollBarHeight)) 5335if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.HorizontalScrollBarThumbWidth)) 5338if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconWidth)) 5341if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconHeight)) 5344if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridWidth)) 5347if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridHeight)) 5350if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximumWindowTrackWidth)) 5353if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximumWindowTrackHeight)) 5356if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuCheckmarkWidth)) 5359if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuCheckmarkHeight)) 5362if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuButtonWidth)) 5365if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuButtonHeight)) 5368if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowWidth)) 5371if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowHeight)) 5374if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedWindowWidth)) 5377if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedWindowHeight)) 5380if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedGridWidth)) 5383if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedGridHeight)) 5386if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowTrackWidth)) 5389if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowTrackHeight)) 5392if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WindowCaptionButtonWidth)) 5395if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WindowCaptionButtonHeight)) 5398if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ResizeFrameHorizontalBorderHeight)) 5401if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ResizeFrameVerticalBorderWidth)) 5404if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallIconWidth)) 5407if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallIconHeight)) 5410if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallWindowCaptionButtonWidth)) 5413if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallWindowCaptionButtonHeight)) 5416if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VerticalScrollBarWidth)) 5419if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VerticalScrollBarButtonHeight)) 5422if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WindowCaptionHeight)) 5425if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuBarHeight)) 5428if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VerticalScrollBarThumbHeight)) 5460return InvalidateProperty((int)CacheSlot.MinimumHorizontalDragDistance, "MinimumHorizontalDragDistance"); 5462return InvalidateProperty((int)CacheSlot.MinimumVerticalDragDistance, "MinimumVerticalDragDistance"); 5464return InvalidateProperty((int)CacheSlot.IsPenWindows, "IsPenWindows"); 5466return InvalidateProperty((int)CacheSlot.ShowSounds, "ShowSounds"); 5468return InvalidateProperty((int)CacheSlot.SwapButtons, "SwapButtons"); 5476return InvalidateProperty((int)CacheSlot.IsGlassEnabled, "IsGlassEnabled"); 5483InvalidateProperty((int)CacheSlot.UxThemeName, "UxThemeName"); 5484InvalidateProperty((int)CacheSlot.UxThemeColor, "UxThemeColor"); 5485InvalidateProperty((int)CacheSlot.WindowCornerRadius, "WindowCornerRadius"); 5490InvalidateProperty((int)CacheSlot.WindowGlassColor, "WindowGlassColor"); 5491InvalidateProperty((int)CacheSlot.WindowGlassBrush, "WindowGlassBrush"); 5498InvalidateProperty((int)CacheSlot.WindowNonClientFrameThickness, "WindowNonClientFrameThickness"); 5499InvalidateProperty((int)CacheSlot.WindowResizeBorderThickness, "WindowResizeBorderThickness"); 5515while (!_cacheValid[(int)CacheSlot.IsGlassEnabled]) 5517_cacheValid[(int)CacheSlot.IsGlassEnabled] = true; 5537while (!_cacheValid[(int)CacheSlot.UxThemeName]) 5539_cacheValid[(int)CacheSlot.UxThemeName] = true; 5572while (!_cacheValid[(int)CacheSlot.UxThemeColor]) 5574_cacheValid[(int)CacheSlot.UxThemeColor] = true; 5607while (!_cacheValid[(int)CacheSlot.WindowCornerRadius]) 5609_cacheValid[(int)CacheSlot.WindowCornerRadius] = true; 5665while (!_cacheValid[(int)CacheSlot.WindowGlassColor]) 5667_cacheValid[(int)CacheSlot.WindowGlassColor] = true; 5691while (!_cacheValid[(int)CacheSlot.WindowGlassBrush]) 5693_cacheValid[(int)CacheSlot.WindowGlassBrush] = true; 5715while (!_cacheValid[(int)CacheSlot.WindowResizeBorderThickness]) 5717_cacheValid[(int)CacheSlot.WindowResizeBorderThickness] = true; 5740while (!_cacheValid[(int)CacheSlot.WindowNonClientFrameThickness]) 5742_cacheValid[(int)CacheSlot.WindowNonClientFrameThickness] = true; 5794_cacheValid[(int)CacheSlot.DpiX] = true; 5956private static BitArray _cacheValid = new BitArray((int)CacheSlot.NumSlots);