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