169 references to SystemColors
PresentationFramework (150)
MS\Internal\Ink\HighContrastHelper.cs (1)
196
Color windowTextColor =
SystemColors
.WindowTextColor;
System\Windows\Appearance\WindowBackdropManager.cs (1)
112
windowSource.CompositionTarget.BackgroundColor =
SystemColors
.WindowColor;
System\Windows\Controls\Control.cs (1)
146
new FrameworkPropertyMetadata(
SystemColors
.ControlTextBrush,
System\Windows\Controls\DataGridTextColumn.cs (1)
388
new FrameworkPropertyMetadata(
SystemColors
.ControlTextBrush, FrameworkPropertyMetadataOptions.Inherits, DataGridColumn.NotifyPropertyChangeForRefreshContent));
System\Windows\Controls\InkCanvas.cs (2)
110
new DynamicResourceExtension(
SystemColors
.WindowBrushKey)));
190
_rtiHighContrastCallback.TurnHighContrastOn(
SystemColors
.WindowTextColor);
System\Windows\Controls\InkPresenter.cs (1)
54
_contrastCallback.TurnHighContrastOn(
SystemColors
.WindowTextColor);
System\Windows\Controls\MenuItem.cs (1)
175
ForegroundProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(
SystemColors
.MenuTextBrush));
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
1935
Brush selectionBrush = new SolidColorBrush(
SystemColors
.HighlightColor);
1945
Brush selectionTextBrush = new SolidColorBrush(
SystemColors
.HighlightTextColor);
System\Windows\Controls\ScrollViewer.cs (1)
2740
corner.SetResourceReference(Rectangle.FillProperty,
SystemColors
.ControlBrushKey);
System\Windows\Controls\ToolTip.cs (1)
40
BackgroundProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(
SystemColors
.InfoBrush));
System\windows\Documents\SelectionHighlightInfo.cs (3)
29
_objectMaskBrush = new SolidColorBrush(
SystemColors
.HighlightColor);
50
return
SystemColors
.HighlightTextBrush;
61
return
SystemColors
.HighlightBrush;
System\windows\Documents\TextSelection.cs (1)
1641
backgroundColor =
SystemColors
.WindowColor;
System\Windows\Markup\XamlTypeMapper.cs (1)
2899
keyObject = typeof(
SystemColors
);
System\Windows\Shell\WindowChromeWorker.cs (2)
1203
_hwndSource.CompositionTarget.BackgroundColor =
SystemColors
.WindowColor;
1408
_hwndSource.CompositionTarget.BackgroundColor =
SystemColors
.WindowColor;
System\Windows\SystemColors.cs (4)
1186
return
SystemColors
.HighlightBrush;
1190
return
SystemColors
.ControlBrush;
1207
return
SystemColors
.HighlightTextBrush;
1211
return
SystemColors
.ControlTextBrush;
System\Windows\SystemKeyConverter.cs (1)
171
return typeof(
SystemColors
);
System\Windows\SystemResourceKey.cs (124)
443
return
SystemColors
.ActiveBorderBrush;
446
return
SystemColors
.ActiveCaptionBrush;
449
return
SystemColors
.ActiveCaptionTextBrush;
452
return
SystemColors
.AppWorkspaceBrush;
455
return
SystemColors
.ControlBrush;
458
return
SystemColors
.ControlDarkBrush;
461
return
SystemColors
.ControlDarkDarkBrush;
464
return
SystemColors
.ControlLightBrush;
467
return
SystemColors
.ControlLightLightBrush;
470
return
SystemColors
.ControlTextBrush;
473
return
SystemColors
.DesktopBrush;
476
return
SystemColors
.GradientActiveCaptionBrush;
479
return
SystemColors
.GradientInactiveCaptionBrush;
482
return
SystemColors
.GrayTextBrush;
485
return
SystemColors
.HighlightBrush;
488
return
SystemColors
.HighlightTextBrush;
491
return
SystemColors
.HotTrackBrush;
494
return
SystemColors
.InactiveBorderBrush;
497
return
SystemColors
.InactiveCaptionBrush;
500
return
SystemColors
.InactiveCaptionTextBrush;
503
return
SystemColors
.InfoBrush;
506
return
SystemColors
.InfoTextBrush;
509
return
SystemColors
.MenuBrush;
512
return
SystemColors
.MenuBarBrush;
515
return
SystemColors
.MenuHighlightBrush;
518
return
SystemColors
.MenuTextBrush;
521
return
SystemColors
.ScrollBarBrush;
524
return
SystemColors
.WindowBrush;
527
return
SystemColors
.WindowFrameBrush;
530
return
SystemColors
.WindowTextBrush;
533
return
SystemColors
.InactiveSelectionHighlightBrush;
536
return
SystemColors
.InactiveSelectionHighlightTextBrush;
539
return
SystemColors
.ActiveBorderColor;
542
return
SystemColors
.ActiveCaptionColor;
545
return
SystemColors
.ActiveCaptionTextColor;
548
return
SystemColors
.AppWorkspaceColor;
551
return
SystemColors
.ControlColor;
554
return
SystemColors
.ControlDarkColor;
557
return
SystemColors
.ControlDarkDarkColor;
560
return
SystemColors
.ControlLightColor;
563
return
SystemColors
.ControlLightLightColor;
566
return
SystemColors
.ControlTextColor;
569
return
SystemColors
.DesktopColor;
572
return
SystemColors
.GradientActiveCaptionColor;
575
return
SystemColors
.GradientInactiveCaptionColor;
578
return
SystemColors
.GrayTextColor;
581
return
SystemColors
.HighlightColor;
584
return
SystemColors
.HighlightTextColor;
587
return
SystemColors
.HotTrackColor;
590
return
SystemColors
.InactiveBorderColor;
593
return
SystemColors
.InactiveCaptionColor;
596
return
SystemColors
.InactiveCaptionTextColor;
599
return
SystemColors
.InfoColor;
602
return
SystemColors
.InfoTextColor;
605
return
SystemColors
.MenuColor;
608
return
SystemColors
.MenuBarColor;
611
return
SystemColors
.MenuHighlightColor;
614
return
SystemColors
.MenuTextColor;
617
return
SystemColors
.ScrollBarColor;
620
return
SystemColors
.WindowColor;
623
return
SystemColors
.WindowFrameColor;
626
return
SystemColors
.WindowTextColor;
1085
return
SystemColors
.ActiveBorderBrushKey;
1088
return
SystemColors
.ActiveCaptionBrushKey;
1091
return
SystemColors
.ActiveCaptionTextBrushKey;
1094
return
SystemColors
.AppWorkspaceBrushKey;
1097
return
SystemColors
.ControlBrushKey;
1100
return
SystemColors
.ControlDarkBrushKey;
1103
return
SystemColors
.ControlDarkDarkBrushKey;
1106
return
SystemColors
.ControlLightBrushKey;
1109
return
SystemColors
.ControlLightLightBrushKey;
1112
return
SystemColors
.ControlTextBrushKey;
1115
return
SystemColors
.DesktopBrushKey;
1118
return
SystemColors
.GradientActiveCaptionBrushKey;
1121
return
SystemColors
.GradientInactiveCaptionBrushKey;
1124
return
SystemColors
.GrayTextBrushKey;
1127
return
SystemColors
.HighlightBrushKey;
1130
return
SystemColors
.HighlightTextBrushKey;
1133
return
SystemColors
.HotTrackBrushKey;
1136
return
SystemColors
.InactiveBorderBrushKey;
1139
return
SystemColors
.InactiveCaptionBrushKey;
1142
return
SystemColors
.InactiveCaptionTextBrushKey;
1145
return
SystemColors
.InfoBrushKey;
1148
return
SystemColors
.InfoTextBrushKey;
1151
return
SystemColors
.MenuBrushKey;
1154
return
SystemColors
.MenuBarBrushKey;
1157
return
SystemColors
.MenuHighlightBrushKey;
1160
return
SystemColors
.MenuTextBrushKey;
1163
return
SystemColors
.ScrollBarBrushKey;
1166
return
SystemColors
.WindowBrushKey;
1169
return
SystemColors
.WindowFrameBrushKey;
1172
return
SystemColors
.WindowTextBrushKey;
1175
return
SystemColors
.InactiveSelectionHighlightBrushKey;
1178
return
SystemColors
.InactiveSelectionHighlightTextBrushKey;
1181
return
SystemColors
.ActiveBorderColorKey;
1184
return
SystemColors
.ActiveCaptionColorKey;
1187
return
SystemColors
.ActiveCaptionTextColorKey;
1190
return
SystemColors
.AppWorkspaceColorKey;
1193
return
SystemColors
.ControlColorKey;
1196
return
SystemColors
.ControlDarkColorKey;
1199
return
SystemColors
.ControlDarkDarkColorKey;
1202
return
SystemColors
.ControlLightColorKey;
1205
return
SystemColors
.ControlLightLightColorKey;
1208
return
SystemColors
.ControlTextColorKey;
1211
return
SystemColors
.DesktopColorKey;
1214
return
SystemColors
.GradientActiveCaptionColorKey;
1217
return
SystemColors
.GradientInactiveCaptionColorKey;
1220
return
SystemColors
.GrayTextColorKey;
1223
return
SystemColors
.HighlightColorKey;
1226
return
SystemColors
.HighlightTextColorKey;
1229
return
SystemColors
.HotTrackColorKey;
1232
return
SystemColors
.InactiveBorderColorKey;
1235
return
SystemColors
.InactiveCaptionColorKey;
1238
return
SystemColors
.InactiveCaptionTextColorKey;
1241
return
SystemColors
.InfoColorKey;
1244
return
SystemColors
.InfoTextColorKey;
1247
return
SystemColors
.MenuColorKey;
1250
return
SystemColors
.MenuBarColorKey;
1253
return
SystemColors
.MenuHighlightColorKey;
1256
return
SystemColors
.MenuTextColorKey;
1259
return
SystemColors
.ScrollBarColorKey;
1262
return
SystemColors
.WindowColorKey;
1265
return
SystemColors
.WindowFrameColorKey;
1268
return
SystemColors
.WindowTextColorKey;
System\Windows\SystemResources.cs (2)
1380
SystemColors
.InvalidateCache();
1391
if (
SystemColors
.InvalidateCache())
PresentationFramework.AeroLite (1)
Microsoft\Windows\Themes\ScrollChrome.cs (1)
492
return
SystemColors
.GrayTextBrush;
PresentationFramework.Classic (17)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (10)
416
controlBrush != null && (controlColor = controlBrush.Color) !=
SystemColors
.ControlColor && controlColor.A > 0x00)
439
darkDarkColor.R = (byte)((darkColor.R +
SystemColors
.WindowFrameColor.R) / 2);
440
darkDarkColor.G = (byte)((darkColor.G +
SystemColors
.WindowFrameColor.G) / 2);
441
darkDarkColor.B = (byte)((darkColor.B +
SystemColors
.WindowFrameColor.B) / 2);
442
darkDarkColor.A = (byte)((darkColor.A +
SystemColors
.WindowFrameColor.A) / 2);
765
DrawBorder(
SystemColors
.WindowFrameBrush, singleThickness, drawingContext, ref bounds);
1349
return _brushCache != null ? _brushCache.LightBrush :
SystemColors
.ControlLightBrush;
1358
return _brushCache != null ? _brushCache.LightLightBrush :
SystemColors
.ControlLightLightBrush;
1367
return _brushCache != null ? _brushCache.DarkBrush :
SystemColors
.ControlDarkBrush;
1376
return _brushCache != null ? _brushCache.DarkDarkBrush :
SystemColors
.ControlDarkDarkBrush;
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (7)
40
SetResourceReference(ControlBrushProperty,
SystemColors
.ControlBrushKey);
55
Brush light =
SystemColors
.ControlLightBrush;
56
Brush dark =
SystemColors
.ControlDarkBrush;
76
darkDarkRight =
SystemColors
.ControlDarkDarkBrush;
94
darkDarkBottom =
SystemColors
.ControlDarkDarkBrush;
191
?
SystemColors
.ControlTextBrush :
SystemColors
.GrayTextBrush;
WindowsFormsIntegration (1)
System\Windows\Integration\WindowsFormsHost.cs (1)
381
static Brush defaultBrush =
SystemColors
.WindowBrush;