97 references to CacheSlot
PresentationFramework (97)
src\Framework\System\Windows\SystemColors.cs (97)
23return GetSystemColor(CacheSlot.ActiveBorder); 34return GetSystemColor(CacheSlot.ActiveCaption); 45return GetSystemColor(CacheSlot.ActiveCaptionText); 56return GetSystemColor(CacheSlot.AppWorkspace); 67return GetSystemColor(CacheSlot.Control); 78return GetSystemColor(CacheSlot.ControlDark); 89return GetSystemColor(CacheSlot.ControlDarkDark); 100return GetSystemColor(CacheSlot.ControlLight); 111return GetSystemColor(CacheSlot.ControlLightLight); 122return GetSystemColor(CacheSlot.ControlText); 133return GetSystemColor(CacheSlot.Desktop); 144return GetSystemColor(CacheSlot.GradientActiveCaption); 155return GetSystemColor(CacheSlot.GradientInactiveCaption); 166return GetSystemColor(CacheSlot.GrayText); 177return GetSystemColor(CacheSlot.Highlight); 188return GetSystemColor(CacheSlot.HighlightText); 199return GetSystemColor(CacheSlot.HotTrack); 210return GetSystemColor(CacheSlot.InactiveBorder); 221return GetSystemColor(CacheSlot.InactiveCaption); 232return GetSystemColor(CacheSlot.InactiveCaptionText); 243return GetSystemColor(CacheSlot.Info); 254return GetSystemColor(CacheSlot.InfoText); 265return GetSystemColor(CacheSlot.Menu); 276return GetSystemColor(CacheSlot.MenuBar); 287return GetSystemColor(CacheSlot.MenuHighlight); 298return GetSystemColor(CacheSlot.MenuText); 309return GetSystemColor(CacheSlot.ScrollBar); 320return GetSystemColor(CacheSlot.Window); 331return GetSystemColor(CacheSlot.WindowFrame); 342return GetSystemColor(CacheSlot.WindowText); 847return MakeBrush(CacheSlot.ActiveBorder); 858return MakeBrush(CacheSlot.ActiveCaption); 869return MakeBrush(CacheSlot.ActiveCaptionText); 880return MakeBrush(CacheSlot.AppWorkspace); 891return MakeBrush(CacheSlot.Control); 902return MakeBrush(CacheSlot.ControlDark); 913return MakeBrush(CacheSlot.ControlDarkDark); 924return MakeBrush(CacheSlot.ControlLight); 935return MakeBrush(CacheSlot.ControlLightLight); 946return MakeBrush(CacheSlot.ControlText); 957return MakeBrush(CacheSlot.Desktop); 968return MakeBrush(CacheSlot.GradientActiveCaption); 979return MakeBrush(CacheSlot.GradientInactiveCaption); 990return MakeBrush(CacheSlot.GrayText); 1001return MakeBrush(CacheSlot.Highlight); 1012return MakeBrush(CacheSlot.HighlightText); 1023return MakeBrush(CacheSlot.HotTrack); 1034return MakeBrush(CacheSlot.InactiveBorder); 1045return MakeBrush(CacheSlot.InactiveCaption); 1056return MakeBrush(CacheSlot.InactiveCaptionText); 1067return MakeBrush(CacheSlot.Info); 1078return MakeBrush(CacheSlot.InfoText); 1089return MakeBrush(CacheSlot.Menu); 1100return MakeBrush(CacheSlot.MenuBar); 1111return MakeBrush(CacheSlot.MenuHighlight); 1122return MakeBrush(CacheSlot.MenuText); 1133return MakeBrush(CacheSlot.ScrollBar); 1144return MakeBrush(CacheSlot.Window); 1155return MakeBrush(CacheSlot.WindowFrame); 1166return MakeBrush(CacheSlot.WindowText); 1781private static Color GetSystemColor(CacheSlot slot) 1807private static SolidColorBrush MakeBrush(CacheSlot slot) 1830private static int SlotToFlag(CacheSlot slot) 1836case CacheSlot.ActiveBorder: 1838case CacheSlot.ActiveCaption: 1840case CacheSlot.ActiveCaptionText: 1842case CacheSlot.AppWorkspace: 1844case CacheSlot.Control: 1846case CacheSlot.ControlDark: 1848case CacheSlot.ControlDarkDark: 1850case CacheSlot.ControlLight: 1852case CacheSlot.ControlLightLight: 1854case CacheSlot.ControlText: 1856case CacheSlot.Desktop: 1858case CacheSlot.GradientActiveCaption: 1860case CacheSlot.GradientInactiveCaption: 1862case CacheSlot.GrayText: 1864case CacheSlot.Highlight: 1866case CacheSlot.HighlightText: 1868case CacheSlot.HotTrack: 1870case CacheSlot.InactiveBorder: 1872case CacheSlot.InactiveCaption: 1874case CacheSlot.InactiveCaptionText: 1876case CacheSlot.Info: 1878case CacheSlot.InfoText: 1880case CacheSlot.Menu: 1882case CacheSlot.MenuBar: 1884case CacheSlot.MenuHighlight: 1886case CacheSlot.MenuText: 1888case CacheSlot.ScrollBar: 1890case CacheSlot.Window: 1892case CacheSlot.WindowFrame: 1894case CacheSlot.WindowText: 1937private static BitArray _colorCacheValid = new BitArray((int)CacheSlot.NumSlots); 1938private static Color[] _colorCache = new Color[(int)CacheSlot.NumSlots]; 1939private static BitArray _brushCacheValid = new BitArray((int)CacheSlot.NumSlots); 1940private static SolidColorBrush[] _brushCache = new SolidColorBrush[(int)CacheSlot.NumSlots];