35 references to HighContrast
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 (24)
MS\Internal\Ink\HighContrastHelper.cs (1)
190bool isHighContrast = SystemParameters.HighContrast;
MS\Win32\UxThemeWrapper.cs (2)
127_themeState = new ThemeState(!SystemParameters.HighContrast && SafeNativeMethods.IsUxThemeActive(), null, null); 181bool isActive = !SystemParameters.HighContrast && SafeNativeMethods.IsUxThemeActive();
System\Windows\Controls\InkCanvas.cs (1)
185if ( SystemParameters.HighContrast )
System\Windows\Controls\InkPresenter.cs (1)
44if ( SystemParameters.HighContrast )
System\Windows\SystemColors.cs (16)
1371if (SystemParameters.HighContrast) 1392if (SystemParameters.HighContrast) 1408/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1414if (SystemParameters.HighContrast) 1429/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1435if (SystemParameters.HighContrast) 1450/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1456if (SystemParameters.HighContrast) 1471/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1477if (SystemParameters.HighContrast) 1492/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1498if (SystemParameters.HighContrast) 1513/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1519if (SystemParameters.HighContrast) 1534/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1540if (SystemParameters.HighContrast)
System\Windows\SystemResourceKey.cs (1)
898return BooleanBoxes.Box(SystemParameters.HighContrast);
System\Windows\ThemeManager.cs (2)
176if ( SystemParameters.HighContrast) 303if (SystemParameters.HighContrast)
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
185(!AccessibilitySwitches.UseNetFx47CompatibleAccessibilityFeatures && SystemParameters.HighContrast)
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (1)
125if (!SystemParameters.HighContrast)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
234if (!SystemParameters.HighContrast && DoubleUtil.GreaterThan(_separatorOpacity, 0))
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
580if (newValueSource > BaseValueSource.Inherited && !SystemParameters.HighContrast)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
177if (SystemParameters.HighContrast || !popup.IsOpen)