97 references to CacheSlot
PresentationFramework (97)
System\Windows\SystemColors.cs (97)
27return GetSystemColor(CacheSlot.ActiveBorder); 38return GetSystemColor(CacheSlot.ActiveCaption); 49return GetSystemColor(CacheSlot.ActiveCaptionText); 60return GetSystemColor(CacheSlot.AppWorkspace); 71return GetSystemColor(CacheSlot.Control); 82return GetSystemColor(CacheSlot.ControlDark); 93return GetSystemColor(CacheSlot.ControlDarkDark); 104return GetSystemColor(CacheSlot.ControlLight); 115return GetSystemColor(CacheSlot.ControlLightLight); 126return GetSystemColor(CacheSlot.ControlText); 137return GetSystemColor(CacheSlot.Desktop); 148return GetSystemColor(CacheSlot.GradientActiveCaption); 159return GetSystemColor(CacheSlot.GradientInactiveCaption); 170return GetSystemColor(CacheSlot.GrayText); 181return GetSystemColor(CacheSlot.Highlight); 192return GetSystemColor(CacheSlot.HighlightText); 203return GetSystemColor(CacheSlot.HotTrack); 214return GetSystemColor(CacheSlot.InactiveBorder); 225return GetSystemColor(CacheSlot.InactiveCaption); 236return GetSystemColor(CacheSlot.InactiveCaptionText); 247return GetSystemColor(CacheSlot.Info); 258return GetSystemColor(CacheSlot.InfoText); 269return GetSystemColor(CacheSlot.Menu); 280return GetSystemColor(CacheSlot.MenuBar); 291return GetSystemColor(CacheSlot.MenuHighlight); 302return GetSystemColor(CacheSlot.MenuText); 313return GetSystemColor(CacheSlot.ScrollBar); 324return GetSystemColor(CacheSlot.Window); 335return GetSystemColor(CacheSlot.WindowFrame); 346return GetSystemColor(CacheSlot.WindowText); 851return MakeBrush(CacheSlot.ActiveBorder); 862return MakeBrush(CacheSlot.ActiveCaption); 873return MakeBrush(CacheSlot.ActiveCaptionText); 884return MakeBrush(CacheSlot.AppWorkspace); 895return MakeBrush(CacheSlot.Control); 906return MakeBrush(CacheSlot.ControlDark); 917return MakeBrush(CacheSlot.ControlDarkDark); 928return MakeBrush(CacheSlot.ControlLight); 939return MakeBrush(CacheSlot.ControlLightLight); 950return MakeBrush(CacheSlot.ControlText); 961return MakeBrush(CacheSlot.Desktop); 972return MakeBrush(CacheSlot.GradientActiveCaption); 983return MakeBrush(CacheSlot.GradientInactiveCaption); 994return MakeBrush(CacheSlot.GrayText); 1005return MakeBrush(CacheSlot.Highlight); 1016return MakeBrush(CacheSlot.HighlightText); 1027return MakeBrush(CacheSlot.HotTrack); 1038return MakeBrush(CacheSlot.InactiveBorder); 1049return MakeBrush(CacheSlot.InactiveCaption); 1060return MakeBrush(CacheSlot.InactiveCaptionText); 1071return MakeBrush(CacheSlot.Info); 1082return MakeBrush(CacheSlot.InfoText); 1093return MakeBrush(CacheSlot.Menu); 1104return MakeBrush(CacheSlot.MenuBar); 1115return MakeBrush(CacheSlot.MenuHighlight); 1126return MakeBrush(CacheSlot.MenuText); 1137return MakeBrush(CacheSlot.ScrollBar); 1148return MakeBrush(CacheSlot.Window); 1159return MakeBrush(CacheSlot.WindowFrame); 1170return MakeBrush(CacheSlot.WindowText); 1785private static Color GetSystemColor(CacheSlot slot) 1811private static SolidColorBrush MakeBrush(CacheSlot slot) 1834private static int SlotToFlag(CacheSlot slot) 1840case CacheSlot.ActiveBorder: 1842case CacheSlot.ActiveCaption: 1844case CacheSlot.ActiveCaptionText: 1846case CacheSlot.AppWorkspace: 1848case CacheSlot.Control: 1850case CacheSlot.ControlDark: 1852case CacheSlot.ControlDarkDark: 1854case CacheSlot.ControlLight: 1856case CacheSlot.ControlLightLight: 1858case CacheSlot.ControlText: 1860case CacheSlot.Desktop: 1862case CacheSlot.GradientActiveCaption: 1864case CacheSlot.GradientInactiveCaption: 1866case CacheSlot.GrayText: 1868case CacheSlot.Highlight: 1870case CacheSlot.HighlightText: 1872case CacheSlot.HotTrack: 1874case CacheSlot.InactiveBorder: 1876case CacheSlot.InactiveCaption: 1878case CacheSlot.InactiveCaptionText: 1880case CacheSlot.Info: 1882case CacheSlot.InfoText: 1884case CacheSlot.Menu: 1886case CacheSlot.MenuBar: 1888case CacheSlot.MenuHighlight: 1890case CacheSlot.MenuText: 1892case CacheSlot.ScrollBar: 1894case CacheSlot.Window: 1896case CacheSlot.WindowFrame: 1898case CacheSlot.WindowText: 1941private static BitArray _colorCacheValid = new BitArray((int)CacheSlot.NumSlots); 1942private static Color[] _colorCache = new Color[(int)CacheSlot.NumSlots]; 1943private static BitArray _brushCacheValid = new BitArray((int)CacheSlot.NumSlots); 1944private static SolidColorBrush[] _brushCache = new SolidColorBrush[(int)CacheSlot.NumSlots];