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