36 references to HighContrast
Microsoft.VisualStudio.LanguageServices (7)
ChangeSignature\ChangeSignatureDialog.xaml.cs (6)
62
ParameterText = SystemParameters.
HighContrast
? SystemColors.WindowTextBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0x1E, 0x1E, 0x1E));
63
RemovedParameterText = SystemParameters.
HighContrast
? SystemColors.WindowTextBrush : new SolidColorBrush(Colors.Gray);
64
DisabledParameterBackground = SystemParameters.
HighContrast
? SystemColors.WindowBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0xDF, 0xE7, 0xF3));
65
DisabledParameterForeground = SystemParameters.
HighContrast
? SystemColors.GrayTextBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0xA2, 0xA4, 0xA5));
66
Members.Background = SystemParameters.
HighContrast
? SystemColors.WindowBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
67
StrikethroughBrush = SystemParameters.
HighContrast
? SystemColors.WindowTextBrush : new SolidColorBrush(Colors.Red);
ColorSchemes\ColorSchemeApplier.ClassificationVerifier.cs (1)
98
if (SystemParameters.
HighContrast
||
PresentationFramework (24)
MS\Internal\Ink\HighContrastHelper.cs (1)
195
bool isHighContrast = SystemParameters.
HighContrast
;
MS\Win32\UxThemeWrapper.cs (2)
135
_themeState = new ThemeState(!SystemParameters.
HighContrast
&& SafeNativeMethods.IsUxThemeActive(), null, null);
189
bool isActive = !SystemParameters.
HighContrast
&& SafeNativeMethods.IsUxThemeActive();
System\Windows\Controls\InkCanvas.cs (1)
188
if ( SystemParameters.
HighContrast
)
System\Windows\Controls\InkPresenter.cs (1)
52
if ( SystemParameters.
HighContrast
)
System\Windows\SystemColors.cs (16)
1374
if (SystemParameters.
HighContrast
)
1395
if (SystemParameters.
HighContrast
)
1411
/// When <see cref="SystemParameters.
HighContrast
"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1417
if (SystemParameters.
HighContrast
)
1432
/// When <see cref="SystemParameters.
HighContrast
"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1438
if (SystemParameters.
HighContrast
)
1453
/// When <see cref="SystemParameters.
HighContrast
"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1459
if (SystemParameters.
HighContrast
)
1474
/// When <see cref="SystemParameters.
HighContrast
"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1480
if (SystemParameters.
HighContrast
)
1495
/// When <see cref="SystemParameters.
HighContrast
"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1501
if (SystemParameters.
HighContrast
)
1516
/// When <see cref="SystemParameters.
HighContrast
"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1522
if (SystemParameters.
HighContrast
)
1537
/// When <see cref="SystemParameters.
HighContrast
"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1543
if (SystemParameters.
HighContrast
)
System\Windows\SystemResourceKey.cs (1)
899
return BooleanBoxes.Box(SystemParameters.
HighContrast
);
System\Windows\ThemeManager.cs (2)
182
if ( SystemParameters.
HighContrast
)
302
if (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)
134
if (!SystemParameters.
HighContrast
)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
238
if (!SystemParameters.
HighContrast
&& DoubleUtil.GreaterThan(_separatorOpacity, 0))
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
587
if (newValueSource > BaseValueSource.Inherited && !SystemParameters.
HighContrast
)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
179
if (SystemParameters.
HighContrast
|| !popup.IsOpen)