219 references to SystemColors
Microsoft.VisualStudio.LanguageServices (6)
ChangeSignature\ChangeSignatureDialog.xaml.cs (6)
63ParameterText = SystemParameters.HighContrast ? SystemColors.WindowTextBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0x1E, 0x1E, 0x1E)); 64RemovedParameterText = SystemParameters.HighContrast ? SystemColors.WindowTextBrush : new SolidColorBrush(Colors.Gray); 65DisabledParameterBackground = SystemParameters.HighContrast ? SystemColors.WindowBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0xDF, 0xE7, 0xF3)); 66DisabledParameterForeground = SystemParameters.HighContrast ? SystemColors.GrayTextBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0xA2, 0xA4, 0xA5)); 67Members.Background = SystemParameters.HighContrast ? SystemColors.WindowBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 68StrikethroughBrush = SystemParameters.HighContrast ? SystemColors.WindowTextBrush : new SolidColorBrush(Colors.Red);
PresentationFramework (194)
MS\Internal\Ink\HighContrastHelper.cs (1)
192Color windowTextColor = SystemColors.WindowTextColor;
System\Windows\Appearance\WindowBackdropManager.cs (1)
116windowSource.CompositionTarget.BackgroundColor = SystemColors.WindowColor;
System\Windows\Controls\Control.cs (1)
137new FrameworkPropertyMetadata(SystemColors.ControlTextBrush,
System\Windows\Controls\DataGridTextColumn.cs (1)
385new FrameworkPropertyMetadata(SystemColors.ControlTextBrush, FrameworkPropertyMetadataOptions.Inherits, DataGridColumn.NotifyPropertyChangeForRefreshContent));
System\Windows\Controls\InkCanvas.cs (2)
98new DynamicResourceExtension(SystemColors.WindowBrushKey))); 178_rtiHighContrastCallback.TurnHighContrastOn(SystemColors.WindowTextColor);
System\Windows\Controls\InkPresenter.cs (1)
47_contrastCallback.TurnHighContrastOn(SystemColors.WindowTextColor);
System\Windows\Controls\MenuItem.cs (1)
165ForegroundProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemColors.MenuTextBrush));
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
1926Brush selectionBrush = new SolidColorBrush(SystemColors.HighlightColor); 1936Brush selectionTextBrush = new SolidColorBrush(SystemColors.HighlightTextColor);
System\Windows\Controls\ScrollViewer.cs (1)
2732corner.SetResourceReference(Rectangle.FillProperty, SystemColors.ControlBrushKey);
System\Windows\Controls\ToolTip.cs (1)
27BackgroundProperty.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)
1638backgroundColor = SystemColors.WindowColor;
System\Windows\FluentThemeState.cs (1)
11AccentColor = SystemColors.AccentColor;
System\Windows\Markup\XamlTypeMapper.cs (1)
2889keyObject = typeof(SystemColors);
System\Windows\Shell\WindowChromeWorker.cs (2)
953_hwndSource.CompositionTarget.BackgroundColor = SystemColors.WindowColor; 1149_hwndSource.CompositionTarget.BackgroundColor = SystemColors.WindowColor;
System\Windows\SystemColors.cs (18)
1374return SystemColors.HighlightBrush; 1378return SystemColors.ControlBrush; 1395return SystemColors.HighlightTextBrush; 1399return SystemColors.ControlTextBrush; 1409/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1417return SystemColors.HighlightTextBrush; 1430/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1438return SystemColors.HighlightTextBrush; 1451/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1459return SystemColors.HighlightTextBrush; 1472/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1480return SystemColors.HighlightTextBrush; 1493/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1501return SystemColors.HighlightTextBrush; 1514/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1522return SystemColors.HighlightTextBrush; 1535/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1543return SystemColors.HighlightTextBrush;
System\Windows\SystemKeyConverter.cs (1)
169return 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)
1374SystemColors.InvalidateCache(); 1385if (SystemColors.InvalidateCache()) 1432if(SystemColors.InvalidateCache())
PresentationFramework.AeroLite (1)
Microsoft\Windows\Themes\ScrollChrome.cs (1)
486return SystemColors.GrayTextBrush;
PresentationFramework.Classic (17)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (10)
413controlBrush != null && (controlColor = controlBrush.Color) != SystemColors.ControlColor && controlColor.A > 0x00) 436darkDarkColor.R = (byte)((darkColor.R + SystemColors.WindowFrameColor.R) / 2); 437darkDarkColor.G = (byte)((darkColor.G + SystemColors.WindowFrameColor.G) / 2); 438darkDarkColor.B = (byte)((darkColor.B + SystemColors.WindowFrameColor.B) / 2); 439darkDarkColor.A = (byte)((darkColor.A + SystemColors.WindowFrameColor.A) / 2); 762DrawBorder(SystemColors.WindowFrameBrush, singleThickness, drawingContext, ref bounds); 1346return _brushCache != null ? _brushCache.LightBrush : SystemColors.ControlLightBrush; 1355return _brushCache != null ? _brushCache.LightLightBrush : SystemColors.ControlLightLightBrush; 1364return _brushCache != null ? _brushCache.DarkBrush : SystemColors.ControlDarkBrush; 1373return _brushCache != null ? _brushCache.DarkDarkBrush : SystemColors.ControlDarkDarkBrush;
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (7)
36SetResourceReference(ControlBrushProperty, SystemColors.ControlBrushKey); 51Brush light = SystemColors.ControlLightBrush; 52Brush dark = SystemColors.ControlDarkBrush; 72darkDarkRight = SystemColors.ControlDarkDarkBrush; 90darkDarkBottom = SystemColors.ControlDarkDarkBrush; 187? SystemColors.ControlTextBrush : SystemColors.GrayTextBrush;
WindowsFormsIntegration (1)
System\Windows\Integration\WindowsFormsHost.cs (1)
379static Brush defaultBrush = SystemColors.WindowBrush;