120 references to CacheSlot
PresentationFramework (120)
System\Windows\SystemColors.cs (120)
25
return GetSystemColor(
CacheSlot
.ActiveBorder);
36
return GetSystemColor(
CacheSlot
.ActiveCaption);
47
return GetSystemColor(
CacheSlot
.ActiveCaptionText);
58
return GetSystemColor(
CacheSlot
.AppWorkspace);
69
return GetSystemColor(
CacheSlot
.Control);
80
return GetSystemColor(
CacheSlot
.ControlDark);
91
return GetSystemColor(
CacheSlot
.ControlDarkDark);
102
return GetSystemColor(
CacheSlot
.ControlLight);
113
return GetSystemColor(
CacheSlot
.ControlLightLight);
124
return GetSystemColor(
CacheSlot
.ControlText);
135
return GetSystemColor(
CacheSlot
.Desktop);
146
return GetSystemColor(
CacheSlot
.GradientActiveCaption);
157
return GetSystemColor(
CacheSlot
.GradientInactiveCaption);
168
return GetSystemColor(
CacheSlot
.GrayText);
179
return GetSystemColor(
CacheSlot
.Highlight);
190
return GetSystemColor(
CacheSlot
.HighlightText);
201
return GetSystemColor(
CacheSlot
.HotTrack);
212
return GetSystemColor(
CacheSlot
.InactiveBorder);
223
return GetSystemColor(
CacheSlot
.InactiveCaption);
234
return GetSystemColor(
CacheSlot
.InactiveCaptionText);
245
return GetSystemColor(
CacheSlot
.Info);
256
return GetSystemColor(
CacheSlot
.InfoText);
267
return GetSystemColor(
CacheSlot
.Menu);
278
return GetSystemColor(
CacheSlot
.MenuBar);
289
return GetSystemColor(
CacheSlot
.MenuHighlight);
300
return GetSystemColor(
CacheSlot
.MenuText);
311
return GetSystemColor(
CacheSlot
.ScrollBar);
322
return GetSystemColor(
CacheSlot
.Window);
333
return GetSystemColor(
CacheSlot
.WindowFrame);
344
return GetSystemColor(
CacheSlot
.WindowText);
355
return GetAccentColor(
CacheSlot
.AccentColor);
366
return GetAccentColor(
CacheSlot
.AccentColorLight1);
377
return GetAccentColor(
CacheSlot
.AccentColorLight2);
388
return GetAccentColor(
CacheSlot
.AccentColorLight3);
399
return GetAccentColor(
CacheSlot
.AccentColorDark1);
410
return GetAccentColor(
CacheSlot
.AccentColorDark2);
421
return GetAccentColor(
CacheSlot
.AccentColorDark3);
1038
return MakeBrush(
CacheSlot
.ActiveBorder);
1049
return MakeBrush(
CacheSlot
.ActiveCaption);
1060
return MakeBrush(
CacheSlot
.ActiveCaptionText);
1071
return MakeBrush(
CacheSlot
.AppWorkspace);
1082
return MakeBrush(
CacheSlot
.Control);
1093
return MakeBrush(
CacheSlot
.ControlDark);
1104
return MakeBrush(
CacheSlot
.ControlDarkDark);
1115
return MakeBrush(
CacheSlot
.ControlLight);
1126
return MakeBrush(
CacheSlot
.ControlLightLight);
1137
return MakeBrush(
CacheSlot
.ControlText);
1148
return MakeBrush(
CacheSlot
.Desktop);
1159
return MakeBrush(
CacheSlot
.GradientActiveCaption);
1170
return MakeBrush(
CacheSlot
.GradientInactiveCaption);
1181
return MakeBrush(
CacheSlot
.GrayText);
1192
return MakeBrush(
CacheSlot
.Highlight);
1203
return MakeBrush(
CacheSlot
.HighlightText);
1214
return MakeBrush(
CacheSlot
.HotTrack);
1225
return MakeBrush(
CacheSlot
.InactiveBorder);
1236
return MakeBrush(
CacheSlot
.InactiveCaption);
1247
return MakeBrush(
CacheSlot
.InactiveCaptionText);
1258
return MakeBrush(
CacheSlot
.Info);
1269
return MakeBrush(
CacheSlot
.InfoText);
1280
return MakeBrush(
CacheSlot
.Menu);
1291
return MakeBrush(
CacheSlot
.MenuBar);
1302
return MakeBrush(
CacheSlot
.MenuHighlight);
1313
return MakeBrush(
CacheSlot
.MenuText);
1324
return MakeBrush(
CacheSlot
.ScrollBar);
1335
return MakeBrush(
CacheSlot
.Window);
1346
return MakeBrush(
CacheSlot
.WindowFrame);
1357
return MakeBrush(
CacheSlot
.WindowText);
1420
return MakeAccentBrush(
CacheSlot
.AccentColor);
1441
return MakeAccentBrush(
CacheSlot
.AccentColorLight1);
1462
return MakeAccentBrush(
CacheSlot
.AccentColorLight2);
1483
return MakeAccentBrush(
CacheSlot
.AccentColorLight3);
1504
return MakeAccentBrush(
CacheSlot
.AccentColorDark1);
1525
return MakeAccentBrush(
CacheSlot
.AccentColorDark2);
1546
return MakeAccentBrush(
CacheSlot
.AccentColorDark3);
2232
private static Color GetSystemColor(
CacheSlot
slot)
2258
private static Color GetAccentColor(
CacheSlot
slot)
2270
case
CacheSlot
.AccentColor:
2273
case
CacheSlot
.AccentColorLight1:
2276
case
CacheSlot
.AccentColorLight2:
2279
case
CacheSlot
.AccentColorLight3:
2282
case
CacheSlot
.AccentColorDark1:
2285
case
CacheSlot
.AccentColorDark2:
2288
case
CacheSlot
.AccentColorDark3:
2305
private static SolidColorBrush MakeBrush(
CacheSlot
slot)
2328
private static SolidColorBrush MakeAccentBrush(
CacheSlot
slot)
2350
private static int SlotToFlag(
CacheSlot
slot)
2356
case
CacheSlot
.ActiveBorder:
2358
case
CacheSlot
.ActiveCaption:
2360
case
CacheSlot
.ActiveCaptionText:
2362
case
CacheSlot
.AppWorkspace:
2364
case
CacheSlot
.Control:
2366
case
CacheSlot
.ControlDark:
2368
case
CacheSlot
.ControlDarkDark:
2370
case
CacheSlot
.ControlLight:
2372
case
CacheSlot
.ControlLightLight:
2374
case
CacheSlot
.ControlText:
2376
case
CacheSlot
.Desktop:
2378
case
CacheSlot
.GradientActiveCaption:
2380
case
CacheSlot
.GradientInactiveCaption:
2382
case
CacheSlot
.GrayText:
2384
case
CacheSlot
.Highlight:
2386
case
CacheSlot
.HighlightText:
2388
case
CacheSlot
.HotTrack:
2390
case
CacheSlot
.InactiveBorder:
2392
case
CacheSlot
.InactiveCaption:
2394
case
CacheSlot
.InactiveCaptionText:
2396
case
CacheSlot
.Info:
2398
case
CacheSlot
.InfoText:
2400
case
CacheSlot
.Menu:
2402
case
CacheSlot
.MenuBar:
2404
case
CacheSlot
.MenuHighlight:
2406
case
CacheSlot
.MenuText:
2408
case
CacheSlot
.ScrollBar:
2410
case
CacheSlot
.Window:
2412
case
CacheSlot
.WindowFrame:
2414
case
CacheSlot
.WindowText:
2464
private static BitArray _colorCacheValid = new BitArray((int)
CacheSlot
.NumSlots);
2465
private static Color[] _colorCache = new Color[(int)
CacheSlot
.NumSlots];
2466
private static BitArray _brushCacheValid = new BitArray((int)
CacheSlot
.NumSlots);
2467
private static SolidColorBrush[] _brushCache = new SolidColorBrush[(int)
CacheSlot
.NumSlots];