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)
191Color windowTextColor = SystemColors.WindowTextColor;
System\Windows\Appearance\WindowBackdropManager.cs (1)
119windowSource.CompositionTarget.BackgroundColor = SystemColors.WindowColor;
System\Windows\Controls\Control.cs (1)
136new FrameworkPropertyMetadata(SystemColors.ControlTextBrush,
System\Windows\Controls\DataGridTextColumn.cs (1)
384new FrameworkPropertyMetadata(SystemColors.ControlTextBrush, FrameworkPropertyMetadataOptions.Inherits, DataGridColumn.NotifyPropertyChangeForRefreshContent));
System\Windows\Controls\InkCanvas.cs (2)
97new DynamicResourceExtension(SystemColors.WindowBrushKey))); 187_rtiHighContrastCallback.TurnHighContrastOn(SystemColors.WindowTextColor);
System\Windows\Controls\InkPresenter.cs (1)
46_contrastCallback.TurnHighContrastOn(SystemColors.WindowTextColor);
System\Windows\Controls\MenuItem.cs (1)
164ForegroundProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemColors.MenuTextBrush));
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
1858Brush selectionBrush = new SolidColorBrush(SystemColors.HighlightColor); 1868Brush selectionTextBrush = new SolidColorBrush(SystemColors.HighlightTextColor);
System\Windows\Controls\ScrollViewer.cs (1)
2733corner.SetResourceReference(Rectangle.FillProperty, SystemColors.ControlBrushKey);
System\Windows\Controls\ToolTip.cs (1)
26BackgroundProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(SystemColors.InfoBrush));
System\windows\Documents\SelectionHighlightInfo.cs (3)
28_objectMaskBrush = new SolidColorBrush(SystemColors.HighlightColor) 51return SystemColors.HighlightTextBrush; 62return SystemColors.HighlightBrush;
System\windows\Documents\TextSelection.cs (1)
1622backgroundColor = SystemColors.WindowColor;
System\Windows\FluentThemeState.cs (1)
14AccentColor = SystemColors.AccentColor;
System\Windows\Markup\XamlTypeMapper.cs (1)
2886keyObject = typeof(SystemColors);
System\Windows\Shell\WindowChromeWorker.cs (2)
952_hwndSource.CompositionTarget.BackgroundColor = SystemColors.WindowColor; 1148_hwndSource.CompositionTarget.BackgroundColor = SystemColors.WindowColor;
System\Windows\SystemColors.cs (18)
1373return SystemColors.HighlightBrush; 1377return SystemColors.ControlBrush; 1394return SystemColors.HighlightTextBrush; 1398return SystemColors.ControlTextBrush; 1408/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1416return SystemColors.HighlightTextBrush; 1429/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1437return SystemColors.HighlightTextBrush; 1450/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1458return SystemColors.HighlightTextBrush; 1471/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1479return SystemColors.HighlightTextBrush; 1492/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1500return SystemColors.HighlightTextBrush; 1513/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1521return SystemColors.HighlightTextBrush; 1534/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1542return SystemColors.HighlightTextBrush;
System\Windows\SystemKeyConverter.cs (1)
168return typeof(SystemColors);
System\Windows\SystemResourceKey.cs (152)
457return SystemColors.ActiveBorderBrush; 460return SystemColors.ActiveCaptionBrush; 463return SystemColors.ActiveCaptionTextBrush; 466return SystemColors.AppWorkspaceBrush; 469return SystemColors.ControlBrush; 472return SystemColors.ControlDarkBrush; 475return SystemColors.ControlDarkDarkBrush; 478return SystemColors.ControlLightBrush; 481return SystemColors.ControlLightLightBrush; 484return SystemColors.ControlTextBrush; 487return SystemColors.DesktopBrush; 490return SystemColors.GradientActiveCaptionBrush; 493return SystemColors.GradientInactiveCaptionBrush; 496return SystemColors.GrayTextBrush; 499return SystemColors.HighlightBrush; 502return SystemColors.HighlightTextBrush; 505return SystemColors.HotTrackBrush; 508return SystemColors.InactiveBorderBrush; 511return SystemColors.InactiveCaptionBrush; 514return SystemColors.InactiveCaptionTextBrush; 517return SystemColors.InfoBrush; 520return SystemColors.InfoTextBrush; 523return SystemColors.MenuBrush; 526return SystemColors.MenuBarBrush; 529return SystemColors.MenuHighlightBrush; 532return SystemColors.MenuTextBrush; 535return SystemColors.ScrollBarBrush; 538return SystemColors.WindowBrush; 541return SystemColors.WindowFrameBrush; 544return SystemColors.WindowTextBrush; 547return SystemColors.InactiveSelectionHighlightBrush; 550return SystemColors.InactiveSelectionHighlightTextBrush; 553return SystemColors.AccentColorBrush; 556return SystemColors.AccentColorLight1Brush; 559return SystemColors.AccentColorLight2Brush; 562return SystemColors.AccentColorLight3Brush; 565return SystemColors.AccentColorDark1Brush; 568return SystemColors.AccentColorDark2Brush; 571return SystemColors.AccentColorDark3Brush; 574return SystemColors.ActiveBorderColor; 577return SystemColors.ActiveCaptionColor; 580return SystemColors.ActiveCaptionTextColor; 583return SystemColors.AppWorkspaceColor; 586return SystemColors.ControlColor; 589return SystemColors.ControlDarkColor; 592return SystemColors.ControlDarkDarkColor; 595return SystemColors.ControlLightColor; 598return SystemColors.ControlLightLightColor; 601return SystemColors.ControlTextColor; 604return SystemColors.DesktopColor; 607return SystemColors.GradientActiveCaptionColor; 610return SystemColors.GradientInactiveCaptionColor; 613return SystemColors.GrayTextColor; 616return SystemColors.HighlightColor; 619return SystemColors.HighlightTextColor; 622return SystemColors.HotTrackColor; 625return SystemColors.InactiveBorderColor; 628return SystemColors.InactiveCaptionColor; 631return SystemColors.InactiveCaptionTextColor; 634return SystemColors.InfoColor; 637return SystemColors.InfoTextColor; 640return SystemColors.MenuColor; 643return SystemColors.MenuBarColor; 646return SystemColors.MenuHighlightColor; 649return SystemColors.MenuTextColor; 652return SystemColors.ScrollBarColor; 655return SystemColors.WindowColor; 658return SystemColors.WindowFrameColor; 661return SystemColors.WindowTextColor; 664return SystemColors.AccentColor; 667return SystemColors.AccentColorLight1; 670return SystemColors.AccentColorLight2; 673return SystemColors.AccentColorLight3; 676return SystemColors.AccentColorDark1; 679return SystemColors.AccentColorDark2; 682return SystemColors.AccentColorDark3; 1141return SystemColors.ActiveBorderBrushKey; 1144return SystemColors.ActiveCaptionBrushKey; 1147return SystemColors.ActiveCaptionTextBrushKey; 1150return SystemColors.AppWorkspaceBrushKey; 1153return SystemColors.ControlBrushKey; 1156return SystemColors.ControlDarkBrushKey; 1159return SystemColors.ControlDarkDarkBrushKey; 1162return SystemColors.ControlLightBrushKey; 1165return SystemColors.ControlLightLightBrushKey; 1168return SystemColors.ControlTextBrushKey; 1171return SystemColors.DesktopBrushKey; 1174return SystemColors.GradientActiveCaptionBrushKey; 1177return SystemColors.GradientInactiveCaptionBrushKey; 1180return SystemColors.GrayTextBrushKey; 1183return SystemColors.HighlightBrushKey; 1186return SystemColors.HighlightTextBrushKey; 1189return SystemColors.HotTrackBrushKey; 1192return SystemColors.InactiveBorderBrushKey; 1195return SystemColors.InactiveCaptionBrushKey; 1198return SystemColors.InactiveCaptionTextBrushKey; 1201return SystemColors.InfoBrushKey; 1204return SystemColors.InfoTextBrushKey; 1207return SystemColors.MenuBrushKey; 1210return SystemColors.MenuBarBrushKey; 1213return SystemColors.MenuHighlightBrushKey; 1216return SystemColors.MenuTextBrushKey; 1219return SystemColors.ScrollBarBrushKey; 1222return SystemColors.WindowBrushKey; 1225return SystemColors.WindowFrameBrushKey; 1228return SystemColors.WindowTextBrushKey; 1231return SystemColors.InactiveSelectionHighlightBrushKey; 1234return SystemColors.InactiveSelectionHighlightTextBrushKey; 1237return SystemColors.AccentColorBrushKey; 1240return SystemColors.AccentColorLight1BrushKey; 1243return SystemColors.AccentColorLight2BrushKey; 1246return SystemColors.AccentColorLight3BrushKey; 1249return SystemColors.AccentColorDark1BrushKey; 1252return SystemColors.AccentColorDark2BrushKey; 1255return SystemColors.AccentColorDark3BrushKey; 1258return SystemColors.ActiveBorderColorKey; 1261return SystemColors.ActiveCaptionColorKey; 1264return SystemColors.ActiveCaptionTextColorKey; 1267return SystemColors.AppWorkspaceColorKey; 1270return SystemColors.ControlColorKey; 1273return SystemColors.ControlDarkColorKey; 1276return SystemColors.ControlDarkDarkColorKey; 1279return SystemColors.ControlLightColorKey; 1282return SystemColors.ControlLightLightColorKey; 1285return SystemColors.ControlTextColorKey; 1288return SystemColors.DesktopColorKey; 1291return SystemColors.GradientActiveCaptionColorKey; 1294return SystemColors.GradientInactiveCaptionColorKey; 1297return SystemColors.GrayTextColorKey; 1300return SystemColors.HighlightColorKey; 1303return SystemColors.HighlightTextColorKey; 1306return SystemColors.HotTrackColorKey; 1309return SystemColors.InactiveBorderColorKey; 1312return SystemColors.InactiveCaptionColorKey; 1315return SystemColors.InactiveCaptionTextColorKey; 1318return SystemColors.InfoColorKey; 1321return SystemColors.InfoTextColorKey; 1324return SystemColors.MenuColorKey; 1327return SystemColors.MenuBarColorKey; 1330return SystemColors.MenuHighlightColorKey; 1333return SystemColors.MenuTextColorKey; 1336return SystemColors.ScrollBarColorKey; 1339return SystemColors.WindowColorKey; 1342return SystemColors.WindowFrameColorKey; 1345return SystemColors.WindowTextColorKey; 1348return SystemColors.AccentColorKey; 1351return SystemColors.AccentColorLight1Key; 1354return SystemColors.AccentColorLight2Key; 1357return SystemColors.AccentColorLight3Key; 1360return SystemColors.AccentColorDark1Key; 1363return SystemColors.AccentColorDark2Key; 1366return SystemColors.AccentColorDark3Key;
System\Windows\SystemResources.cs (3)
1357SystemColors.InvalidateCache(); 1368if (SystemColors.InvalidateCache()) 1415if(SystemColors.InvalidateCache())
PresentationFramework.AeroLite (1)
Microsoft\Windows\Themes\ScrollChrome.cs (1)
491return SystemColors.GrayTextBrush;
PresentationFramework.Classic (17)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (10)
412controlBrush != null && (controlColor = controlBrush.Color) != SystemColors.ControlColor && controlColor.A > 0x00) 436R = (byte)((darkColor.R + SystemColors.WindowFrameColor.R) / 2), 437G = (byte)((darkColor.G + SystemColors.WindowFrameColor.G) / 2), 438B = (byte)((darkColor.B + SystemColors.WindowFrameColor.B) / 2), 439A = (byte)((darkColor.A + SystemColors.WindowFrameColor.A) / 2) 763DrawBorder(SystemColors.WindowFrameBrush, singleThickness, drawingContext, ref bounds); 1353return _brushCache != null ? _brushCache.LightBrush : SystemColors.ControlLightBrush; 1362return _brushCache != null ? _brushCache.LightLightBrush : SystemColors.ControlLightLightBrush; 1371return _brushCache != null ? _brushCache.DarkBrush : SystemColors.ControlDarkBrush; 1380return _brushCache != null ? _brushCache.DarkDarkBrush : SystemColors.ControlDarkDarkBrush;
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (7)
35SetResourceReference(ControlBrushProperty, SystemColors.ControlBrushKey); 50Brush light = SystemColors.ControlLightBrush; 51Brush dark = SystemColors.ControlDarkBrush; 71darkDarkRight = SystemColors.ControlDarkDarkBrush; 89darkDarkBottom = SystemColors.ControlDarkDarkBrush; 186? SystemColors.ControlTextBrush : SystemColors.GrayTextBrush;
WindowsFormsIntegration (1)
System\Windows\Integration\WindowsFormsHost.cs (1)
372private static Brush defaultBrush = SystemColors.WindowBrush;