219 references to SystemColors
Microsoft.VisualStudio.LanguageServices (6)
ChangeSignature\ChangeSignatureDialog.xaml.cs (6)
62ParameterText = SystemParameters.HighContrast ? SystemColors.WindowTextBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0x1E, 0x1E, 0x1E)); 63RemovedParameterText = SystemParameters.HighContrast ? SystemColors.WindowTextBrush : new SolidColorBrush(Colors.Gray); 64DisabledParameterBackground = SystemParameters.HighContrast ? SystemColors.WindowBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0xDF, 0xE7, 0xF3)); 65DisabledParameterForeground = SystemParameters.HighContrast ? SystemColors.GrayTextBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0xA2, 0xA4, 0xA5)); 66Members.Background = SystemParameters.HighContrast ? SystemColors.WindowBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 67StrikethroughBrush = SystemParameters.HighContrast ? SystemColors.WindowTextBrush : new SolidColorBrush(Colors.Red);
PresentationFramework (194)
MS\Internal\Ink\HighContrastHelper.cs (1)
196Color windowTextColor = SystemColors.WindowTextColor;
System\Windows\Appearance\WindowBackdropManager.cs (1)
117windowSource.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\FluentThemeState.cs (1)
13AccentColor = SystemColors.AccentColor;
System\Windows\Markup\XamlTypeMapper.cs (1)
2891keyObject = typeof(SystemColors);
System\Windows\Shell\WindowChromeWorker.cs (2)
958_hwndSource.CompositionTarget.BackgroundColor = SystemColors.WindowColor; 1154_hwndSource.CompositionTarget.BackgroundColor = SystemColors.WindowColor;
System\Windows\SystemColors.cs (18)
1376return SystemColors.HighlightBrush; 1380return SystemColors.ControlBrush; 1397return SystemColors.HighlightTextBrush; 1401return SystemColors.ControlTextBrush; 1411/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1419return SystemColors.HighlightTextBrush; 1432/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1440return SystemColors.HighlightTextBrush; 1453/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1461return SystemColors.HighlightTextBrush; 1474/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1482return SystemColors.HighlightTextBrush; 1495/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1503return SystemColors.HighlightTextBrush; 1516/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1524return SystemColors.HighlightTextBrush; 1537/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1545return SystemColors.HighlightTextBrush;
System\Windows\SystemKeyConverter.cs (1)
171return typeof(SystemColors);
System\Windows\SystemResourceKey.cs (152)
458return SystemColors.ActiveBorderBrush; 461return SystemColors.ActiveCaptionBrush; 464return SystemColors.ActiveCaptionTextBrush; 467return SystemColors.AppWorkspaceBrush; 470return SystemColors.ControlBrush; 473return SystemColors.ControlDarkBrush; 476return SystemColors.ControlDarkDarkBrush; 479return SystemColors.ControlLightBrush; 482return SystemColors.ControlLightLightBrush; 485return SystemColors.ControlTextBrush; 488return SystemColors.DesktopBrush; 491return SystemColors.GradientActiveCaptionBrush; 494return SystemColors.GradientInactiveCaptionBrush; 497return SystemColors.GrayTextBrush; 500return SystemColors.HighlightBrush; 503return SystemColors.HighlightTextBrush; 506return SystemColors.HotTrackBrush; 509return SystemColors.InactiveBorderBrush; 512return SystemColors.InactiveCaptionBrush; 515return SystemColors.InactiveCaptionTextBrush; 518return SystemColors.InfoBrush; 521return SystemColors.InfoTextBrush; 524return SystemColors.MenuBrush; 527return SystemColors.MenuBarBrush; 530return SystemColors.MenuHighlightBrush; 533return SystemColors.MenuTextBrush; 536return SystemColors.ScrollBarBrush; 539return SystemColors.WindowBrush; 542return SystemColors.WindowFrameBrush; 545return SystemColors.WindowTextBrush; 548return SystemColors.InactiveSelectionHighlightBrush; 551return SystemColors.InactiveSelectionHighlightTextBrush; 554return SystemColors.AccentColorBrush; 557return SystemColors.AccentColorLight1Brush; 560return SystemColors.AccentColorLight2Brush; 563return SystemColors.AccentColorLight3Brush; 566return SystemColors.AccentColorDark1Brush; 569return SystemColors.AccentColorDark2Brush; 572return SystemColors.AccentColorDark3Brush; 575return SystemColors.ActiveBorderColor; 578return SystemColors.ActiveCaptionColor; 581return SystemColors.ActiveCaptionTextColor; 584return SystemColors.AppWorkspaceColor; 587return SystemColors.ControlColor; 590return SystemColors.ControlDarkColor; 593return SystemColors.ControlDarkDarkColor; 596return SystemColors.ControlLightColor; 599return SystemColors.ControlLightLightColor; 602return SystemColors.ControlTextColor; 605return SystemColors.DesktopColor; 608return SystemColors.GradientActiveCaptionColor; 611return SystemColors.GradientInactiveCaptionColor; 614return SystemColors.GrayTextColor; 617return SystemColors.HighlightColor; 620return SystemColors.HighlightTextColor; 623return SystemColors.HotTrackColor; 626return SystemColors.InactiveBorderColor; 629return SystemColors.InactiveCaptionColor; 632return SystemColors.InactiveCaptionTextColor; 635return SystemColors.InfoColor; 638return SystemColors.InfoTextColor; 641return SystemColors.MenuColor; 644return SystemColors.MenuBarColor; 647return SystemColors.MenuHighlightColor; 650return SystemColors.MenuTextColor; 653return SystemColors.ScrollBarColor; 656return SystemColors.WindowColor; 659return SystemColors.WindowFrameColor; 662return SystemColors.WindowTextColor; 665return SystemColors.AccentColor; 668return SystemColors.AccentColorLight1; 671return SystemColors.AccentColorLight2; 674return SystemColors.AccentColorLight3; 677return SystemColors.AccentColorDark1; 680return SystemColors.AccentColorDark2; 683return SystemColors.AccentColorDark3; 1142return SystemColors.ActiveBorderBrushKey; 1145return SystemColors.ActiveCaptionBrushKey; 1148return SystemColors.ActiveCaptionTextBrushKey; 1151return SystemColors.AppWorkspaceBrushKey; 1154return SystemColors.ControlBrushKey; 1157return SystemColors.ControlDarkBrushKey; 1160return SystemColors.ControlDarkDarkBrushKey; 1163return SystemColors.ControlLightBrushKey; 1166return SystemColors.ControlLightLightBrushKey; 1169return SystemColors.ControlTextBrushKey; 1172return SystemColors.DesktopBrushKey; 1175return SystemColors.GradientActiveCaptionBrushKey; 1178return SystemColors.GradientInactiveCaptionBrushKey; 1181return SystemColors.GrayTextBrushKey; 1184return SystemColors.HighlightBrushKey; 1187return SystemColors.HighlightTextBrushKey; 1190return SystemColors.HotTrackBrushKey; 1193return SystemColors.InactiveBorderBrushKey; 1196return SystemColors.InactiveCaptionBrushKey; 1199return SystemColors.InactiveCaptionTextBrushKey; 1202return SystemColors.InfoBrushKey; 1205return SystemColors.InfoTextBrushKey; 1208return SystemColors.MenuBrushKey; 1211return SystemColors.MenuBarBrushKey; 1214return SystemColors.MenuHighlightBrushKey; 1217return SystemColors.MenuTextBrushKey; 1220return SystemColors.ScrollBarBrushKey; 1223return SystemColors.WindowBrushKey; 1226return SystemColors.WindowFrameBrushKey; 1229return SystemColors.WindowTextBrushKey; 1232return SystemColors.InactiveSelectionHighlightBrushKey; 1235return SystemColors.InactiveSelectionHighlightTextBrushKey; 1238return SystemColors.AccentColorBrushKey; 1241return SystemColors.AccentColorLight1BrushKey; 1244return SystemColors.AccentColorLight2BrushKey; 1247return SystemColors.AccentColorLight3BrushKey; 1250return SystemColors.AccentColorDark1BrushKey; 1253return SystemColors.AccentColorDark2BrushKey; 1256return SystemColors.AccentColorDark3BrushKey; 1259return SystemColors.ActiveBorderColorKey; 1262return SystemColors.ActiveCaptionColorKey; 1265return SystemColors.ActiveCaptionTextColorKey; 1268return SystemColors.AppWorkspaceColorKey; 1271return SystemColors.ControlColorKey; 1274return SystemColors.ControlDarkColorKey; 1277return SystemColors.ControlDarkDarkColorKey; 1280return SystemColors.ControlLightColorKey; 1283return SystemColors.ControlLightLightColorKey; 1286return SystemColors.ControlTextColorKey; 1289return SystemColors.DesktopColorKey; 1292return SystemColors.GradientActiveCaptionColorKey; 1295return SystemColors.GradientInactiveCaptionColorKey; 1298return SystemColors.GrayTextColorKey; 1301return SystemColors.HighlightColorKey; 1304return SystemColors.HighlightTextColorKey; 1307return SystemColors.HotTrackColorKey; 1310return SystemColors.InactiveBorderColorKey; 1313return SystemColors.InactiveCaptionColorKey; 1316return SystemColors.InactiveCaptionTextColorKey; 1319return SystemColors.InfoColorKey; 1322return SystemColors.InfoTextColorKey; 1325return SystemColors.MenuColorKey; 1328return SystemColors.MenuBarColorKey; 1331return SystemColors.MenuHighlightColorKey; 1334return SystemColors.MenuTextColorKey; 1337return SystemColors.ScrollBarColorKey; 1340return SystemColors.WindowColorKey; 1343return SystemColors.WindowFrameColorKey; 1346return SystemColors.WindowTextColorKey; 1349return SystemColors.AccentColorKey; 1352return SystemColors.AccentColorLight1Key; 1355return SystemColors.AccentColorLight2Key; 1358return SystemColors.AccentColorLight3Key; 1361return SystemColors.AccentColorDark1Key; 1364return SystemColors.AccentColorDark2Key; 1367return SystemColors.AccentColorDark3Key;
System\Windows\SystemResources.cs (3)
1381SystemColors.InvalidateCache(); 1392if (SystemColors.InvalidateCache()) 1439if(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;