36 references to HighContrast
Microsoft.VisualStudio.LanguageServices (7)
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);
ColorSchemes\ColorSchemeApplier.ClassificationVerifier.cs (1)
98if (SystemParameters.HighContrast ||
PresentationFramework (24)
MS\Internal\Ink\HighContrastHelper.cs (1)
195bool isHighContrast = SystemParameters.HighContrast;
MS\Win32\UxThemeWrapper.cs (2)
135_themeState = new ThemeState(!SystemParameters.HighContrast && SafeNativeMethods.IsUxThemeActive(), null, null); 189bool isActive = !SystemParameters.HighContrast && SafeNativeMethods.IsUxThemeActive();
System\Windows\Controls\InkCanvas.cs (1)
188if ( SystemParameters.HighContrast )
System\Windows\Controls\InkPresenter.cs (1)
52if ( SystemParameters.HighContrast )
System\Windows\SystemColors.cs (16)
1374if (SystemParameters.HighContrast) 1395if (SystemParameters.HighContrast) 1411/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1417if (SystemParameters.HighContrast) 1432/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1438if (SystemParameters.HighContrast) 1453/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1459if (SystemParameters.HighContrast) 1474/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1480if (SystemParameters.HighContrast) 1495/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1501if (SystemParameters.HighContrast) 1516/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1522if (SystemParameters.HighContrast) 1537/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1543if (SystemParameters.HighContrast)
System\Windows\SystemResourceKey.cs (1)
899return BooleanBoxes.Box(SystemParameters.HighContrast);
System\Windows\ThemeManager.cs (2)
182if ( SystemParameters.HighContrast) 302if (SystemParameters.HighContrast)
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
190(!AccessibilitySwitches.UseNetFx47CompatibleAccessibilityFeatures && SystemParameters.HighContrast)
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (1)
134if (!SystemParameters.HighContrast)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
238if (!SystemParameters.HighContrast && DoubleUtil.GreaterThan(_separatorOpacity, 0))
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
587if (newValueSource > BaseValueSource.Inherited && !SystemParameters.HighContrast)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
179if (SystemParameters.HighContrast || !popup.IsOpen)